summaryrefslogtreecommitdiffstats
path: root/src/com/android/packageinstaller/permission/ui
Commit message (Collapse)AuthorAgeFilesLines
* Back-port ag/2514922Phil Weaver2017-10-051-0/+9
| | | | | | | | | Bug: 62196835 Test: Verify overlays disappear on a11y capabilities dialog. Change-Id: I9a58fd647e53cb41f577d8d4782221d73b49f668 (cherry picked from commit 787c5b4948e309c0dbbf0f762c06fa07f88526b1)
* Merge tag 'android-6.0.1_r61' into HEADJessica Wagantall2016-08-022-57/+2
|\ | | | | | | | | | | Android 6.0.1 Release 61 (MOB30Z) Change-Id: Ic775ddf31a2f5c391898e83bed469041849f8903
| * [DO NOT MERGE] Bring back overlay warning in permissions UI.Svetoslav Ganov2016-05-252-57/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The package installer has a special event handling when the user tries to interact with it and an overlay window intersects the installer one. We show a warning that an overlay was detected and point the user to settings. This regressed and nothing happened when the users click the allow button. bug:28572707 bug:26677796 Change-Id: I617595e7cd5277576ccb9915946b77082a1c2b9e Resolution to mnc-mr2-release when CP'ing ag/1065580
* | Merge tag 'android-6.0.1_r46' into HEADJessica Wagantall2016-06-071-0/+56
|\| | | | | | | | | | | Android 6.0.1 release 46 Change-Id: Ie2b11a3416c1719374f06c8048b29f27ab8414a7
| * DO NOT MERGE Take advantage of new MotionEvent flag to prevent tapjacking.Michael Wright2016-04-211-0/+56
| | | | | | | | | | | | | | Bug: 26677796 Change-Id: I563541f0a42564b854af0f8037c1d4741c79a2ac Fix merge conflict when cp'ing ag/903239 to mnc-mr1-release
* | Fix buildSvetoslav2015-11-205-11/+11
| | | | | | | | Change-Id: I2a3e235bb13f1920c14f6776ee3a1ef7285ea548
* | resolve merge conflicts of c10abb25f3 to cw-e-dev.Svetoslav2015-11-203-274/+3
|\ \ | | | | | | | | | Change-Id: I965fb579e2730fa1cdb182bc18e134f262929328
| * \ Clean up package installer stylingSvetoslav2015-11-2020-29/+1774
| |\ \ | | |/ | |/| | | | | | | | | | | | | am: 2cf17ddcef * commit '2cf17ddcef3c8dd260bd3d174123842c81a7d025': Clean up package installer styling
| | * Clean up package installer stylingSvetoslav2015-11-1820-29/+1774
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Package installer should be using exclusively the device defaut themes on handhelds (phones and tables) to allow OEMs customize its look and feel. Also for handhelds the installer should use the same preference framework as the settings app to ensure it looks like the settings app on an OEMs device. This change needs to be picked up by a GMS build to deliver to partners ensuring the installer UI is consistent with the device UI. bug:24286616 Change-Id: I92e39fd1488e76b0b23b7f1efa13e04ed5bbc7ba
* | | resolve merge conflicts of c10abb25f3 to cw-e-dev.Svetoslav2015-11-2020-27/+2041
| | | | | | | | | | | | Change-Id: I3fe38a9ac62466b38efec834dceb712d2782c518
* | | Button bar animating when it isn't supposed toAnthony Hugh2015-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | There was an incorrect calculation for determining when the content was occluded by the button bar or not. BUG: 25164689 Change-Id: I121f6e0232da2d1536e0fbbf697e00a4f9c1841f
* | | Fix out of bounds exceptionAnthony Hugh2015-10-282-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like the cached index had become invalid at some point. It's unclear why, but the logs suggest that a bunch of Home services crashed. Rather than cache the index within the Activity, I have changed the code to send the index along with the dialog activity launch. This way when the dialog returns, the index will be saved within the callback. The index should be enough because the permission set should not change for the app between screens and the permission set is alphabetized. BUG: 25334674 Change-Id: I8f9189960aa7fc9b09cc25f594397523550ac626
* | | Fix Permissions Dialog animationsAnthony Hugh2015-10-211-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make handler run on UI thread to avoid race conditions. Update some logic to prevent animation from running when it shouldn't be. BUG: 24954323 Change-Id: Ia1635cbb3c9128080a8e4a9c3ce6ee935c4d957e
* | | Reduce the top padding when message isn't at top.Danny Epstein2015-10-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | If either the page number or an icon is shown above the message, reduce the top padding on round screens. Bug: 24961379 Change-Id: Iec9193e3bbdd8ac607743cd0010f2331edbebc81
* | | Add top padding to grant permission content.Danny Epstein2015-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add top padding to the content inside the scroll view for the grant permission dialog so that you can read the beginning of the text on round watches. Bug: 24961379 Change-Id: I9311fbaabd72bd8f8aee4f71845c1ae11bfeab8c
* | | am 6986f29b: Auto grant permissions in an already granted group.Svetoslav Ganov2015-10-151-2/+18
|\| | | | | | | | | | | | | | * commit '6986f29bb93a6aaaeaaddcab081d0e0afd7082e8': Auto grant permissions in an already granted group.
| * | Auto grant permissions in an already granted group.Svetoslav Ganov2015-10-151-2/+18
| | | | | | | | | | | | | | | | | | bug:24074183 Change-Id: Iad6f9b7d5b83d0b0121796891bcd069658995a47
* | | am 86f1ee8c: Revert "Auto grant permissions in an already granted group."Ian Pedowitz2015-10-151-18/+2
|\| | | | | | | | | | | | | | * commit '86f1ee8c2db04d37d48f25a60086e5a27a812fb9': Revert "Auto grant permissions in an already granted group."
| * | Revert "Auto grant permissions in an already granted group."Ian Pedowitz2015-10-151-18/+2
| | | | | | | | | | | | | | | | | | This reverts commit c7e595a22c11247b3e6b0fbfa324542321ab9d14. Change-Id: I0a319ef590e9c0f830af470155213677bed684f4
* | | am c7e595a2: Auto grant permissions in an already granted group.Svetoslav2015-10-151-2/+18
|\| | | | | | | | | | | | | | * commit 'c7e595a22c11247b3e6b0fbfa324542321ab9d14': Auto grant permissions in an already granted group.
| * | Auto grant permissions in an already granted group.Svetoslav2015-10-151-2/+18
| |/ | | | | | | | | | | | | bug:24074183 Change-Id: I8eb4e4c76ed27721b04e09ae009ddd2daec1e0b1 (cherry picked from commit ecc46fe0ce772338786cb9e23cb872189e6a285c)
* | Modifies wear Permission title height to avoid clippingAlex Hills2015-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We were explicitly setting the height of the permission screen title, which wasn't 100% guaranteed to work in all languages. This change sets minHeight (to maintain UI consistency) instead, and changes the height to wrap_content to enable it to expand further if necessary. Bug:24774285 Bug:24391658 Change-Id: Icf25ad6a176537b0f34a30f53220c73fccec2d24
* | Permissions redline fixesAnthony Hugh2015-10-052-50/+99
| | | | | | | | | | | | | | | | | | | | | | | | This fixes the button bar animation to work on round devices and also fixes the max height animation to make sure the vertical button layout animates to max height when there are only two buttons. Also adjust some redlines like margins on the buttons and updated some files that were missing our licensing header. Change-Id: Ifad4d0f92605be04db2d3c991b4e8a26eadb4b14
* | Merge "Add enabled/disabled icons for permissions on Wear" into cw-e-devAnthony Hugh2015-09-251-2/+48
|\ \
| * | Add enabled/disabled icons for permissions on WearAnthony Hugh2015-09-231-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds proper enabled/disabled icons for permissions on Wear and adds the logic to flip between the two states when the permissions are toggled. BUG: 24132450 BUG: 24131441 BUG: 24277624 BUG: 24131983 Change-Id: Ie654c84fe3d648e47a76142a6f82c4348bb7fc0c
* | | Fix CTS test by renaming button ids to matchAnthony Hugh2015-09-241-4/+4
|/ / | | | | | | | | BUG: 24264373 Change-Id: I9f04ff68dcd11f48df9331abf2f1775c95f31f99
* | Merge "Add new dialog for warning confirmations" into cw-e-devAnthony Hugh2015-09-233-24/+151
|\ \
| * | Add new dialog for warning confirmationsAnthony Hugh2015-09-233-24/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change updates the Wear warning dialog for when users try to change permissions for system apps and apps that are targeting old SDKs. Because Wear does not have a common dialog yet, I needed to create a new activity to hold our confirmation view. Changes: - Update logic to show Wear confirmation screen instead of using AlertDialog - Added WarningConfirmationActivity - Change font size for confirmation dialog - Make ConfirmationViewHandler support hiding one of the 3 vertical buttons - rename grant_permissions.xml to more generic confirmation_dialog BUG: 24132857 Change-Id: Id225e663f0a2cd7b99fb177f780a6a3d0da15214
* | | MNC Perms: Button bar animate to max half window heightVinod Krishnan2015-09-221-3/+9
|/ / | | | | | | | | | | | | | | | | | | - Make sure that the button bar only animates to half way (max). - Also make the buttons scrollable Bug: 24265941 Bug: 24208967 Change-Id: I68d01c72658c0e7aff35b899b638da123c44d62e
* | Update Grant Permissions dialog to redlinesAnthony Hugh2015-09-223-59/+84
| | | | | | | | | | | | | | | | | | | | | | | | Changes: - Refactor the ViewHandler a bit to be more generic. This should help with another upcoming Wear dialog. - Update assets for buttons - Add deny asset - Fix margins and other UI number tweaks BUG: 24133550 Change-Id: I330bdf3217fa5c554f71d9105a0475106b6f3e12
* | Permissions Settings UI updatesAnthony Hugh2015-09-174-51/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | Changes: - Moved non-system permission groups to the end of the list - Updated "disabled" look to match non-center looked - Fixed state string alpha to match other alphas when not centered - Minor code clean ups BUG: 24132393 BUG: 24132470 BUG: 24131983 Change-Id: I65a64d59e6fff8e0cbdaaa3da4e4a79987d6e624
* | Fix build breakAnthony Hugh2015-09-161-1/+1
| | | | | | | | | | | | Another bad merge. Util was changed to isWear, not isWatch Change-Id: If15036edbb09114a17fd5993c145433b5c274ec8
* | Build initial Permissions Settings UI page for WearAnthony Hugh2015-09-155-2/+598
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a first pass to build a functional settings UI page for Permissions on Android Wear. The user flow is a little different than the phone version, so there are some nuances that need to be adjusted from the normal flow. I have forked off of the AppPermissionsFragment and created a Wear version for us to use. Rather than try to link the Wearable-Support lib into AOSP code, I have made a duplicate of the few files I needed. This change adds a Wear layout version of the Settings UI page. The UI is fully functional for most cases, but there are some tweaks still needed for full parity. The tweaks are primarily around UI and special edge case functions. BUG: 23080561 Change-Id: I8477f6b966cacaae9e77aa0fb61b4b1e621a9ead
* | Merge "Permissions Watch settings UI port" into cw-e-devAnthony Hugh2015-09-164-0/+457
|\ \
| * | Permissions Watch settings UI portAnthony Hugh2015-09-154-0/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL contains all the UI elements needed to build the Wear version of the Settings UI for permissions. The actual implementation for the Wear version of SettingsUI will be done in a follow up bug. This is basically a straight port from our Settings app and wearable-support lib. I tweaked two strings and changed the package paths to make it easier to group the files together. BUG: 23080561 Change-Id: I6d72d29dd1926ad07d63f85b52ccf9f72ff70df1
* | | Changing layout to make button animations workVinod Krishnan2015-09-146-14/+141
|/ / | | | | | | | | | | | | | | | | | | | | - 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
* | am 5d2d9baa: am f7fc0631: Merge "Show location permission toggle for ↵Svetoslav Ganov2015-08-312-3/+15
|\| | | | | | | | | | | | | 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-312-3/+15
| |\
| | * Show location permission toggle for location providerSvetoslav2015-08-282-3/+15
| | | | | | | | | | | | | | | | | | bug:23528665 Change-Id: Id3a0838c3421b56dcf47c86043bb51c670268d03
* | | 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
| * | Always set permission policy to fixedBenjamin Franz2015-08-251-3/+3
| | | | | | | | | | | | | | | Bug: 23408576 Change-Id: I981810de6f5b49b94371606cc5cf7baf51375485
* | | 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-221-8/+10
|\| | | | | | | | | | | | | | * commit '7f4103b04d6af92fd92d92f5526b73aa76fbd233': Show multi-permission UI in the requested order.
| * | Show multi-permission UI in the requested order.Svet Ganov2015-08-211-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 af8c918e: am ab1e5900: Merge "Revert "Grant only requested permissions ↵Ian Pedowitz2015-08-222-21/+12
|\| | | | | | | | | | | | | | | | | | | | 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-212-21/+12
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e899d8d48558a6d4a8f0498c38a623115aad2205. Bug: 23314383 Bug: 23397858 Change-Id: Ia928a4b24c60eae6b4fb16ebdbfa6b6787f6c3ae