History log of /packages/apps/Settings/src/com/android/settings/applications/WriteSettingsDetails.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2328946b581276088cd37cc316c15f38b0f9129d 14-Jan-2017 Fyodor Kupolov <fkupolov@google.com> Tron metrics for special permissions

Added tron metrics for the following special permissions:
Battery optimisation
- APP_SPECIAL_PERMISSION_BATTERY_ALLOW
- APP_SPECIAL_PERMISSION_BATTERY_DENY
Device administrators
- APP_SPECIAL_PERMISSION_ADMIN_ALLOW (when checked)
- APP_SPECIAL_PERMISSION_ADMIN_DENY (when unchecked)
Do not disturb access
- APP_SPECIAL_PERMISSION_DND_ALLOW
- APP_SPECIAL_PERMISSION_DND_DENY
Daw over other apps
- APP_SPECIAL_PERMISSION_APPDRAW_ALLOW
- APP_SPECIAL_PERMISSION_APPDRAW_DENY
VR helper services
- APP_SPECIAL_PERMISSION_VRHELPER_ALLOW
- APP_SPECIAL_PERMISSION_VRHELPER_DENY
Modify system settings
- APP_SPECIAL_PERMISSION_SETTINGS_CHANGE_ALLOW
- APP_SPECIAL_PERMISSION_SETTINGS_CHANGE_DENY
Notification access
- APP_SPECIAL_PERMISSION_NOTIVIEW_ALLOW
- APP_SPECIAL_PERMISSION_NOTIVIEW_DENY
Premium SMS access
- APP_SPECIAL_PERMISSION_PREMIUM_SMS_ALWAYS_ALLOW
- APP_SPECIAL_PERMISSION_PREMIUM_SMS_ASK
- APP_SPECIAL_PERMISSION_PREMIUM_SMS_DENY
Unrestricted data access
- APP_SPECIAL_PERMISSION_UNL_DATA_ALLOW
- APP_SPECIAL_PERMISSION_UNL_DATA_DENY
Usage access
- APP_SPECIAL_PERMISSION_USAGE_VIEW_ALLOW
- APP_SPECIAL_PERMISSION_USAGE_VIEW_DENY

Test: Manual + make RunSettingsRoboTests
Bug: 31008660
Change-Id: Id977e2c9f5aa811a2b0af036372b72c684621435
/packages/apps/Settings/src/com/android/settings/applications/WriteSettingsDetails.java
265d3c2a0c36251bf8a9f571d7239b6dd404d942 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/packages/apps/Settings/src/com/android/settings/applications/WriteSettingsDetails.java
88075948007aa87cc6c859b5744d64871826a78a 29-Sep-2016 Salvador Martinez <dehboxturtle@google.com> Maintain focus on switch for a11y

Modified subsetting where user can toggle
if an app should be able to modify system
settings so that talkback announces state
change properly.

Test: Accessibility Scanner, Manual Verification
Bug: 31755538
Change-Id: I54ad016b5edb0937b77cfdeef0cfcae24a78e2a2
/packages/apps/Settings/src/com/android/settings/applications/WriteSettingsDetails.java
6507613ebcd22e4691c2af92a5c161bd327db336 08-Aug-2016 Fan Zhang <zhfan@google.com> Log visibility change for all fragments.

Bug: 30681771
Test: SettingsUnitTests

Refactor visibility logging from InstrumentedFragment into a mixin. And
apply mixin in remaining fragments.

Change-Id: Ibbb59904336254a3e4bb9e8c7d0b36e5a6bc2622
/packages/apps/Settings/src/com/android/settings/applications/WriteSettingsDetails.java
2108d361bb1c4113d2250711d9ac8e6bc0de9245 23-Feb-2016 Jason Monk <jmonk@google.com> Add default app prefs to app info

This makes them easier to discover and to know the state of them.

Bug: 27276982
Change-Id: I24a9d34d7e189b19df39cc0b9028b6412f76aa05
/packages/apps/Settings/src/com/android/settings/applications/WriteSettingsDetails.java
9d1bfd1e8de6e46137a9571507c03526880d6a46 27-Jan-2016 Chris Wren <cwren@android.com> port settings over to new metrics enum

Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
/packages/apps/Settings/src/com/android/settings/applications/WriteSettingsDetails.java
39b467482d1bf256a111c757e9b7621c6f523271 10-Sep-2015 Jason Monk <jmonk@google.com> Depend on support lib preferences

Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
/packages/apps/Settings/src/com/android/settings/applications/WriteSettingsDetails.java
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