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

Commit ec54d8ec authored by Rohit Goyal's avatar Rohit Goyal Committed by Android (Google) Code Review
Browse files

Merge "Exclude condition to return early in case of empty activity list in...

Merge "Exclude condition to return early in case of empty activity list in LauncherApps::getActivityList." into main
parents 2c89f0d0 9f4d8440
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -540,7 +540,7 @@ public class LauncherAppsService extends SystemService {
                    == 0) {
                return launcherActivities;
            }
            if (launcherActivities == null || launcherActivities.getList().isEmpty()) {
            if (launcherActivities == null) {
                // Cannot access profile, so we don't even return any hidden apps.
                return null;
            }