| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old implementation was relying on a fixed window size
where the content is positioned by a custom layout manager.
It is possible however that subsequent permissions requests
do not fit in the window as its size is computed based on
the content of the first permissions request. There were
also cases where the content is chopped after a rotation
as the dialog size width was not re-evaluated while it should
be. Further, animation from one permission request state
to another was not properly done resulting in content
being chopped off in some cases.
The current approach is to have a dialog width for the
content activity but the height is as tall as the screen
allowing us to fit arbitrary large permission request
content. Also we are resetting the fixed width on a
configuration change so the dialog is robust to adjust
size as needed.
bug:24679384
bug:25755378
Change-Id: I4d23f81d8e59ce23bf9a27155ebb5ec6e2e6752c
(cherry picked from commit c6dc4bb52b07886346b02b326c5c32a8299ed73e)
|
|
|
|
|
|
|
|
|
|
| |
1. Add missing tinting in ic_info.xml
2. Improve button stacking in the request permissions UI
3. Align text and icon in request permissions UI
bug:26071925
Change-Id: I12f631e902203d3f31970b28e420e20b7b454812
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 22317719
Change-Id: I5f6526bcce382ae6fabe32d3f8842567d8dc8701
|
|
|
|
|
| |
Bug: 21997648
Change-Id: I72a9952f0f6d4134cacb18d1cef92701770e6c9d
|
|
|
|
| |
Change-Id: I4b1d3b815b6047937b89d4767583efe9bce3fab0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- DialogFragment was removed and just use the dialog-themed activity
instead. The previously GrantPermissionFragment, now acts as a
helper class.
- The dialog always tells the window its the same size, but then
draws at whatever height is required for the current permission.
(this allows it to stay in one position)
- Touching outside now does nothing so that the user must respond
to the permission request.
Change-Id: I12f27de4de5ad83e123cb9acfa062950db39f61b
|
|
|
|
| |
Change-Id: If6be16a59cf33ccd61a86a241f3325bafd95236b
|
|
|
|
| |
Change-Id: I0b3146add8984fdea1a702d447461e82f4aa7c31
|
|
|
|
|
|
|
|
|
| |
- Show correct icon and tinting for it
- Bold/color the app name
- Update the string, location and themeing of the checkbox, although
its not actually hooked up yet.
Change-Id: Ia7da81abb3d427f6d37ea29e8a38531cb743e878
|
|
Change-Id: Ieb311d29d122cfce130ae1a26889dd7794548833
|