Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38d01bf3 authored by Xiaohui Chen's avatar Xiaohui Chen
Browse files

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
parent a8d3e1ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }