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

Commit 843f648c authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Fallback to priority activity if preferred activity not available.

Bug: 21434199
Change-Id: I1f268700219dea7f9ed02bda320923f49a5a3457
parent 81c73e12
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3427,7 +3427,8 @@ public final class ActivityManagerService extends ActivityManagerNative
                if (preferredComponent != null) {
                    ai = AppGlobals.getPackageManager().getActivityInfo(
                            preferredComponent, flags, userId);
                } else {
                }
                if (ai == null) {
                    ResolveInfo info = AppGlobals.getPackageManager().resolveIntent(
                            intent,
                            intent.resolveTypeIfNeeded(mContext.getContentResolver()),