diff options
author | Billy Lau <billylau@google.com> | 2015-07-03 17:01:18 +0100 |
---|---|---|
committer | Billy Lau <billylau@google.com> | 2015-07-13 22:39:49 +0100 |
commit | 7f70ba18e6760c2539704c16cf3865bf49953d50 (patch) | |
tree | cacb1db59a8a98cfc66a6f5ca65fdc71fa830f44 /src/com/android/settings/Settings.java | |
parent | 01ce80b574e2404d911750c16a1ddd89c787f3ff (diff) | |
download | packages_apps_Settings-7f70ba18e6760c2539704c16cf3865bf49953d50.zip packages_apps_Settings-7f70ba18e6760c2539704c16cf3865bf49953d50.tar.gz packages_apps_Settings-7f70ba18e6760c2539704c16cf3865bf49953d50.tar.bz2 |
Bug: 21589105 Rescoping SYSTEM_ALERT_WINDOW and WRITE_SETTINGS permission to an
explicit toggle to be enabled through Settings via Apps -> Advanced Apps.
Added new and refactored an old xml to define the UX for two new Preferences
in Advanced Settings. Modified the existing AdvancedAppSettings to add
control flow for two new settings. Also enriched ManageApplications to
handle these cases. Added additional strings in xml/values/strings.xml
to support these settings. Also defined new classes to handle these the
toggle of these permissions per app.
Refactored codes from AppStateUsageBridge to a generic AppStateAppOpsBridge so
that future usages related to AppOps can inherit from this class.
Change-Id: I43b81282a063e05844c7805556a6d05cfc02bcdb
Diffstat (limited to 'src/com/android/settings/Settings.java')
-rw-r--r-- | src/com/android/settings/Settings.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/Settings.java b/src/com/android/settings/Settings.java index ea4f77a..f606193 100644 --- a/src/com/android/settings/Settings.java +++ b/src/com/android/settings/Settings.java @@ -114,5 +114,6 @@ public class Settings extends SettingsActivity { public static class ApnSettingsActivity extends SettingsActivity { /* empty */ } public static class WifiCallingSettingsActivity extends SettingsActivity { /* empty */ } public static class MemorySettingsActivity extends SettingsActivity { /* empty */ } + public static class OverlaySettingsActivity extends SettingsActivity { /* empty */ } + public static class WriteSettingsActivity extends SettingsActivity { /* empty */ } } - |