History log of /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ArrayUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
10e3da2b63ece256c25019bece974ed50802ac73 24-Jan-2017 Ian Pedowitz <ijpedowitz@google.com> Revert "Revert "Set USER_FIXED for all non-granted permissions as long as one in the group is changed.""

This reverts commit 9385a5c742c3989a15c3b5bf511ca77fa1b02113.

275897a5a576e8d16ebc245c0a299c5d9448a5a6 broke the master build. It was
reverted with 9385a5c742c3989a15c3b5bf511ca77fa1b02113 but it turns out
that ArrayUtils.appendString was already implemented in master. Reverting
this upstream change caused the implementation in master to disappear,
breaking the build further. This CL restores master to where it was before
275897a5a576e8d16ebc245c0a299c5d9448a5a6 merged downwards.

Change-Id: I1440d21fb3bf9a2cf9dda044b3f7d95cb0ba2b14
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ArrayUtils.java
9385a5c742c3989a15c3b5bf511ca77fa1b02113 24-Jan-2017 Ian Pedowitz <ijpedowitz@google.com> Revert "Set USER_FIXED for all non-granted permissions as long as one in the group is changed."

This reverts commit 275897a5a576e8d16ebc245c0a299c5d9448a5a6.

Change-Id: Ie1c409225a3b64c81c607139846336d3d2426ecd
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ArrayUtils.java
70b87e4b5477bcdb071c742c69e402888261b744 04-May-2016 Svetoslav Ganov <svetoslavganov@google.com> Grant only the requested permissions

If an app requests a permission in a group we were auto
granting it all permissions from the group declared as
used by the app. The intended behavior is that we grant
only the requested permission and requesting a permission
from a group where a permission is already granted results
in an auto-grant. The intended behavior was to prevent coding
around permission groups which a volatile by design. Now if
apps target SDK above M we provide the intended behavior,
otherwise for apps targeting M we provide an unchanged
behavior.

bug:28347872

Change-Id: I954dcca4d3f10b822ce5cf716682f198e785733a
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ArrayUtils.java
b340f275e7c0930e4538fdf8f186b9868caae8a7 03-May-2016 Svetoslav Ganov <svetoslavganov@google.com> Revert "Grant only the requested permissions"

This reverts commit 294b6406798c59e9db5ffa99d042f9b8c6ca6f90.

Change-Id: Ifb48eb1fbdb0499743f4ca88adbd5ed77cfa4cf8
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ArrayUtils.java
294b6406798c59e9db5ffa99d042f9b8c6ca6f90 27-Apr-2016 Svet Ganov <svetoslavganov@google.com> Grant only the requested permissions

If an app requests a permission in a group we were auto granting it all
permissions from the group declared as used by the app. The intended
behavior is that we grant only the requested permission and requesting
a permission from a group where a permission is already granted results
in an auto-grant. The intended behavior was to prevent coding around
permission groups which a volatile by design. Now if apps target SDK
above M we provide the intended behavior, otherwise for apps targeting
M we provide an unchenged behavior.

bug:28347872

Change-Id: I493714b2c2581340b01b12ce6fedf80f9d3deec5
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ArrayUtils.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/utils/ArrayUtils.java