mirror of
https://gitee.com/openharmony/applications_launcher
synced 2024-11-27 00:51:34 +00:00
update common/src/main/ets/default/manager/LauncherAbilityManager.ts.
Signed-off-by: gengzhengxing <gengzhengxing1@h-partners.com>
This commit is contained in:
parent
7446e67d6c
commit
3a02c8acbe
@ -203,7 +203,7 @@ class LauncherAbilityManager {
|
||||
.catch((err)=>{
|
||||
Log.showError(TAG, `getAppInfoByBundleName launcherBundleMgr getLauncherAbilityInfos error: ${JSON.stringify(err)}`);
|
||||
});
|
||||
if (!abilityInfos || abilityInfos.length == 0) {
|
||||
if (!abilityInfos || abilityInfos.length === 0) {
|
||||
Log.showDebug(TAG, `${bundleName} has no launcher ability`);
|
||||
return undefined;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user