summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Auto grant permissions in an already granted group.Svetoslav Ganov2015-10-151-2/+18
| | | | | | bug:24074183 Change-Id: Iad6f9b7d5b83d0b0121796891bcd069658995a47
* Revert "Auto grant permissions in an already granted group."Ian Pedowitz2015-10-151-18/+2
| | | | | | This reverts commit c7e595a22c11247b3e6b0fbfa324542321ab9d14. Change-Id: I0a319ef590e9c0f830af470155213677bed684f4
* Auto grant permissions in an already granted group.Svetoslav2015-10-151-2/+18
| | | | | | | bug:24074183 Change-Id: I8eb4e4c76ed27721b04e09ae009ddd2daec1e0b1 (cherry picked from commit ecc46fe0ce772338786cb9e23cb872189e6a285c)
* Use unique preference key.Svet Ganov2015-09-122-8/+8
| | | | | | | | | | | | The UI code was wrongly using UID as the key - it is not unique - resulting in keeping only one app per UID in the UI and not showing permission controls for the other apps in this UID. This change uses the unique package plus UID as the preference key. bug:23937944 Change-Id: I859afcf3ec8efdcb62d0e9dacd19f771436da084
* Display properly runtime permissions without a corresponding app op.Svetoslav2015-09-012-15/+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
* Merge "Show location permission toggle for location provider" into mnc-devSvetoslav Ganov2015-08-316-9/+23
|\
| * Show location permission toggle for location providerSvetoslav2015-08-286-9/+23
| | | | | | | | | | | | bug:23528665 Change-Id: Id3a0838c3421b56dcf47c86043bb51c670268d03
* | Merge "Revert "Show location permission group, even when fixed."" into mnc-devSvetoslav Ganov2015-08-311-4/+2
|\|
| * Revert "Show location permission group, even when fixed."Svetoslav Ganov2015-08-281-4/+2
| | | | | | | | | | | | This reverts commit 3c093f94a82a7b013dd93edf3f5811aa3763af4b. Change-Id: I28e5597390df3abfdde6e4f8c46d0350028392c8
* | Merge "Refresh permissions UI on fragment resume" into mnc-devSvetoslav Ganov2015-08-281-1/+1
|\ \ | |/ |/|
| * Refresh permissions UI on fragment resumeSvet Ganov2015-08-231-1/+1
| | | | | | | | | | | | bug:23435039 Change-Id: I244d73d3482cc17447e5e673a461183e03bc67a6
* | Merge "Always set permission policy to fixed" into mnc-devIan Pedowitz2015-08-271-3/+3
|\ \
| * | Always set permission policy to fixedBenjamin Franz2015-08-251-3/+3
| | | | | | | | | | | | | | | Bug: 23408576 Change-Id: I981810de6f5b49b94371606cc5cf7baf51375485
* | | Protect permission dialog from type jack attacksSvet Ganov2015-08-251-1/+23
|/ / | | | | | | | | | | | | | | | | | | | | Limit the app name in the permissions dialog to prevent a bad app with a very long name to trick the user about the purpose of this dialog. Also wrap the label with BidiFormatter to protect against bidi override attacks. bug:23516019 Change-Id: Iba819d384864a004eefc2d2154dbfed3ef3b81c1
* | Use actual app name in location dialog.Jeff Sharkey2015-08-211-1/+1
| | | | | | | | | | Bug: 21805447 Change-Id: I394f40d0d8bce1541ec57cac7a60751b740aefaf
* | Show multi-permission UI in the requested order.Svet Ganov2015-08-212-36/+40
| | | | | | | | | | | | | | | | | | | | Apps can request several permissions at once but the UI was not shown in the request order. This is problematic since apps may show on board UI stating which permissions will be requested. Bug: 23314383 Change-Id: I0c59a741fb09e63bead0f76d4d337769d2dff387
* | 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
* Fix issue #23115154: APR: NPE in PackageInstallerDianne Hackborn2015-08-111-0/+4
| | | | Change-Id: If89e603508e02cad781ee455b2149af1024bd443
* Do not show removed permissions in the UI - frameworkSvet Ganov2015-08-074-3/+12
| | | | | | bug:23043018 Change-Id: I32efe93f8c52924263b16d80e09fae1a0a6babf5
* Show warning when touches are being blocked by overlaysJason Monk2015-08-076-4/+121
| | | | | Bug: 22317719 Change-Id: I5f6526bcce382ae6fabe32d3f8842567d8dc8701
* Merge "Use the new per UID app op APIs for legacy permissions." into mnc-devSvetoslav Ganov2015-08-011-9/+6
|\
| * Use the new per UID app op APIs for legacy permissions.Svet Ganov2015-07-311-9/+6
| | | | | | | | | | | | bug:22802981 Change-Id: I2bbc53bb3638b8f83ddf099b0ddd72d3688c477c
* | Change MNC codename to just M.Dianne Hackborn2015-07-291-1/+1
|/ | | | Change-Id: If86ce89143414405acb8ebbbf2139b07c4eb26bd
* Ingore not installed permissions in the UISvetoslav2015-07-223-5/+10
| | | | | | bug:22303510 Change-Id: Ieab8da041627e6a5807d00a72a1ec73f1cca821b
* Update permission icons to final versions - installerSvet Ganov2015-07-211-1/+2
| | | | | | bug:22383613 Change-Id: I40cb08df6b2cd01bc2db57b47062f8bd05ea673f
* Keep the permissions dialog width consistentJason Monk2015-07-201-1/+7
| | | | | Bug: 22532807 Change-Id: Ie89b4287094bc6525463c6238b53d8ee68395e38
* Merge "Remove the obsolete 'show legacy' option from permission screens" ↵Svet Ganov2015-07-176-75/+21
|\ | | | | | | into mnc-dev
| * Remove the obsolete 'show legacy' option from permission screensSvet Ganov2015-07-166-75/+21
| | | | | | | | | | | | bug:22523221 Change-Id: I09b605c7689c7402942c02a2639f1f28c7ee0c54
* | Merge "Add APIs for verifier to grant at install and revoke permissions" ↵Svet Ganov2015-07-161-38/+38
|\ \ | |/ |/| | | into mnc-dev
| * Add APIs for verifier to grant at install and revoke permissionsSvet Ganov2015-07-151-38/+38
| | | | | | | | | | | | bug:22231699 Change-Id: I679bb4a1f99eaa7d3984a4e6db6a04dca4574a18
* | Merge "Do not disable app ops on a permission revocation for modern apps." ↵Svet Ganov2015-07-161-8/+1
|\ \ | | | | | | | | | into mnc-dev
| * | 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
* / Add "show additional permissions" screen to app permissions for TV.Todd Volkert2015-07-147-91/+111
|/ | | | | | | | | | | | | 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
* Merge "Add animation to checkbox" into mnc-devJason Monk2015-07-141-2/+20
|\
| * Add animation to checkboxJason Monk2015-07-141-2/+20
| | | | | | | | | | Bug: 22356913 Change-Id: I7a1186b9cdeddf7da9d2cace0f24fa7734e245b9
* | Merge "Fix back arrow on additional permissions" into mnc-devJason Monk2015-07-141-0/+11
|\ \ | |/ |/|
| * Fix back arrow on additional permissionsJason Monk2015-07-131-0/+11
| | | | | | | | | | Bug: 22446403 Change-Id: I76d74ad49bfa90ba1680284fa6950450a214bf0c
* | Merge "Teach strorage appops." into mnc-devSvet Ganov2015-07-141-14/+14
|\ \
| * | 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 "Remove personal/device group & skip perm screen for M+ apps." into ↵Julia Reynolds2015-07-131-46/+47
|\ \ \ | |_|/ |/| | | | | mnc-dev
| * | Remove personal/device group & skip perm screen for M+ apps.Julia Reynolds2015-07-131-46/+47
| |/ | | | | | | | | Bug: 22229417 Change-Id: I30d7e7a2e7abf4dcf70adb055d3252ee4941cd42
* | Merge "Don't flash "No apps" while loading permissions screens on TV" into ↵Todd Volkert2015-07-114-16/+22
|\ \ | | | | | | | | | mnc-dev
| * | Don't flash "No apps" while loading permissions screens on TVTodd Volkert2015-07-104-16/+22
| |/ | | | | | | | | | | | | | | | | | | | | | | This borrows from the work done in ag/722429, and: 1) makes it work for TV 2) fixes a bug in ag/722429 whereby we would show loading forever if preference count was 0 (as opposed to correctly showing "No apps" / "No permissions") b/22090283 Change-Id: I7e2d8a4b99f99e2d1a933a2ac87494e38d2f77b9
* / Properly label the permission request activity for accessibilitySvet Ganov2015-07-101-0/+2
|/ | | | | | bug:22129341 Change-Id: Ic296e44419388aff5d8b8e03c5c800364b44e44b
* Add "Show system apps" to "apps > permissions > [permission]" for TVTodd Volkert2015-07-093-34/+176
| | | | | | b/22045256 Change-Id: I5f3f9a87875f02f9ca11b8001515ad82c260919b
* Merge "Add all permissions screen" into mnc-devJason Monk2015-07-092-1/+231
|\
| * Add all permissions screenJason Monk2015-07-082-1/+231
| | | | | | | | | | Bug: 21268041 Change-Id: I51674ffbd252bf4585a992f8cc9e43973ce43512
* | Fix accessibility for grant permission dialogJason Monk2015-07-092-0/+7
| | | | | | | | | | | | | | | | | | - Announce properly - Clear button focus after selecting to avoid multiple accidental allows/denys Bug: 22331950 Change-Id: Ibbe9af386c497024447cb696a94a9fbe515c91ef
* | Merge "Ensure that mixed permission policies return the right result" into ↵Benjamin Franz2015-07-091-6/+8
|\ \ | | | | | | | | | mnc-dev
| * | Ensure that mixed permission policies return the right resultBenjamin Franz2015-07-071-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, when a policy is fixed denied, but the profile / device owner has set DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT, requesting a permission returns the wrong result. Bug: 22291565 Change-Id: I9c531faf89236f7e177ccd4b2c3e8f86308b263e