summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge "Add an API for getting list of all apps that have runtime perms" into ↵Vinod Krishnan2015-09-142-21/+77
|\ \ \ | | | | | | | | | | | | cw-e-dev
| * | | Add an API for getting list of all apps that have runtime permsVinod Krishnan2015-09-142-21/+77
| | |/ | |/| | | | | | | | | | | | | | | | | | | Bug: 23819535 - Used for Android Wear Change-Id: Ie42ce04453cb0cd7d2cf292065bbb1891fffbfa9
* / | Changing layout to make button animations workVinod Krishnan2015-09-1411-26/+182
|/ / | | | | | | | | | | | | | | | | | | | | - Fix the Permissions Dialogs for round layout - Show animation for the buttons - Also fixed the names ellipsis issue. - Fixed the theming of the dialogs. Bug: 23118402 Change-Id: I385c827ac41b06222334c36bfda2c70b346232a2
* | Redo Move ClockworkPackageInstaller functionality here"Vinod Krishnan2015-09-093-0/+964
| | | | | | | | | | | | This reverts commit 5b26c2e64ceeaa1e71436b36a28f53100e358ed8. Change-Id: I88fa09f87023a7c1b2aac3100cfbdce6283de770
* | Revert "Move ClockworkPackageInstaller functionality here"Griff Hazen2015-09-083-964/+0
| | | | | | | | | | | | | | | | Breaking ub-wear-dinar/ub-wear-master builds This reverts commit aa4368cafc3c92b33a99c3fbe0e6af08d7e092e4. Change-Id: Ib22189891e9cd9eef61cdaa5ac329d05ab9783e8
* | Move ClockworkPackageInstaller functionality hereVinod Krishnan2015-09-043-0/+964
| | | | | | | | | | | | | | | | | | - The code is being moved from https://cs.corp.google.com/#android/vendor/google_clockwork/packages/PackageInstaller/src/com/google/android/clockwork/packageinstaller/ Bug: 22411517 Change-Id: If6a0b7f49530176a6cff6b76ee6eff44ba822547
* | am ab4bb65e: am 3c44cc54: Display properly runtime permissions without a ↵Svetoslav2015-09-022-15/+3
|\| | | | | | | | | | | | | corresponding app op. * commit 'ab4bb65e30cfc7323dc7dfab8f370c7452956962': Display properly runtime permissions without a corresponding app op.
| * 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
* | am 5d2d9baa: am f7fc0631: Merge "Show location permission toggle for ↵Svetoslav Ganov2015-08-316-9/+23
|\| | | | | | | | | | | | | location provider" into mnc-dev * commit '5d2d9baa01c06ff8f247419eb3b66e8e21844b28': Show location permission toggle for location provider
| * 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
* | | am 954f5f2e: am 711f8a17: Merge "Revert "Show location permission group, ↵Svetoslav Ganov2015-08-311-4/+2
|\| | | | | | | | | | | | | | | | | | | | even when fixed."" into mnc-dev * commit '954f5f2ed1c7ff288ba9f4686bdee93860d02720': Revert "Show location permission group, even when fixed."
| * | 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
* | | am 5005cc47: am 79fe6c1c: Merge "Refresh permissions UI on fragment resume" ↵Svetoslav Ganov2015-08-291-1/+1
|\| | | | | | | | | | | | | | | | | | | | into mnc-dev * commit '5005cc47bd411539b2815d39b1e55fdb950f83af': Refresh permissions UI on fragment resume
| * | 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
* | | am 1e6cd17f: am 919d56f9: Merge "Always set permission policy to fixed" into ↵Ian Pedowitz2015-08-271-3/+3
|\| | | | | | | | | | | | | | | | | | | | mnc-dev * commit '1e6cd17f5abde2e6dd9a28021af5edc977c5b430': Always set permission policy to fixed
| * | 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
* | | | am 372aad9e: am 0d93cfb9: Protect permission dialog from type jack attacksSvet Ganov2015-08-251-1/+23
|\| | | | | | | | | | | | | | | | | | | * commit '372aad9e815985e6e6d3fee13292f64f5085756d': Protect permission dialog from type jack attacks
| * | | 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
* | | am cc893701: am bb27277d: Use actual app name in location dialog.Jeff Sharkey2015-08-221-1/+1
|\| | | | | | | | | | | | | | * commit 'cc893701a129ead00f2e753481fabae21153b1f2': Use actual app name in location dialog.
| * | Use actual app name in location dialog.Jeff Sharkey2015-08-211-1/+1
| | | | | | | | | | | | | | | Bug: 21805447 Change-Id: I394f40d0d8bce1541ec57cac7a60751b740aefaf
* | | am 7f4103b0: am 8dcea3bf: Show multi-permission UI in the requested order.Svet Ganov2015-08-222-36/+40
|\| | | | | | | | | | | | | | * commit '7f4103b04d6af92fd92d92f5526b73aa76fbd233': Show multi-permission UI in the requested order.
| * | 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
* | | am 1b066ca0: am 9b724fd6: Merge "Show location permission group, even when ↵Jeff Sharkey2015-08-221-2/+4
|\| | | | | | | | | | | | | | | | | | | | fixed." into mnc-dev * commit '1b066ca094bf6c3ab0157a97ec4a20f988e0ed0a': Show location permission group, even when fixed.
| * | 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
* | am af8c918e: am ab1e5900: Merge "Revert "Grant only requested permissions ↵Ian Pedowitz2015-08-226-48/+20
|\ \ | | | | | | | | | | | | | | | | | | not the whole group."" into mnc-dev * commit 'af8c918e6a54c95d35f1e92cb16a4251e1ee7fb8': Revert "Grant only requested permissions not the whole group."
| * | Revert "Grant only requested permissions not the whole group."Ian Pedowitz2015-08-216-48/+20
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e899d8d48558a6d4a8f0498c38a623115aad2205. Bug: 23314383 Bug: 23397858 Change-Id: Ia928a4b24c60eae6b4fb16ebdbfa6b6787f6c3ae
* | | am 4a399b32: am d7b72885: Revert "Show multi-permission UI in the requested ↵Ian Pedowitz2015-08-222-40/+36
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | order." * commit '4a399b3249a39c66108f7bed37c95bc4d43a92b2': Revert "Show multi-permission UI in the requested order."
| * | | Revert "Show multi-permission UI in the requested order."Ian Pedowitz2015-08-212-40/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit dda78230999da573318594c7cfcdbc738bab864e. Bug: 23314383 Bug: 23397858 Change-Id: I8d06936ad8a51299148f0a311da81d8868840e78
* | | | Implement base version of GrantPermissions dialogAnthony Hugh2015-08-213-0/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the Emerald release, we need to support the new permission APIs. This changelist adds a dialog for the Activity.requestPermissions() API so that users can request permissions. This check in is a functional version, but not polished. will need to be a follow up CL to add the correct animations and update the UI to the appropriate redlines. The implementation for the confirmation dialog is modeled after the one in the clockwork libs/Views folder. There are some tweaks to match the designed behavior of the permission dialog. When there's more time in the future, we should try to condense this to one implementation. This is a resubmit without the wearable-support lib. I will figure out how to get that referenced in the next UI pass. BUG: 23118402 Change-Id: Ib2fb94b356aa965b999b3e12726fda86928a963e
* | | | Merge "Revert "Implement base version of GrantPermissions dialog"" into cw-e-devAnthony Hugh2015-08-213-315/+0
|\ \ \ \
| * | | | Revert "Implement base version of GrantPermissions dialog"Anthony Hugh2015-08-213-315/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b7da1f5f9886ff8a4ad81b0d617d442c461ca1e5. We can't reference vendor from this package. Need to add the references manually. Change-Id: I3ee31de110f24014100ce804b0659055b26f963b
* | | | | Merge "Implement base version of GrantPermissions dialog" into cw-e-devAnthony Hugh2015-08-213-0/+315
|\| | | | | |/ / / |/| | |
| * | | Implement base version of GrantPermissions dialogAnthony Hugh2015-08-213-0/+315
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the Emerald release, we need to support the new permission APIs. This changelist adds a dialog for the Activity.requestPermissions() API so that users can request permissions. This check in is a functional version, but not polished. will need to be a follow up CL to add the correct animations and update the UI to the appropriate redlines. The implementation for the confirmation dialog is modeled after the one in the clockwork libs/Views folder. There are some tweaks to match the designed behavior of the permission dialog. When there's more time in the future, we should try to condense this to one implementation. BUG: 23118402 Change-Id: Ic90d37a2ce8a7adacb7c4e004b0a5260b624f5c8
* | | Show multi-permission UI in the requested order.Svet Ganov2015-08-202-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: Iffd0f4fd7df04aeece3995290a7798a559430304
* | Grant only requested permissions not the whole group.Svet Ganov2015-08-206-20/+48
|/ | | | | | | | | | | | 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
* 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