lineage-sdk: Use AOSP permission CHANGE_OVERLAY_PACKAGES for styles

*) Replace lineageos.permission.CHANGE_STYLE with
   AOSP android.permission.CHANGE_OVERLAY_PACKAGES.

Change-Id: I2dfb339688795ad5a7ae70d8d60a7dc51bbdb4cb
This commit is contained in:
Sam Mortimer
2018-11-09 17:11:53 -08:00
parent 7702fb29a8
commit 11c1619fed
2 changed files with 1 additions and 8 deletions

View File

@@ -117,13 +117,6 @@
android:icon="@drawable/ic_launcher_lineageos"
android:protectionLevel="normal" />
<!-- Allows an application to change system style -->
<permission android:name="lineageos.permission.CHANGE_STYLE"
android:label="@string/permlab_changeStyle"
android:description="@string/permdesc_changeStyle"
android:icon="@drawable/ic_launcher_lineageos"
android:protectionLevel="dangerous" />
<!-- Allows an application to access the Trust interface -->
<permission android:name="lineageos.permission.TRUST_INTERFACE"
android:label="@string/permlab_trustInterface"

View File

@@ -93,7 +93,7 @@ public class StyleInterface {
* it at runtime as any other dangerous permission
*/
public static final String CHANGE_STYLE_SETTINGS_PERMISSION =
"lineageos.permission.CHANGE_STYLE";
"android.permission.CHANGE_OVERLAY_PACKAGES";
private static final String TAG = "StyleInterface";