diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2016-03-23 12:42:06 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2016-03-23 13:35:34 -0700 |
commit | dcc39fe43bc27412b7237195392b11299fd56ebf (patch) | |
tree | 41f8dce3f0bd0e25bc85b7a0686d49895b2c5845 /src/android/support/wearable | |
parent | 8842534eee8a4c247c422e52691d6629bdb83c19 (diff) | |
download | android_packages_apps_PackageInstaller-dcc39fe43bc27412b7237195392b11299fd56ebf.tar.gz android_packages_apps_PackageInstaller-dcc39fe43bc27412b7237195392b11299fd56ebf.tar.bz2 android_packages_apps_PackageInstaller-dcc39fe43bc27412b7237195392b11299fd56ebf.zip |
Respect past user choices in permisson review UI
In a permission review mode we show UI for the user to review
new permissions for apps that do not support the new runtime
permission model. The review is shown on an app launch. It is
possible for the user to modify permissions in the settings
UI before launching an app.
This change ensures that the default value in the review UI
reflects the user choice in settings. Specifically, the review
UI shows the permission toggle in a granted state if the user
expressed no opinion or granted the pemrission in settings
(initially permissions are shown as revoked in settings as a
review is pending - granting a permission from settings doesn't
void the pending review). However, if the user grants and then
revokes a permission in settings, (expresses an opinion the
pemrission should be revoked) the default state of the
permission
toggle is off.
bug:26741436
Change-Id: I021175df00e334e73aa01363d2c5645e2fe16b90
Diffstat (limited to 'src/android/support/wearable')
0 files changed, 0 insertions, 0 deletions