OSDN Git Service

Give shell CONTROL_KEYGUARD permission.
authorWale Ogunwale <ogunwale@google.com>
Thu, 22 Feb 2018 20:36:55 +0000 (12:36 -0800)
committerWale Ogunwale <ogunwale@google.com>
Thu, 22 Feb 2018 20:36:55 +0000 (12:36 -0800)
Follow-up to ag/3614843 where we started to enforce the permission in
window manager.

Bug: 67109817
Test: builds
Change-Id: Id5712d2ed4c537da3a443f9c51aa15e3c84d670b

packages/Shell/AndroidManifest.xml

index d919d6a..d284bf9 100644 (file)
         android:name="android.permission.MANAGE_WIFI_WHEN_PERMISSION_REVIEW_REQUIRED" />
     <uses-permission android:name="android.permission.WATCH_APPOPS" />
 
+    <uses-permission android:name="android.permission.CONTROL_KEYGUARD" />
+
     <application android:label="@string/app_label"
                  android:defaultToDeviceProtectedStorage="true"
                  android:directBootAware="true">