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

Commit ef262865 authored by Jiyong Park's avatar Jiyong Park
Browse files

BIND_IMS_SERVICE is exposed to vendors

Add vendorPrivileged flag to the permission so that privileged vendor
apks can obtain the permission.

Bug: 35301609
Test: `mm` under frameworks/base/tests/privapp-permissions
adb sync && adb reboot
adb shell cmd package \
com.android.framework.permission.privapp.tests.vendor
shows that the app is installed.
android.permission.BIND_IMS_SERVICE is in the installed permissions list
android.permission.MANAGE_USE is not in the installed permissions list,
but is in the requested permissions list.

Change-Id: Ia197990634d8de271d6d5c305e9ee673760b771a
parent 002fdbdb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1740,7 +1740,7 @@
         @hide
    -->
    <permission android:name="android.permission.BIND_IMS_SERVICE"
        android:protectionLevel="signature|privileged" />
        android:protectionLevel="signature|privileged|vendorPrivileged" />

    <!-- Allows an application to manage embedded subscriptions (those on a eUICC) through
         EuiccManager APIs.