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:
Xiaohui Chen
2015-11-10 15:02:29 -08:00
parent a8d3e1ff63
commit 38d01bf315
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

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