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

Commit 23edc861 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Include all apps when getting Recents"

parents 34061777 992f8b5b
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -380,8 +380,11 @@ class RecentTasks {
        final ComponentName cn = ComponentName.unflattenFromString(rawRecentsComponent);
        if (cn != null) {
            try {
                final ApplicationInfo appInfo = AppGlobals.getPackageManager()
                        .getApplicationInfo(cn.getPackageName(), 0, mService.mContext.getUserId());
                final ApplicationInfo appInfo = AppGlobals.getPackageManager().getApplicationInfo(
                        cn.getPackageName(),
                        PackageManager.MATCH_UNINSTALLED_PACKAGES
                                | PackageManager.MATCH_DISABLED_COMPONENTS,
                        mService.mContext.getUserId());
                if (appInfo != null) {
                    mRecentsUid = appInfo.uid;
                    mRecentsComponent = cn;