a9c2500a6863dabdd786f17a25ce0bf3683109a2 |
|
14-Apr-2016 |
Svetoslav Ganov <svetoslavganov@google.com> |
Disallow disable of the system shared libs. bug:28173410 Change-Id: If731f2d90312a083bb940f83431ba3eccf213947
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
78c9eb8947538f63d2e06684663d400991dfff8f |
|
13-Apr-2016 |
Suprabh Shukla <suprabh@google.com> |
Added api to delete cache files for a given user Added an api to delete application cache files for a specific user. This allows settings to clear cache files for work profile apps as well. Bug: b/25338468 Change-Id: I52d4944a7a03b6d63ad44dd6bb868aec62815eab
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
bbb3ff2b2a29d42771a9ce2fe2d6f576cff62617 |
|
09-Jul-2015 |
Sudheer Shanka <sudheersai@google.com> |
Flush package restriction changes for a user. Change-Id: I7c4481f820b6b368487d00de6c783e64cec99f4b
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
66ae66a7f74ee835807a141a216afbb254664510 |
|
19-Feb-2016 |
Vadim Tryshev <vadimt@google.com> |
Adding getManagedUserBadgedDrawableForDensity() to PackageManager. It allows badging an image regardless of of the user (no user id parameter). The styling for managed users is applied. This is useful for new cases where the existing functions wouldn't badge the icon, but we need it. Bug: 25192539 Change-Id: I2fd2f226f626fb2e6cda1cfe072013350e12b41c
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
a67932374dbbfbe4c6440d223fc7922b313dd957 |
|
24-Feb-2016 |
Todd Kennedy <toddke@google.com> |
Revert "Revert "Remove deprecated methods / classes"" This reverts commit 5cbeb5902633646fbc0a1be252081e77aaaee7b4. Change-Id: Id96010364d65e6131221ebbcc8ce5889a2da256c
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
fe01ea05dd196acaf95a61e169f6b75654ae0875 |
|
24-Feb-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Revert "Remove deprecated methods / classes"" into nyc-dev
|
5cbeb5902633646fbc0a1be252081e77aaaee7b4 |
|
24-Feb-2016 |
Todd Kennedy <toddke@google.com> |
Revert "Remove deprecated methods / classes" This reverts commit 9706c01f9b92cee64bb84782138735225c8588e0. Change-Id: I14c53ab140220e48f6728b1173ea58760bbeb7f9
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
ca67844e0c6b564970b8d329009c0d110888a3fc |
|
24-Feb-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Remove deprecated methods / classes" into nyc-dev
|
eb84b1843a3f6805c6109c1d9d023550229a3fc5 |
|
26-Jan-2016 |
Andrei Stingaceanu <stg@google.com> |
Suspend packages - one call for multiple packages Refactor setPackageSuspended into setPackagesSuspended. The rationale is that the consumers of this API are likely to want to remove multiple packages at once. Rather than calling the API N times, call it just once. The good part is that we already have the broadcast intent for suspended packages take an array so only one broadcast. Less stress on the system. Another good part is that (right now) we only have one consumer of this API and it will be easy to make changes once this CL goes in. As a shell command, for consistency only allowed one package at a time. Bug: 22776761 Change-Id: Ic8b8cf64d0a288ea3a282bb7b72f9d663b3b0049
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
5ae4e73ef0747c2d08a901f1a76d8fb8ee64a53a |
|
17-Feb-2016 |
Andrei Stingaceanu <stg@google.com> |
Merge "Suspend packages - new API for retrieving the suspended status" into nyc-dev
|
9706c01f9b92cee64bb84782138735225c8588e0 |
|
13-Feb-2016 |
Todd Kennedy <toddke@google.com> |
Remove deprecated methods / classes Now that we've moved the majority of system components to the PackageInstaller, we can remove the majority of the "installPackage" methods and the VerificationParams/ContainerEncryptionParams classes. There are still some lingering references to the two installPackage() methods left [both internal and external; play is using these methods via reflection]. Bug: 24542768 Change-Id: Ib65323d842d9f0e7fed60e37e6b5f103c94c859b
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
355b232d7998cfc9b29d42a0356390e25191bcbd |
|
12-Feb-2016 |
Andrei Stingaceanu <stg@google.com> |
Suspend packages - new API for retrieving the suspended status Instead of always rebuilding the full ApplicationInfo for a package when callers are only interested in the suspended status add a new fast API in Packagemanager (which only checks the suspended user setting for the requested package and returns a boolean) and change the appropriate caller code too. Bug: 26794775 Bug: 22776761 Change-Id: Ide8428ef734479360d5a8a75fd8e0ed8ddf2da7a
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
115d2c189a46f535778d9dd0923f703ff2f888fe |
|
16-Feb-2016 |
Jeff Sharkey <jsharkey@android.com> |
Add feature versions for devices and apps. We're starting to see more instances of device features that will increment separately from the SDK API level, such as camera HAL, GPU capabilities, Bluetooth, and other hardware standards. This change adds the ability for device features to specify a version, which is defined to be backwards compatible. That is, apps requesting an older version of a feature must continue working on devices with a newer version of that same feature. When a version is undefined, we assume the default version "0". Bug: 27162500 Change-Id: If890bf3f3dbb715e8feb80e7059a0d65618482ea
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
8c6d8a7ef9ef057833e36efa074138d06a8f01ca |
|
10-Feb-2016 |
Svet Ganov <svetoslavganov@google.com> |
Fix build Change-Id: I7c0601f873e37c7ebf71068ba81366704672bd70
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
e797745d757ef8eda5e36c33fec3ca74c0f4ec99 |
|
22-Jan-2016 |
Selim Cinek <cinek@google.com> |
Fix build by adding missing method Change-Id: I4309225f9c799237857ce4c8f7ae2f8667d0b8be
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
cd65448ccd13c4c2d0fe9e9623fec3a898ab9372 |
|
09-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Even more PackageManager caller triage. Finish moving all UID/GID callers to single AIDL method that requires callers to provide flags. Triage AppWidgets and PrintServices, which currently can only live on internal storage; we should revisit that later. Fix two bugs where we'd drop pending install sessions and persisted Uri grants for apps installed on external storage. Bug: 26471205 Change-Id: I66fdfc737fda0042050d81ff8839de55c2b4effd
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
8588bc1ef1f020bbe4a24d46874f675708149a57 |
|
07-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Add flags to requests for package UID/GIDs. This gives callers the ability to request details for missing packages. Also add annotations for userId and appId variables and start tagging their usage. Change-Id: I63d5d7f870ac4b7ebae501e0ba4f40e08b14f3f6
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
e06b4d1d9f718b9fe02980fea794a36831a16db2 |
|
06-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Consistent naming for PackageManager methods. When hidden PackageManager methods take a userId argument, they should be named explicitly with the "AsUser" suffix. This fixes several lagging examples so that we can pave the way to safely start passing flags to new methods without scary overloading. Also fix spacing issues in various logging statements. Change-Id: I1e42f7f66427410275df713bea04f6e0445fba28
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
31ffb442414bd9cf6c0225799d7d0c5409f3769d |
|
21-Dec-2015 |
Alex Klyubin <klyubin@google.com> |
No need to pass digest of AndroidManifest.xml around. When an APK is being installed, the full path to the file is occasionally passed between processes. To detect changes to the file during these handovers, the digest of the AndroidManifest.xml entry could be passed around as well. This security feature is no longer used and is no longer needed. APKs should be installed using the modern Package Installer API (android.content.pm.PackageInstaller). Bug: 24542768 Change-Id: I2762634c85448e7adcd47ffc9a5294c021e127bd
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
1e2839188fb49575b86646d3aadb355c81ef9cc5 |
|
26-Nov-2015 |
Andrei Stingaceanu <stg@google.com> |
Wire call to suspend a package Adds APIs in DevicePolicyManager and PackageManager for allowing a device admin to suspend a package. PackageManagerService sets or unsets a new PackageUserState 'suspended' setting. Terminal command to suspend/unsuspend has been added via PackageManagerShellCommand (as root). Next steps: * use the new 'suspended' setting for denying access to start app (probably in ActivityStackSupervisor) * broadcast a PACKAGE_(UN)SUSPENDED intent for launchers to pick up * remove app from recents (go further and kill it if it is running) * erase existing notifications for this app Bug: 22776576 Change-Id: I718b3498f6a53cc0c6fdfb6d15031e53ddca4353
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
2acf063da08dfff69f184c9a6a90a7a5fe60d818 |
|
25-Nov-2015 |
Svet Ganov <svetoslavganov@google.com> |
Ephemeral cookie API Add APIs for an ephemeral app to set a cookie which is a small peice of data cached longer than the app itself. This is useful for avoiding the user to login every time they use the ephemeral app. The cookie is stored after an ephemeral app is uninstalled. Normal apps or ephemeral apps upgraded to full apps can also use these APIs with the difference that once they are uninstalled the cookie is deleted. The cookie size defaults to 16KB and is configurable by a global settings which can be adjusted via gservices. Also eviction policy is time based with a default of one month and is configurable by a global setting which can be adjusted via gservices. If the cert of the app cahnges (when ephemeral is installed, uninstalled and installed again) the cooke is wiped to prevent data leaks. This cahange also adds an API for apps to know whether they run in an ephemeral mode since it this mode some APIs will not be available. Another API exposed by this change is private for the system and exposes all ephemeral apps - installed and uninstalled. Only the system can call this API. When an ephemeral app is uninstalled the system stores its name, icon, and permissions. When the app is reinstalled or a full version is installed the permissions are propagated. Change-Id: Id4a73a7750bfbabda0bfcb9bf9018d2062e94367
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
9a80e53b27cd1ca00364a30a0ad153c83000b9d2 |
|
23-Sep-2015 |
Nicolas Prevot <nprevot@google.com> |
Add more methods that take a userId to PackageManager. Add methods installPackageAsUser and installExistingPackageAsUser and deletePackageAsUser and getPackageInfoAsUser. BUG:23516394 Change-Id: I15e30d2ec45ab18c7f8c0ac02cfc617c50fedb44
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
f1b7f20bb839c96e8254ccb65398135f10fd45d9 |
|
29-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
Remove dependencies on the package installer's package name bug:22700053 Change-Id: I8540eb8577fbec84e1a67e31e1c31ba654c828a4
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
0236e6b2d614abd11678de4cec4ed67b582541ff |
|
10-Jul-2015 |
Bart Sears <bsears@google.com> |
Fix the build. Correct a typo. Change-Id: I16131cf7c0ce17fa09dedc67264e8199482cd27e
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
2bb3842a06af972888b83088a81258b237ee7bd9 |
|
10-Jul-2015 |
Svetoslav <svetoslavganov@google.com> |
Fix build Change-Id: I1b56c07aa5b85662f25158156d2c0eff115e9544
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|
490dd90c707de8426a068a90d74ec83c9c11fc83 |
|
07-Jul-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Add a default PackageManager to BridgeContext. Needed for EditText. Change-Id: I6c831467659ce814e86c13e928a2b77c14e1c139
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
|