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

Commit 72484974 authored by Abhisek Devkota's avatar Abhisek Devkota Committed by Gerrit Code Review
Browse files

Merge "Themes: Add read/write permissions [1/2]" into cm-11.0

parents ac69e043 5509cfa7
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -2589,6 +2589,23 @@
        android:description="@string/permdesc_accessThemeService"
        android:protectionLevel="signature" />

    <!-- Allows an application to read the current theme configuration and
         get information about the various themes currently installed
         @hide -->
    <permission android:name="android.permission.READ_THEMES"
        android:label="@string/permlab_readThemes"
        android:description="@string/permdesc_readThemesDesc"
        android:protectionLevel="normal" />

    <!-- Allows an application to write the current theme configuration and
         write information about the various themes currently installed.
         Changing themes should be done through the service ACCESS_THEME_MANAGER
         @hide -->
    <permission android:name="android.permission.WRITE_THEMES"
        android:label="@string/permlab_writeThemes"
        android:description="@string/permdesc_writeThemesDesc"
        android:protectionLevel="signature" />

    <!-- The system process is explicitly the only one allowed to launch the
         confirmation UI for full backup/restore -->
    <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
+12 −0
Original line number Diff line number Diff line
@@ -142,6 +142,18 @@
    <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permdesc_accessThemeService">Allows an app to access the theme service. Should never be needed for normal apps.</string>

    <!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permlab_readThemes">read your theme info</string>
    <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permdesc_readThemesDesc">Allows the app to read your themes and
       determine which theme you have applied.</string>

    <!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permlab_writeThemes">modify your themes</string>
    <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permdesc_writeThemesDesc">Allows the app to insert new themes and
       modify which theme you have applied.</string>

    <!-- Title of an application permission, listed so the user can choose whether they want the application to do this. -->
    <string name="permlab_setKeyguardWallpaper">set keyguard wallpaper</string>
    <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->