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

Commit 50576fa8 authored by The Android Open Source Project's avatar The Android Open Source Project
Browse files

merge from open-source master

Change-Id: I20cf00dba6908eeee12645e6878db7becdc2a5f9
parents 975ecddc 4696f2fb
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -1704,8 +1704,9 @@ class ContextImpl extends Context {
            if (resolveInfo == null) {
            if (resolveInfo == null) {
                return null;
                return null;
            }
            }
            Intent intent = new Intent(Intent.ACTION_MAIN);
            Intent intent = new Intent(intentToResolve);
            intent.setClassName(packageName, resolveInfo.activityInfo.name);
            intent.setClassName(resolveInfo.activityInfo.applicationInfo.packageName,
                                resolveInfo.activityInfo.name);
            intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
            intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
            return intent;
            return intent;
        }
        }