update common/src/main/ets/default/manager/LauncherAbilityManager.ts.

Signed-off-by: gengzhengxing <gengzhengxing1@h-partners.com>
This commit is contained in:
gengzhengxing 2023-06-25 03:14:40 +00:00 committed by Gitee
parent 7446e67d6c
commit 3a02c8acbe
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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;
}