summaryrefslogtreecommitdiffstats
path: root/src/com/android/packageinstaller/permission/model/AppPermissionGroup.java
Commit message (Collapse)AuthorAgeFilesLines
* Display properly runtime permissions without a corresponding app op.Svetoslav2015-09-011-2/+3
| | | | | | | | | | | | 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-281-1/+1
| | | | | | bug:23528665 Change-Id: Id3a0838c3421b56dcf47c86043bb51c670268d03
* Revert "Grant only requested permissions not the whole group."Ian Pedowitz2015-08-211-22/+3
| | | | | | | | This reverts commit e899d8d48558a6d4a8f0498c38a623115aad2205. Bug: 23314383 Bug: 23397858 Change-Id: Ia928a4b24c60eae6b4fb16ebdbfa6b6787f6c3ae
* Grant only requested permissions not the whole group.Svet Ganov2015-08-201-3/+22
| | | | | | | | | | | | The policy for an app requesting permissions is that only the requested permissions are granted not the whole groups to which these permissions belong. There was a regression where we granted the whole group not only the requested permissions. If an app has a permission in a group already granted, now per policy a subsequent request from the same group is followed by an auto grant. bug:23370436 Change-Id: Icce6377d60187f6f153d10d646cd8c9878dd6fab
* Do not show removed permissions in the UI - frameworkSvet Ganov2015-08-071-1/+2
| | | | | | bug:23043018 Change-Id: I32efe93f8c52924263b16d80e09fae1a0a6babf5
* Use the new per UID app op APIs for legacy permissions.Svet Ganov2015-07-311-9/+6
| | | | | | bug:22802981 Change-Id: I2bbc53bb3638b8f83ddf099b0ddd72d3688c477c
* Ingore not installed permissions in the UISvetoslav2015-07-221-1/+2
| | | | | | bug:22303510 Change-Id: Ieab8da041627e6a5807d00a72a1ec73f1cca821b
* Do not disable app ops on a permission revocation for modern apps.Svet Ganov2015-07-151-8/+1
| | | | | | | | | | | | | | | We were disabling both permission and app ops for modern apps - to have app ops as a safety net. This creates the issue that if a permission is revoked (which disables the app op) and data is cleared, then apps that get permissions granted by default would end up with th permission but not the app op and will not work. We still enable the app op on a permission grant to ensure that a legacy app with a disabled app ops will have the app op enabled if updated and the permission is then granted. bug:22464566 Change-Id: Ia5f4de42bcaf6f736e50d6f3109878ff2ce8ff9f
* Teach strorage appops.Svet Ganov2015-07-101-14/+14
| | | | | | | | | | Change app ops before toggling a permissions as we don't always restart the app when permisisons change and this may cause evaluation of the storage mount state which depends on both app ops and permissions. bug:22104923 Change-Id: I274b581a3ef44ae33c668aaa9eab5c9379365856
* Merge "Show basic feature warning for default granted permissions" into mnc-devSvet Ganov2015-07-061-0/+12
|\
| * Show basic feature warning for default granted permissionsSvet Ganov2015-07-031-0/+12
| | | | | | | | | | | | bug:22174223 Change-Id: Ic5c9a0ed9c17353145fff6e45483e92181fd9b86
* | Reflect the proper permission group state in the UISvet Ganov2015-07-031-5/+5
|/ | | | | | | | | A pemrission group is granted when at least one permission is granted as opposed to all permissions being granted. bug:22195416 Change-Id: I0bf7a8ec56380f89edc775a82c7f9d4f8e8f8245
* Mark permissions that are auto granted/revoked as policy_fixedAmith Yamasani2015-06-231-0/+13
| | | | | | | | Let PackageManager know that the permission state was changed by policy so that it can't be modified by the user anymore. Bug: 21888917 Change-Id: Idd09005515fac89fb1603b3aff0345a1f5e7bd79
* Merge "Link from location permission to settings for loc providers" into mnc-devJason Monk2015-06-181-0/+4
|\
| * Link from location permission to settings for loc providersJason Monk2015-06-171-0/+4
| | | | | | | | | | Bug: 21805447 Change-Id: I27aed860b73d99976479793076852aecbf0be5a2
* | Pass the right userHandle to AppPermissionGroupFyodor Kupolov2015-06-151-8/+10
|/ | | | | | | Previously, userHandle of the user associated with the context was always used. Bug: 21804306 Change-Id: If297a4c7b22abf43533b8ed67df0fd9b11c9b82e
* Fix wrong UID in app op toggleSvet Ganov2015-06-131-4/+4
| | | | | | bug:21808330 Change-Id: I4f6f48085c71004b317223e7bd353f9f5f194462
* Show the permission description not its label in the grant dialogSvet Ganov2015-05-201-5/+28
| | | | | | bug:21336863 Change-Id: I5c25581bea76cc50b7b09534c9222550e7f464ff
* Prevent modification of system fixed permissionsSvetoslav2015-05-191-0/+10
| | | | Change-Id: I84c9085550c910fe7ae5953796f164d72077c4bb
* Fix wrong permission group placement under the legacy permission list.Svet Ganov2015-05-191-2/+7
| | | | | | bug:21195624 Change-Id: I20b2b3385219f33629e5607dc0a20a2df6f8e013
* Hide platform platform legacy permissions behind a menu option - package ↵Svet Ganov2015-05-171-0/+535
installer. bug:21195624 Change-Id: If6de516d76969c3627316d091893da58f81af832