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

Commit e1dad90f authored by Adnan Begovic's avatar Adnan Begovic Committed by Marcos Marado
Browse files

SystemUI: Point to correct permission for BIND_CUSTOM_TILE_LISTENER.

Change-Id: I37df8d4bd17b03c446ace93b3267ee01988a906a
parent fb90eb27
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -3052,20 +3052,6 @@
         confirmation UI for full backup/restore -->
    <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>

    <!-- Must be required by an, to ensure that only the system can bind to it.
     @hide -->
    <permission android:name="android.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE"
                android:label="@string/permlab_bindCustomTileListenerService"
                android:description="@string/permdesc_bindCustomTileListenerService"
                android:protectionLevel="signature" />

    <!-- Allows a 3rd party application to publish or unpublish a quick settings tile
         @hide-->
    <permission android:name="android.permission.PUBLISH_CUSTOM_TILE"
                android:label="@string/permlab_publishCustomTile"
                android:description="@string/permdesc_publishCustomTile"
                android:protectionLevel="normal" />

    <application android:process="system"
                 android:persistent="true"
                 android:hasCode="false"
+0 −9
Original line number Diff line number Diff line
@@ -343,13 +343,4 @@
    <!-- Storage description for the SD card on the dock -->
    <string name="storage_sd_dock_card">Dock SD card</string>

    <string name="permlab_publishCustomTile">create a custom tile within qs tiles</string>
    <string name="permdesc_publishCustomTile">Allows an app to publish a quick settings tile</string>

    <string name="permlab_bindCustomTileListenerService">bind to a custom tile listener service</string>
    <string name="permdesc_bindCustomTileListenerService">Allows the holder to bind to the top-level interface of a custom tile listener service.</string>

    <!-- Label to show for a service that is running because it is observing the user's custom tiles. -->
    <string name="custom_tile_listener_binding_label">Custom tile listener</string>

</resources>
+0 −1
Original line number Diff line number Diff line
@@ -339,5 +339,4 @@
    <java-symbol type="string" name="config_defaultQuickSettingsTiles" />
 
    <java-symbol type="array" name="config_externalCMServices" />
    <java-symbol type="string" name="custom_tile_listener_binding_label" />
</resources>
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@
    <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" />

    <!-- Quick Settings Tile Listener -->
    <uses-permission android:name="android.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE"/>
    <uses-permission android:name="cyanogenmod.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE"/>

    <application
        android:name=".SystemUIApplication"