mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-27 00:20:44 +00:00
codeCheck
Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
commit
29dc6177f8
@ -84,7 +84,7 @@ public:
|
||||
int32_t RegisterOffListener(const std::string& type, const sptr<IRemoteObject>& obj);
|
||||
void NotifyDied(const sptr<IRemoteObject>& obj);
|
||||
void NotifyDeviceOffline(const std::string& networkId);
|
||||
void NotifyPackageRemove(const std::string& sinkBundleName);
|
||||
void NotifyPackageRemoved(const std::string& sinkBundleName);
|
||||
void OnDeviceScreenOff();
|
||||
void OnContinueSwitchOff();
|
||||
std::string GetContinueType(const std::string& bundleName);
|
||||
|
@ -561,13 +561,15 @@ void DMSContinueRecvMgr::NotifyDeviceOffline(const std::string& networkId)
|
||||
HILOGI("NotifyDeviceOffline end");
|
||||
}
|
||||
|
||||
void DMSContinueRecvMgr::NotifyPackageRemove(const std::string& sinkBundleName)
|
||||
void DMSContinueRecvMgr::NotifyPackageRemoved(const std::string& sinkBundleName)
|
||||
{
|
||||
if (sinkBundleName.empty()) {
|
||||
HILOGE("NotifyPackageRemove sinkBundleName empty");
|
||||
return;
|
||||
}
|
||||
if (iconInfo_.bundleName != sinkBundleName) {
|
||||
HILOGI("NotifyPackageRemove current sinkBundleName: %{public}s; removed package: %{public}s."
|
||||
iconInfo_.bundleName.c_str(), sinkBundleName.c_str());
|
||||
return;
|
||||
}
|
||||
HILOGI("NotifyPackageRemove begin. sinkBundleName: %{public}s.", sinkBundleName.c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user