Signed-off-by: lovechinamo <wangdongqi2@huawei.com>

Changes to be committed:
This commit is contained in:
lovechinamo
2022-05-12 14:24:06 +08:00
parent 515b760e30
commit 813ece2b2e
+1 -1
View File
@@ -161,7 +161,7 @@ bool TimerManager::IsSystemUid(int uid)
}
auto bundleMgrSa = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID);
if (bundleMgrSa == nullptr) {
std::cout << "GetBundleMgr GetSystemAbility is null";
std::cout << "GetSystemAbility is null is null";
return false;
}
return iface_cast<IBundleMgr>(bundleMgrSa)->CheckIsSystemAppByUid(uid);