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

Commit 84018d0e authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

Prioritize package installer intent filter

am: 17e1b049

Change-Id: Icbd59d008fa860967010d1130746f2a54bd3e8b1
parents 28390f21 17e1b049
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -26,20 +26,20 @@
        <activity android:name=".PackageInstallerActivity"
                android:configChanges="orientation|keyboardHidden|screenSize"
                android:excludeFromRecents="true">
            <intent-filter>
            <intent-filter android:priority="1">
                <action android:name="android.intent.action.VIEW" />
                <action android:name="android.intent.action.INSTALL_PACKAGE" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="file" />
                <data android:mimeType="application/vnd.android.package-archive" />
            </intent-filter>
            <intent-filter>
            <intent-filter android:priority="1">
                <action android:name="android.intent.action.INSTALL_PACKAGE" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="file" />
                <data android:scheme="package" />
            </intent-filter>
            <intent-filter>
            <intent-filter android:priority="1">
                <action android:name="android.content.pm.action.CONFIRM_PERMISSIONS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
@@ -69,7 +69,7 @@
                android:configChanges="orientation|keyboardHidden|screenSize"
                android:excludeFromRecents="true"
                android:theme="@style/GrantPermissions">
            <intent-filter>
            <intent-filter android:priority="1">
                <action android:name="android.content.pm.action.REQUEST_PERMISSIONS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
@@ -81,7 +81,7 @@
                  android:label="@string/app_permissions"
                  android:theme="@style/Settings"
                  android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS">
            <intent-filter>
            <intent-filter android:priority="1">
                <action android:name="android.intent.action.MANAGE_PERMISSIONS" />
                <action android:name="android.intent.action.MANAGE_APP_PERMISSIONS" />
                <action android:name="android.intent.action.MANAGE_PERMISSION_APPS" />
@@ -95,7 +95,7 @@

        <receiver android:name=".permission.model.PermissionStatusReceiver"
            android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS">
            <intent-filter>
            <intent-filter android:priority="1">
                <action android:name="android.intent.action.GET_PERMISSIONS_COUNT" />
            </intent-filter>
        </receiver>