summaryrefslogtreecommitdiffstats
path: root/src/com/android/packageinstaller/permission/utils
Commit message (Collapse)AuthorAgeFilesLines
* Display properly runtime permissions without a corresponding app op.Svetoslav2015-09-011-13/+0
| | | | | | | | | | | | We added the GET_ACCOUNTS permission to the contacts group but it does not have an app op. The UI code was written with the assumption that all runtime permissions have an app op and was not showing the contacts group if the only requested permission from that group was GET_ACCOUNTS. bug:23726958 Change-Id: Iad5493297901c3f1144f4d58a3dad3f022c593a1
* Show location permission toggle for location providerSvetoslav2015-08-282-4/+6
| | | | | | bug:23528665 Change-Id: Id3a0838c3421b56dcf47c86043bb51c670268d03
* Revert "Show location permission group, even when fixed."Svetoslav Ganov2015-08-281-4/+2
| | | | | | This reverts commit 3c093f94a82a7b013dd93edf3f5811aa3763af4b. Change-Id: I28e5597390df3abfdde6e4f8c46d0350028392c8
* Show location permission group, even when fixed.Jeff Sharkey2015-08-211-2/+4
| | | | | | | | | System fixed permissions are typically hidden in the UI, but we need to special-case the Location group to help guide the user to another part of Settings where they can manage location access. Bug: 21805447 Change-Id: Ia6b30b4651c9ed42e0279e729e544b654940dde6
* Remove the obsolete 'show legacy' option from permission screensSvet Ganov2015-07-161-2/+2
| | | | | | bug:22523221 Change-Id: I09b605c7689c7402942c02a2639f1f28c7ee0c54
* Add "show additional permissions" screen to app permissions for TV.Todd Volkert2015-07-141-0/+6
| | | | | | | | | | | | | This also cleans up some code: 1) Factor out isTelevision into Utils.isTelevision() and call it where we were previously inlining that code 2) Make AppPermissionsFragment work better with config changes and screen rotation changes (the extra screen wasn't working at all with such changes) b/22045242 Change-Id: I937eaa67f19f44b5e1a76a58e3fdd799ae36e73b
* Migrate package installer permissions fragments to preference support lib.Todd Volkert2015-07-011-0/+4
| | | | | | | | | | | | In order to allow for TV-friendly layouts, this migrates the permissions fragments to the preference support lib, and modifies the necessary layouts and themes to make them work on TV. b/22043727 b/22045650 b/22044940 Change-Id: Ic862effe2c126da78c304983fd06e017c3ee4472
* Fix tinting on bitmap perm iconsJason Monk2015-06-241-1/+1
| | | | | Bug: 22043511 Change-Id: I3d42ef243840a4cc2103c3f1d6a63e1c0ff940c9
* Merge "Link from location permission to settings for loc providers" into mnc-devJason Monk2015-06-181-0/+87
|\
| * Link from location permission to settings for loc providersJason Monk2015-06-171-0/+87
| | | | | | | | | | Bug: 21805447 Change-Id: I27aed860b73d99976479793076852aecbf0be5a2
* | Add better logic for what is 'system'Jason Monk2015-06-181-0/+23
|/ | | | | | | | Match settings logic for this: System apps are on the system image, don't show up in launcher, and haven't been updated. Bug: 21849124 Change-Id: Ida77f98d080068731dcfd7aaf26aeb086fd681ed
* Requesting granted permission shows grant/revoke UI.Svet Ganov2015-06-121-0/+1
| | | | | | bug:21565838 Change-Id: Ib878d07b7d9bbab1ffe2b64f008e2fe092ead253
* Add permission summaries backJason Monk2015-05-261-12/+58
| | | | | | | | | | | - Add summaries to manage permissions screen - Add some shortcuts to skip loading unneeded labels/icons for summary info - Add way for Settings to broadcast request for info about granted permissions. Bug: 21078474 Change-Id: I28582129971385203f4e4316addf73e07ee53940
* Fix tinting issue in manage permissionsJason Monk2015-05-221-0/+1
| | | | | | | | Make sure we update the ui in onResume so we have the right tinting and make sure we clear out other tints first. Bug: 21367016 Change-Id: I800503fff5dc0cbcf3cfd6876c78c257adc24d65
* Handle dark themes in permissions UIJason Monk2015-05-191-0/+11
| | | | | | | | | | | | | | - Settings > Apps > Advanced > Permissions - Permission icon needed tinting - Settings > Apps > [App] > Permissions - Permission icon also needed tinting - Grant permission dialog - Needed new base theme - App name color span needed dark color - Progress text needed dark color Bug: 21154903 Change-Id: I34045ac71ca87abbb4ce828435f583f53ab0d3da
* Hide platform platform legacy permissions behind a menu option - package ↵Svet Ganov2015-05-172-5/+25
| | | | | | | | installer. bug:21195624 Change-Id: If6de516d76969c3627316d091893da58f81af832
* Add logging for user permission interactions.Svet Ganov2015-05-141-0/+72
| | | | | | bug:21078221 Change-Id: Ie5bfb4c6013faf528b95eda0d5caf1c591f1e439
* Permission UI - legacy apps support - package installerSvet Ganov2015-05-051-0/+39
Change-Id: I23a7b4e42968df44d2dc3415bff2d15627653089