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:
@@ -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"
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user