OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16548a3
)
Add permission MANAGE_PROFILE_AND_DEVICE_OWNERS.
author
Sudheer Shanka
<sudheersai@google.com>
Fri, 15 Jan 2016 17:20:55 +0000
(17:20 +0000)
committer
Sudheer Shanka
<sudheersai@google.com>
Fri, 15 Jan 2016 17:20:55 +0000
(17:20 +0000)
It is required to query getUserRestrictions from DevicePolicyManager.
Change-Id: I5218f8cbe225ddd9ed8a74db94133bda5b571cc3
packages/SystemUI/AndroidManifest.xml
patch
|
blob
|
history
diff --git
a/packages/SystemUI/AndroidManifest.xml
b/packages/SystemUI/AndroidManifest.xml
index
6201fd6
..
3dc339d
100644
(file)
--- a/
packages/SystemUI/AndroidManifest.xml
+++ b/
packages/SystemUI/AndroidManifest.xml
@@
-146,6
+146,9
@@
<!-- Access battery information -->
<uses-permission android:name="android.permission.BATTERY_STATS" />
+ <!-- DevicePolicyManager get user restrictions -->
+ <uses-permission android:name="android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS" />
+
<application
android:name=".SystemUIApplication"
android:persistent="true"