mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Add WRITE_SECURE_SETTINGS permission to Launcher
We reused a code that handles rotation suggestion button from SysUI in Launcher. It requires WRITE_SECURE_SETTINGS permission to write how many times we have shown this button to show ripple only the first 3 times. AOSP Launcher didn't have this permission and it was crashing. Bug: 205491152 Test: tap on rotation suggestion button when in AOSP launcher Change-Id: I216abb86d43cc505aec1ff581c1f332ae3ad0db4
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>
|
||||
<uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS"/>
|
||||
<uses-permission android:name="android.permission.REMOVE_TASKS"/>
|
||||
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
|
||||
<uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS"/>
|
||||
<uses-permission android:name="android.permission.STATUS_BAR"/>
|
||||
<uses-permission android:name="android.permission.STOP_APP_SWITCHES"/>
|
||||
|
||||
Reference in New Issue
Block a user