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

Commit 65761e24 authored by Hani Kazmi's avatar Hani Kazmi Committed by Android (Google) Code Review
Browse files

Merge "[AAPM] Open Settings from Dialog in New Task" into main

parents 68ca14d5 e2bf7d5e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -94,6 +94,7 @@ class ActionDisabledByAdvancedProtectionDialog : SpaDialogWindowTypeActivity() {
            )
            val helpIntent = Intent.parseUri(helpIntentUri, Intent.URI_INTENT_SCHEME)
            if (helpIntent == null) return null
            helpIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
            val helpActivityInfo = packageManager.resolveActivity(helpIntent, /* flags */ 0)
                ?.activityInfo
            if (helpActivityInfo == null) return null