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

Commit 7ceb0db7 authored by Joel Galenson's avatar Joel Galenson
Browse files

Handle the intent to open the app permission toggle screen.

Test: Modify code to use the intent and it still launches the screen.
Change-Id: Ic8b0ea0325b03e16764c9957f44f1b978d37edd8
parent 042cd43a
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -112,7 +112,12 @@
        <activity android:name="com.android.packageinstaller.permission.ui.AppPermissionActivity"
                  android:configChanges="orientation|keyboardHidden|screenSize"
                  android:theme="@style/Settings"
                  android:exported="false" />
                  android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS">
            <intent-filter android:priority="1">
                <action android:name="android.intent.action.MANAGE_APP_PERMISSION" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity android:name="com.android.packageinstaller.permission.ui.ReviewPermissionsActivity"
                  android:excludeFromRecents="true"