diff options
author | Billy Lau <billylau@google.com> | 2015-07-08 00:31:01 +0100 |
---|---|---|
committer | Billy Lau <billylau@google.com> | 2015-07-12 22:41:00 +0100 |
commit | 22b3f4cb15207239e203d5ec8b72ec6bc90fef35 (patch) | |
tree | f31bf89fd6b9e468571592fd366c0b66f4306a90 /services | |
parent | 4ccf69e1191244ee104edd74843fc7ae391c5270 (diff) | |
download | frameworks_base-22b3f4cb15207239e203d5ec8b72ec6bc90fef35.zip frameworks_base-22b3f4cb15207239e203d5ec8b72ec6bc90fef35.tar.gz frameworks_base-22b3f4cb15207239e203d5ec8b72ec6bc90fef35.tar.bz2 |
Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission
Raised the protection level of WRITE_SETTINGS permission to appop and also
allowed backwards compatibility with pre23 flag. Also made sure that this
permission is not added as RuntimePermission in DefaultPermissionGrantPolicy as
that breaks a lot of gmscore stuff.
Introduced new action to manage write system settings as a new API and
renamed the string that describes the managing of overlay permission.
Change-Id: Ifd25a6ddc06de68ee37015cb9fb23452e4ef10f4
Diffstat (limited to 'services')
-rw-r--r-- | services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java b/services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java index ec883b9..bca0866 100644 --- a/services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java +++ b/services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java @@ -261,7 +261,6 @@ final class DefaultPermissionGrantPolicy { && doesPackageSupportRuntimePermissions(setupPackage)) { grantRuntimePermissionsLPw(setupPackage, PHONE_PERMISSIONS, userId); grantRuntimePermissionsLPw(setupPackage, CONTACTS_PERMISSIONS, userId); - grantRuntimePermissionsLPw(setupPackage, SETTINGS_PERMISSIONS, userId); } // Camera |