History log of /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d97f9e45a30cb7daed0552c3306f5a55e8e6a136 03-Aug-2017 Philip P. Moltmann <moltmann@google.com> revokeRuntimePermission works on permissions

... not on groups. Hence revoke the whole group the permission belongs
to.

Change-Id: I54c74c5653bb0b3fa452a0c7fe21381f407a3061
Fixes: 64301150
Test: Manually tested
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.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/model/AppPermissions.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/model/AppPermissions.java
03714ea3c8461c54e5dfaf9e0fdaec53005d6387 17-Aug-2016 Svet Ganov <svetoslavganov@google.com> Remove permission review build property - package installer

Change-Id: Ifbff84c4ddd1aaf4f124007c268b67eb73bc075f
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
a4027400710fb76c931c5ea01c6d881c73114b3d 30-Jun-2016 Svet Ganov <svetoslavganov@google.com> Add Bluetooth toggle prompts - package installer

If permission review is enabled toggling bluetoth on or off
results in a user prompt to collect consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

Also added a configuration resource which controls whether
permission review mode is enabled. By default it is not and
an OEM can change this via an overlay. For now we also keep
the old mechanism to toggle review mode via a build property
which is still used and will be removed when clients have
transitioned.

bug:28715749

Change-Id: I3783fa99f3fca881a4b60ea1e7c0f68098302ae4
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
b2016f5e06f77eeaa3962dee0b71d82b1ee56f01 01-Mar-2016 Svetoslav Ganov <svetoslavganov@google.com> Use safe label in permission request UI

bug:23531798

Change-Id: I7cde3b9987c0e59b9aa148a5a3a597eec55a20a4
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
bf7316751f0c73b435b693fd20b0c9b2fa973e85 27-Sep-2015 Svet Ganov <svetoslavganov@google.com> Add optional permission review for legacy apps - installer

Change-Id: Ifc88b2fa259d2d22bea6b5500cded2714ad4da85
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
03dc824d37099b29acb5a0aa28e881d5b05cce0e 10-Sep-2015 Vinod Krishnan <vinodkrishnan@google.com> Changing layout to make button animations work

- 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
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
0d93cfb9aff10029057acecf094c0572fa6cce9f 25-Aug-2015 Svet Ganov <svetoslavganov@google.com> Protect permission dialog from type jack attacks

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
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
8dcea3bf077e84eb0ad8e204981b4f20f8ca83ed 20-Aug-2015 Svet Ganov <svetoslavganov@google.com> Show multi-permission UI in the requested order.

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
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
d7b72885e4a9a18d1477b7e68942ae1b2ca67a4f 21-Aug-2015 Ian Pedowitz <ijpedowitz@google.com> Revert "Show multi-permission UI in the requested order."

This reverts commit dda78230999da573318594c7cfcdbc738bab864e.

Bug: 23314383
Bug: 23397858
Change-Id: I8d06936ad8a51299148f0a311da81d8868840e78
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
dda78230999da573318594c7cfcdbc738bab864e 20-Aug-2015 Svet Ganov <svetoslavganov@google.com> Show multi-permission UI in the requested order.

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
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
48f67a93bfec31dc8bf0f89290056e5f36434fa2 09-Jun-2015 Svetoslav <svetoslavganov@google.com> Respect permission request order.

Show permission accept dialogs in the order of which
the developer requested the permissions.

bug:21559824

Change-Id: I2a8f459252b31440707c6d8ffb3766e8ab6e0031
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
267c2bd39c248eea2679c0a8efa334d3155e262c 17-May-2015 Svet Ganov <svetoslavganov@google.com> Hide platform platform legacy permissions behind a menu option - package installer.

bug:21195624

Change-Id: If6de516d76969c3627316d091893da58f81af832
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
785a9b6369db4c46a389a43ae30e1f6e8003366b 10-May-2015 Svet Ganov <svetoslavganov@google.com> Add support for permissions gran/revoke policy - package installer.

Change-Id: Id2d5733db0978e909d7159b0eade2b85ec838924
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java
a7a0406958991f7a964370295821d8e477f503e9 04-May-2015 Svet Ganov <svetoslavganov@google.com> Permission UI - legacy apps support - package installer

Change-Id: I23a7b4e42968df44d2dc3415bff2d15627653089
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/AppPermissions.java