History log of /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/GrantPermissionsViewHandlerImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9370d2ed646511e0b4c8495897376f1f64164f6f 18-Apr-2017 Phil Weaver <pweaver@google.com> Stop duplicate announcement of permissions

Also switching clearing of a11y focus to use public, rather than
hidden, API.

Bug: 37480531
Test: Manually verified that title is read once now.
Change-Id: Ie89a22a8109bee879a8c4a8cac531032bc52d8bc
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/GrantPermissionsViewHandlerImpl.java
8bfceb1abbbd738da0d86a8656816dd3fa074508 21-Feb-2017 Paul Navin <paulnavin@google.com> Use PackageManager query instead of permissions review mode booleans.

There are currently two configuration booleans for permissions review
mode: (1) a Build flag, and (2) a system config boolean. ag/1835531
added a query to PackageManager to hide these, so this CL changes the
usages within PackageInstaller to use this query instead of the booleans
directly.

BUG: 35028846
TEST: Run permissions CTS tests on Nexus 6.
Change-Id: I84516ba39be0de2bfdc953670dc54d5bd761b3a5
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/GrantPermissionsViewHandlerImpl.java
5e3cc5335e208fff39b0983a88f37e92b3da8c69 21-Sep-2016 Svet Ganov <svetoslavganov@google.com> Polish permissions review UI.

This change adds a more info button to the permission
grant UI and the permission review UI which sends the
user to the all permissions screen.

It also adds UI to manage all permissions in the SMS
group individually. Now tapping on the switch in the app
permissions screen toggles the permission group and
tapping on the permission name sends the user to the
detailed permission-level management UI.

Lastly, this change adds management controls to each SMS
permission in the all permissions screen where tapping on
the switch toggles the permission and tapping on the
name as before shows a detailed description.

Change-Id: I1d6cbc478c789e7680f41b92b9f3fa2504576ecd
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/GrantPermissionsViewHandlerImpl.java
4c3424422cca61c4f73015f5597a8c0254349ae4 05-Aug-2016 Svet Ganov <svetoslavganov@google.com> Prevent "dont't ask again" being inpropoerly propagated am: 8fdd3b3144 am: 2bedf83748
am: b13227e1ff

Change-Id: I9ba49d5a254ca518d2972e357f8b749049bbb188
8fdd3b3144316fab4451181c2eb28fd75fdea1be 04-Aug-2016 Svet Ganov <svetoslavganov@google.com> Prevent "dont't ask again" being inpropoerly propagated

If the first permission of a several permission request is
denied with prejudice the rest of the denied permissions in
the sequence are also incorrectly denied with prejudice
even if the user didn't select "don't ask again".

bug:30653785

Change-Id: Ib942dd3c692d1c3a09dc1a64f2947ded0f193923
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/GrantPermissionsViewHandlerImpl.java
56d1c72710431576da74b075361b4bc7e64c6eee 01-Apr-2016 Anthony Chen <ajchen@google.com> Introduce GrantPermissionViewHandler for Auto usecase.

For Android Auto Embedded, the permissions dialog needs to have larger
font and tap targets for the buttons. In order to accomplish this, the
dialog must be allowed to expand to at most the full width of the
screen.

Allow GrantPermissionsViewHandlerImpl to be extended to reduce the
amount of code that needs to be duplicated.

Refer to ag/902867 for the AAE's overlay that replaces the
grant_permissions.xml and permissions_description.xml layouts.

Bug: 27967879
Change-Id: Ie30fcc5d1e7fa9cb22da8faf40c70daccf840f6f
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/GrantPermissionsViewHandlerImpl.java
9199155a7f5643e6a07a626973f892e05c7c5bd7 21-Jan-2016 Svetoslav Ganov <svetoslavganov@google.com> Make the permission request dialog's layout robust

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)
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/GrantPermissionsViewHandlerImpl.java
eccff95e32dbf09f0fe6df033daf09e8d3c4212e 15-Jan-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Revert "Make request permissions dialog layout robost""
am: 41d260fe98

* commit '41d260fe9854819ca04a3b5908e6ab889bf3ffc4':
Revert "Make request permissions dialog layout robost"
b0a98d2e4778e39b62b3731cbc27cf6fdb541e24 15-Jan-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Make request permissions dialog layout robost"
am: 816baf3566

* commit '816baf35660c3c46ffcb9be7ec72d343fb0e1400':
Make request permissions dialog layout robost
ef861375eebd9ac6cce7c0bb163380ab1c951063 20-Nov-2015 Svetoslav <svetoslavganov@google.com> resolve merge conflicts of c10abb25f3 to cw-e-dev.

Change-Id: I3fe38a9ac62466b38efec834dceb712d2782c518
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/GrantPermissionsViewHandlerImpl.java