summaryrefslogtreecommitdiffstats
path: root/src/com/android/packageinstaller/permission/ui/GrantPermissionsWatchViewHandler.java
Commit message (Collapse)AuthorAgeFilesLines
* Permissions redline fixesAnthony Hugh2015-10-051-1/+1
| | | | | | | | | | | | 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
* Update Grant Permissions dialog to redlinesAnthony Hugh2015-09-221-18/+35
| | | | | | | | | | | | 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
* Changing layout to make button animations workVinod Krishnan2015-09-141-2/+2
| | | | | | | | | | | - 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
* Implement base version of GrantPermissions dialogAnthony Hugh2015-08-211-0/+159
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert "Implement base version of GrantPermissions dialog"Anthony Hugh2015-08-211-159/+0
| | | | | | | | This reverts commit b7da1f5f9886ff8a4ad81b0d617d442c461ca1e5. We can't reference vendor from this package. Need to add the references manually. Change-Id: I3ee31de110f24014100ce804b0659055b26f963b
* Implement base version of GrantPermissions dialogAnthony Hugh2015-08-211-0/+159
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