History log of /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/PermissionGroups.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9337ca6d658fa5abf7bc42cfff195827d07c496b 13-Dec-2016 Philip P. Moltmann <moltmann@google.com> Load PermissionGroups completely async

Before we relied on 'manual' referesh calls in onResume, etc... . Now
all the updating is done triggered by a loader based on
PermissionsChangeListener in PermissionGroups.PermissionsLoader.

Fixes: 33354617
Test: - Revoked permission in manage permission UI. Global manage
permission UI got updated.
- Granted permission inside of app while settings was open. Saw
settings to get updated.

Change-Id: I3f35564885b6020d1729d61fc9056d732a0366c1
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/PermissionGroups.java
c028c376e818c08544f58e1a288e026a4f3abd7e 14-Oct-2016 Chad Brubaker <cbrubaker@google.com> Support ephemeral permissions

Ephemeral permissions may be mixed in permission groups, avoid trying to
grant non-ephemeral group members and avoid showing a group for an
ephemeral app if all permissions of that group are not ephemeral

Test: Verified that runtime permissions work for ephemeral and that
groups which contain no ephemeral permissions are auto-rejected/not
displayed in settings.
Test: cts-tradefed run cts -m CtsPermission2TestCases
Test: Verified that permissions that cannot be granted are not shown in
the all permissions fragment.
Change-Id: I511689bc540a025e0e3ebdaf9c62e01764028a9f
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/PermissionGroups.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/PermissionGroups.java
f9bf4f795615bac03d1b35a0138318473b1ef6bf 27-Feb-2016 Svet Ganov <svetoslavganov@google.com> Cleanup of the PackageInstaller API - PackageInstaller

The PackageInstaller app manages side-loading apps as well
as permission management. It should be updatable, hence
should rely on system APIs to talk to the platform. This
is the first step of defining an API boundary.

Change-Id: I37aea1e5cc3195b8b636af6790af45fe5a9765cd
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/PermissionGroups.java
bd6ad3a2b1c30f7a007c4c2ef7e5c273a2f9df10 05-Mar-2016 Svet Ganov <svetoslavganov@google.com> Support app install from a content URI

bug:24079113

Change-Id: Ide1aa1667370f6b8d00ff269ef28992589656e9a
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/PermissionGroups.java
44689865bafa920f33cbf7dde70379825ec9afde 23-Feb-2016 Svet Ganov <svetoslavganov@google.com> Expose removed permissions flag as system API - installer

There are some permissions that were removed from the platform
and guard nothing but legacy apps may be checking them before
calling APIs. Hence, these apps should get the permissions as
expected despite them being a no-op. To address this the platform
declares removed permissions as normal permissions that are hidden
such that legacy apps can always get them. These permissions are
not shown in the UI. Play needs a way to filter out these
permissions like the platform as they have permissions UI too.

bug:23361760

Change-Id: Ieecf69f70551d987f5fac1f128b7f7a0c242c378
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/PermissionGroups.java
e3ba0f72cf3a38d5f196b10f976dfe4c5dd5dff5 24-Nov-2015 Todd Kennedy <toddke@google.com> Always have an icon

The permission icon can be an external icon and thus might not exist.
So, ensure we always have an icon for the permissions UI.

Bug: 25602523
Change-Id: Ibdb1f296ff8c5f3664fe8056c8637844b580cce9
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/PermissionGroups.java
df9104d4144215b6c8612d362fd05427c130fdff 08-Aug-2015 Svet Ganov <svetoslavganov@google.com> Do not show removed permissions in the UI - framework

bug:23043018

Change-Id: I32efe93f8c52924263b16d80e09fae1a0a6babf5
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/PermissionGroups.java
5f4122f779781cbee945a99ffe00b44d1dcf5ff5 22-Jul-2015 Svetoslav <svetoslavganov@google.com> Ingore not installed permissions in the UI

bug:22303510

Change-Id: Ieab8da041627e6a5807d00a72a1ec73f1cca821b
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/PermissionGroups.java
f2736bd4fb3df44ac03385162b9f8d1bf4cb9b61 26-Jun-2015 Todd Volkert <tvolkert@google.com> Migrate package installer permissions fragments to preference support lib.

In order to allow for TV-friendly layouts, this migrates the permissions
fragments to the preference support lib, and modifies the necessary layouts
and themes to make them work on TV.

b/22043727
b/22045650
b/22044940

Change-Id: Ic862effe2c126da78c304983fd06e017c3ee4472
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/PermissionGroups.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/PermissionGroups.java