History log of /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/RestrictedSwitchPreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bc7de936608a3039550340c7615713809cf7c8fc 15-Jul-2017 Svet Ganov <svetoslavganov@google.com> Show permissions requiring a review as not granted.

In a permission review mode legacy apps that use runtime permission
should go through a review UI for the user to manage their permissions
on a first launch. Until reviewed a permission should be shown as
not-granted in the UI as opposed to granted regardless that internally
it is granted with a review flag set. This UX matches the user
expectation that the permission is not approved by them yet. If such
a permission is granted in the management UI, then it no longer needs
to be reviewed.

Test: manual

bug:63721140

Change-Id: I167ac920536ef0b40909e925bb9bb9a7382c03aa
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/RestrictedSwitchPreference.java
5e3cc5335e208fff39b0983a88f37e92b3da8c69 21-Sep-2016 Svet Ganov <svetoslavganov@google.com> Polish permissions review UI.

This change adds a more info button to the permission
grant UI and the permission review UI which sends the
user to the all permissions screen.

It also adds UI to manage all permissions in the SMS
group individually. Now tapping on the switch in the app
permissions screen toggles the permission group and
tapping on the permission name sends the user to the
detailed permission-level management UI.

Lastly, this change adds management controls to each SMS
permission in the all permissions screen where tapping on
the switch toggles the permission and tapping on the
name as before shows a detailed description.

Change-Id: I1d6cbc478c789e7680f41b92b9f3fa2504576ecd
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/RestrictedSwitchPreference.java
0a32c002967e1205307c1e55090bfee9ef6ff133 02-Mar-2016 Sudheer Shanka <sudheersai@google.com> Update restricted icon position in RestrictedSwitchPreference.

And fixed a bug where the admin disabled summary is shown even
if the admin has not set a permission policy.

Bug: 25603665
Bug: 27263775
Change-Id: I8cbbc4c326669a656ad5aef53896b388d556a74f
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/RestrictedSwitchPreference.java
49a28f7e9a17e914c4a3135e45c4eec1852e558a 19-Jan-2016 Sudheer Shanka <sudheersai@google.com> Add a padlock to options when disabled by admin.

Currently, if admin has enforced setPermissionGrantState to denied or granted,
we disable the option and add a summary that the option is disabled by
admin. With this change, a padlock will also be added in this case.

Change-Id: I58080c914fabab045282eb3cc491901676fffaed
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/RestrictedSwitchPreference.java