app shelf: Change logging level
It seems common for apk to not have launcher activity. I see it quite a lot during SUW. It does not seems to be an error. Change-Id: Iee417b0614ef17940371da9710ff14adbad82e3a
This commit is contained in:
@@ -1060,7 +1060,7 @@ class NavigationBarApps extends LinearLayout
|
||||
ris = packageManager.queryIntentActivitiesAsUser(intentToResolve, 0, userId);
|
||||
}
|
||||
if (ris == null || ris.size() <= 0) {
|
||||
Slog.e(TAG, "Failed to build intent for " + packageName);
|
||||
Slog.i(TAG, "Failed to build intent for " + packageName);
|
||||
return null;
|
||||
}
|
||||
return new ComponentName(ris.get(0).activityInfo.packageName,
|
||||
|
||||
@@ -179,7 +179,7 @@ class NavigationBarAppsModel {
|
||||
}
|
||||
}
|
||||
|
||||
Slog.e(TAG, "Activity doesn't have category Intent.CATEGORY_LAUNCHER " + component);
|
||||
Slog.i(TAG, "Activity doesn't have category Intent.CATEGORY_LAUNCHER " + component);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user