fee785645b57c519a31ed403e60e8f76dcc8abbb |
|
27-Jul-2015 |
Billy Lau <billylau@google.com> |
Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's page instead of the top level one Settings: Added two activities to handle app-specific Intent when app invoke permission management UI. SettingsActivity: Added two fragment classes to handle app-specific Intent when app invoke permission management UI. AndroidManifest.xml: We handle both Intent to top level settings and app-specific management UI for app ops protected permissions. AppStateAppOpsBridge: Added a new field to PermissionState to keep track of permission declared vs one that is actually granted during install time. AppState{Overlay/Usage/WriteSettings}Bridge: Updated the fields affected by changes in PermissionState. {DrawOverlay/UsageAccess/WriteSettings}Details: Disabled the toggling of permission if the app did not declare for the asked permission. Change-Id: Ibf63e4d9a4fbf7899a93d2176abb1204c4f75557
/packages/apps/Settings/src/com/android/settings/applications/WriteSettingsDetails.java
|
bb3aa2632abe5f01edcc5b440bf032ff3d8c3e5f |
|
21-Jul-2015 |
Billy Lau <billylau@google.com> |
Bug 21589105 Rescope WRITE_SETTINGS (UX and Settings app change)... Overall, fixed the detection of the state of permission in the corresponding UX to be more accurate. Also ensured that apps needing this capability can launch the summary UX through a specific intent. AndroidManifest: Adds the proper intent-filter so that apps can launch the Settings page using intent. strings.xml: Increased the CHAR limits for some strings due to requests from translators. Change-Id: Ie64f86e034867ed582c1c583a5e8f84671fa4d63
/packages/apps/Settings/src/com/android/settings/applications/WriteSettingsDetails.java
|
7f70ba18e6760c2539704c16cf3865bf49953d50 |
|
03-Jul-2015 |
Billy Lau <billylau@google.com> |
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
/packages/apps/Settings/src/com/android/settings/applications/WriteSettingsDetails.java
|