History log of /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1019d73896ca8ec9baac1492c08443c7a6339380 02-Jan-2017 Shijian Li <shijianli@google.com> Expand all permissions when permissions in a group are individually managed.

Test: Manually tested on sawshark_sw where WRITE_CONTACTS and
READ_CONTACTS are shown separately for Android Wear App. Also
tested on sawshark where only one "Contacts" group shown on
behalf of WRITE_CONTACTS and READ_CONTACTS.
Bug: 33856934
Change-Id: I299c54e38236d039204a01d8113f427b1fc71c43
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.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/Utils.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/utils/Utils.java
e4cd4f8bb6035fd5463c5a44c267b0dd196c17fe 27-Oct-2015 Anthony Hugh <ahugh@google.com> Add mechanism for determining if apps are system apps

This is being added to help identify system apps so that
the UI can filter on that type.

BUG: 24955055
Change-Id: I8d843bae2d81329009c8cda8c25355d08ab9d1d7
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
e9c8c7b2942514e566cd02fbf58cb31ab917a72d 15-Sep-2015 Vinod Krishnan <vinodkrishnan@google.com> Merge "Add an API for getting list of all apps that have runtime perms" into cw-e-dev
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/utils/Utils.java
94df7bf72fef3bd0a03e463279cac65144ba1da4 01-Sep-2015 Vinod Krishnan <vinodkrishnan@google.com> Add an API for getting list of all apps that have runtime perms

Bug: 23819535

- Used for Android Wear

Change-Id: Ie42ce04453cb0cd7d2cf292065bbb1891fffbfa9
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
3c44cc5448eed0b74b37f022e8695c36fb75f33c 02-Sep-2015 Svetoslav <svetoslavganov@google.com> Display properly runtime permissions without a corresponding app op.

We added the GET_ACCOUNTS permission to the contacts group
but it does not have an app op. The UI code was written with
the assumption that all runtime permissions have an app op
and was not showing the contacts group if the only requested
permission from that group was GET_ACCOUNTS.

bug:23726958

Change-Id: Iad5493297901c3f1144f4d58a3dad3f022c593a1
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
acd09293116133b6a86d348e011d8347a03266ec 29-Aug-2015 Svetoslav <svetoslavganov@google.com> Show location permission toggle for location provider

bug:23528665

Change-Id: Id3a0838c3421b56dcf47c86043bb51c670268d03
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
2d03ddd5d73a16a63a3a3e6a412967183163ecee 29-Aug-2015 Svetoslav Ganov <svetoslavganov@google.com> Revert "Show location permission group, even when fixed."

This reverts commit 3c093f94a82a7b013dd93edf3f5811aa3763af4b.

Change-Id: I28e5597390df3abfdde6e4f8c46d0350028392c8
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
3c093f94a82a7b013dd93edf3f5811aa3763af4b 21-Aug-2015 Jeff Sharkey <jsharkey@android.com> Show location permission group, even when fixed.

System fixed permissions are typically hidden in the UI, but we need
to special-case the Location group to help guide the user to another
part of Settings where they can manage location access.

Bug: 21805447
Change-Id: Ia6b30b4651c9ed42e0279e729e544b654940dde6
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
d9f8f576c98b8ef194ca77131cb779b14dde5886 16-Jul-2015 Svet Ganov <svetoslavganov@google.com> Remove the obsolete 'show legacy' option from permission screens

bug:22523221

Change-Id: I09b605c7689c7402942c02a2639f1f28c7ee0c54
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
f5f6b1b113bb39a268948c19a39833d3ff839d32 14-Jul-2015 Todd Volkert <tvolkert@google.com> Add "show additional permissions" screen to app permissions for TV.

This also cleans up some code:
1) Factor out isTelevision into Utils.isTelevision() and call
it where we were previously inlining that code
2) Make AppPermissionsFragment work better with config changes
and screen rotation changes (the extra screen wasn't working
at all with such changes)

b/22045242

Change-Id: I937eaa67f19f44b5e1a76a58e3fdd799ae36e73b
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.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/utils/Utils.java
26d1a10f88eba61997a162f00ecd3c396864ce08 24-Jun-2015 Jason Monk <jmonk@google.com> Fix tinting on bitmap perm icons

Bug: 22043511
Change-Id: I3d42ef243840a4cc2103c3f1d6a63e1c0ff940c9
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
9f0442cdfc055cc3aed19770f48f516b052f6e60 18-Jun-2015 Jason Monk <jmonk@google.com> Add better logic for what is 'system'

Match settings logic for this: System apps are on the system image,
don't show up in launcher, and haven't been updated.

Bug: 21849124
Change-Id: Ida77f98d080068731dcfd7aaf26aeb086fd681ed
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
cd71d9aeabac2e7d5de7a5c84f09d4681411ebb4 12-Jun-2015 Svet Ganov <svetoslavganov@google.com> Requesting granted permission shows grant/revoke UI.

bug:21565838

Change-Id: Ib878d07b7d9bbab1ffe2b64f008e2fe092ead253
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
93568c580d730911a6e2734e79fbe6dc27c1bca1 20-May-2015 Jason Monk <jmonk@google.com> Add permission summaries back

- Add summaries to manage permissions screen
- Add some shortcuts to skip loading unneeded labels/icons
for summary info
- Add way for Settings to broadcast request for info about
granted permissions.

Bug: 21078474
Change-Id: I28582129971385203f4e4316addf73e07ee53940
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
b8fa280183c0e893f194ce162ccfe8845f60e347 22-May-2015 Jason Monk <jmonk@google.com> Fix tinting issue in manage permissions

Make sure we update the ui in onResume so we have the right tinting
and make sure we clear out other tints first.

Bug: 21367016
Change-Id: I800503fff5dc0cbcf3cfd6876c78c257adc24d65
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.java
7c719ca27ff887903f8890e8181ed8e28bb6e886 19-May-2015 Jason Monk <jmonk@google.com> Handle dark themes in permissions UI

- Settings > Apps > Advanced > Permissions
- Permission icon needed tinting
- Settings > Apps > [App] > Permissions
- Permission icon also needed tinting
- Grant permission dialog
- Needed new base theme
- App name color span needed dark color
- Progress text needed dark color

Bug: 21154903
Change-Id: I34045ac71ca87abbb4ce828435f583f53ab0d3da
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/Utils.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/utils/Utils.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/utils/Utils.java