Allow shell to acquire wakelock. DO NOT MERGE.

BUG: 31828706
BUG 30832947

Change-Id: I348ab5642ca625b4700ec63f72414729d574da5e
(cherry picked from commit 6e500010b1)
This commit is contained in:
Wei Liu
2016-08-26 14:57:25 -07:00
committed by Felipe Leme
parent bf79852ae4
commit 898468657e

View File

@@ -114,6 +114,8 @@
<uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" /> <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
<!-- Permission needed to rename bugreport notifications (so they're not shown as Shell) --> <!-- Permission needed to rename bugreport notifications (so they're not shown as Shell) -->
<uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" /> <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
<!-- Permission needed to hold a wakelock in dumpstate.cpp (drop_root_user()) -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:label="@string/app_label" <application android:label="@string/app_label"
android:defaultToDeviceProtectedStorage="true" android:defaultToDeviceProtectedStorage="true"