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

Commit fb5883e5 authored by Peter Visontay's avatar Peter Visontay
Browse files

Update UCE service permissions' protection level from the old...

Update UCE service permissions' protection level from the old "signatureOrSystem" to "signature|privileged".
Also: update some outdated protection level documentation in AndroidManifest.xml.

Test: ...
Change-Id: I43345aeb3399aab0e6746dafa1a43f0ac477a6e1
parent d092b9bb
Loading
Loading
Loading
Loading
+8 −8
Original line number Original line Diff line number Diff line
@@ -958,18 +958,18 @@
    <!-- ====================================================================== -->
    <!-- ====================================================================== -->


    <!-- @hide Allows an application to Access UCE-Presence.
    <!-- @hide Allows an application to Access UCE-Presence.
         <p>Protection level: dangerous
         <p>Protection level: signature|privileged
    -->
    -->
    <permission android:name="android.permission.ACCESS_UCE_PRESENCE_SERVICE"
    <permission android:name="android.permission.ACCESS_UCE_PRESENCE_SERVICE"
        android:permissionGroup="android.permission-group.PHONE"
        android:permissionGroup="android.permission-group.PHONE"
        android:protectionLevel="signatureOrSystem"/>
        android:protectionLevel="signature|privileged"/>


    <!-- @hide Allows an application to Access UCE-OPTIONS.
    <!-- @hide Allows an application to Access UCE-OPTIONS.
         <p>Protection level: dangerous
         <p>Protection level: signature|privileged
    -->
    -->
    <permission android:name="android.permission.ACCESS_UCE_OPTIONS_SERVICE"
    <permission android:name="android.permission.ACCESS_UCE_OPTIONS_SERVICE"
        android:permissionGroup="android.permission-group.PHONE"
        android:permissionGroup="android.permission-group.PHONE"
        android:protectionLevel="signatureOrSystem"/>
        android:protectionLevel="signature|privileged"/>






@@ -2210,7 +2210,7 @@


    <!-- Allows an application to clear the caches of all installed
    <!-- Allows an application to clear the caches of all installed
         applications on the device.
         applications on the device.
         <p>Protection level: system|signature
         <p>Protection level: signature|privileged
    -->
    -->
    <permission android:name="android.permission.CLEAR_APP_CACHE"
    <permission android:name="android.permission.CLEAR_APP_CACHE"
        android:protectionLevel="signature|privileged" />
        android:protectionLevel="signature|privileged" />
@@ -2571,7 +2571,7 @@


    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
         to ensure that only the system can bind to it.
         to ensure that only the system can bind to it.
         <p>Protection level: system|signature
         <p>Protection level: signature|privileged
    -->
    -->
    <permission android:name="android.permission.BIND_WALLPAPER"
    <permission android:name="android.permission.BIND_WALLPAPER"
        android:protectionLevel="signature|privileged" />
        android:protectionLevel="signature|privileged" />
@@ -2608,7 +2608,7 @@


    <!-- Must be required by a {@link android.media.tv.TvInputService}
    <!-- Must be required by a {@link android.media.tv.TvInputService}
         to ensure that only the system can bind to it.
         to ensure that only the system can bind to it.
         <p>Protection level: signature
         <p>Protection level: signature|privileged
    -->
    -->
    <permission android:name="android.permission.BIND_TV_INPUT"
    <permission android:name="android.permission.BIND_TV_INPUT"
        android:protectionLevel="signature|privileged" />
        android:protectionLevel="signature|privileged" />
@@ -3365,7 +3365,7 @@
    <!-- The system process that is allowed to bind to services in carrier apps will
    <!-- The system process that is allowed to bind to services in carrier apps will
         have this permission. Carrier apps should use this permission to protect
         have this permission. Carrier apps should use this permission to protect
         their services that only the system is allowed to bind to.
         their services that only the system is allowed to bind to.
         <p>Protection level: system|signature
         <p>Protection level: signature|privileged
    -->
    -->
    <permission android:name="android.permission.BIND_CARRIER_SERVICES"
    <permission android:name="android.permission.BIND_CARRIER_SERVICES"
        android:label="@string/permlab_bindCarrierServices"
        android:label="@string/permlab_bindCarrierServices"