93429757a3ab35d1db2c15ed84604a49edee55e2 |
14-Nov-2017 |
Adam Lesinski <adamlesinski@google.com> |
OMS: Only allow trusted overlays to be registered. Bug: 69383160 Test: cts-tradefed run cts -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.OverlayHostTest Change-Id: I930c11716317cff1ec485a3943d1f22f07a423df Merged-In: I930c11716317cff1ec485a3943d1f22f07a423df (cherry picked from commit 80609e584c9c6155ed3199109735ec8d16f6115c)
ackageInfo.java
ackageParser.java
|
d4ecffae67fa0dea03c581ca26f76b87a14be763 |
31-Oct-2017 |
Bryce Lee <brycelee@google.com> |
DO NOT MERGE Remove orientation restriction to only fullscreen activities. This changelist removes checks that enforce that only fullscreen, opaque activities may request orientation changes. An application may itself be compatible with the change and update their SDK level. However, it is possible they use a library that has not itself been updated and still leverages this feature for non-fullscreen activities. Fixes: 68684796 Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowTokenTests Change-Id: Ib5a60f0b660ad145d07e953e541a0a1b801aeef2 (cherry picked from commit a89b183ef9323f4426941b207e2378064b5c7de3)
ctivityInfo.java
|
d96953ad7ab13ec988585dcb93a2a3e2120b23f5 |
19-Oct-2017 |
Svet Ganov <svetoslavganov@google.com> |
Preserve ranking attrs of resolve infos for installing a feature split If an intent resolves to an activity in a fearture split not on the device we create a synthetic resolve info to involve the installer that replaces the resolve info for the missing activity. The synthetic resolve info was not inheriting the priority/preferred order/default status resulting in a different result ranking than what original resolve info would produce, hence affecting resolution. Activities in a feature split should resolve as if they are present on the device. Also when downloading a feature split we involve the instant app installer which resuls in a disabmiguation UI item "Instant app" with an instant app icon despite that in this case the synthetic resolve info is for downloading a piece of an already installed app (standard or instant). When installing a feature spluit the user should see UI as if the piece of the app would handle the intent. Test: manual bug:67710878 Change-Id: I8dd356c7b2c9742144f10e5b48daf5b28f6934ad
esolveInfo.java
|
ed54b41e3c992036db997f40178584c423c8659b |
08-Sep-2017 |
Calin Juravle <calin@google.com> |
Merge "Handle configuration splits when creating the class loader context" into oc-mr1-dev
|
da09815e2cd3d3968c66a8d52e620ee07d8204dd |
02-Sep-2017 |
Calin Juravle <calin@google.com> |
Handle configuration splits when creating the class loader context Configuration splits have no dependencies which can lead to exceptions when computing their class loader context. In general, we do not need to compute the class loader context for apks without code. This CL addresses the issue by ignoring "code" paths with no actual code. Bug: 65159159 Test: adb install-multiple config_splits runtest -x services/tests/servicestests/src/com/android/server/pm/dex/DexoptUtilsTest.java Change-Id: Ida1eb901eecba4a4266de73022f6ee4659367873
pplicationInfo.java
|
8bb58a145cad97e6004cdff87f648ea7dad84a37 |
05-Sep-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add internal implementation for notifyPackageUse" into oc-mr1-dev
|
df113c36a70474584bc9ef5bc1b3008a25fa86e0 |
01-Sep-2017 |
Todd Kennedy <toddke@google.com> |
Add internal implementation for notifyPackageUse We have checks that prevent applications from modifying the usage times of instant apps [and vice versa]. However, it's critical for internal components such as the ActivityManager to be able to upate this for all packages. Add an internal implementation of this method that skips the checks. Change-Id: Ib890296065024104cdaf7c8d64a5a7583d9062c1 Fixes: 65228752 Test: Manual. Run an application installed as an "instant app" and notice the usage time goes up
ackageManagerInternal.java
|
8f272178a00b9e5f1da7ec4e9898f50f850ed275 |
31-Aug-2017 |
Yohei Yukawa <yukawa@google.com> |
Fix wrong dump output of *Info#flags This CL follows up to a previous CL [1] that introduced an ability to control filtering level of - ActivityInfo#dump() - ApplicationInfo#dump() - ComponentInfo#dump() - ProviderInfo#dump() - ResolveInfo#dump() - ServiceInfo#dump() but also masked following outputs as an unexpected side effect. - ActivityInfo#flags - ApplicationInfo#flags - ProviderInfo#flags - ServiceInfo#flags With this CL, above *Info#flags are correctly dumped again. [1]: I0d01565babb87e68b840c9756a2ea730d699efc7 6ac42aeed905181b484f97a53db57a17134ef7a8 Test: Manually tested as follows. 1. make -j SoftKeyboard 2. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk 3. adb shell dumpsys input_method -> Check 'com.example.android.softkeyboard' section -> make sure ServiceInfo#flags=0x0 -> make sure ApplicationInfo#flags=0x38a8be44 FLAG_HAS_CODE (1<<2) FLAG_ALLOW_CLEAR_USER_DATA (1<<6) FLAG_SUPPORTS_SMALL_SCREENS (1<<9) FLAG_SUPPORTS_NORMAL_SCREENS (1<<10) FLAG_SUPPORTS_LARGE_SCREENS (1<<11) FLAG_RESIZEABLE_FOR_SCREENS (1<<12) FLAG_SUPPORTS_SCREEN_DENSITIES (1<<13) FLAG_ALLOW_BACKUP (1<<15) FLAG_SUPPORTS_XLARGE_SCREENS (1<<19) FLAG_STOPPED (1<<21) FLAG_SUPPORTS_RTL (1<<22) FLAG_INSTALLED (1<<23) FLAG_FULL_BACKUP_ONLY (1<<26) FLAG_EXTRACT_NATIVE_LIBS (1<<28) FLAG_HARDWARE_ACCELERATED (1<<29) Fixes: 65057767 Change-Id: Icd1e18237e873844791ccdea7f424b6fe76137c0
ctivityInfo.java
pplicationInfo.java
omponentInfo.java
roviderInfo.java
esolveInfo.java
erviceInfo.java
|
d1736cb2a74080ef6a1763510c6bf9a8894eb92e |
25-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Update FEATURE_VULKAN_HARDWARE_COMPUTE documentation" into oc-mr1-dev
|
54fc609183908dd1581fc069ca9683acea3729a3 |
22-Aug-2017 |
Jesse Hall <jessehall@google.com> |
Update FEATURE_VULKAN_HARDWARE_COMPUTE documentation Now that VK_KHR_variable_pointers is public, the documentation can be more precise about the definition of FEATURE_VULKAN_HARDWARE_COMPUTE level 0. Also document the maxPerStageDescriptorStorageBuffers requirement. Bug: 34745152 Test: make docs Change-Id: I0f6c088488243e4daea589d4771d10a8714f7441
ackageManager.java
|
afe28cdf7eb9c3282b1080d71369a48f62dd6971 |
24-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "StringParceledListSlice throws exception when the IPC memory threshold is exceeded" into oc-mr1-dev
|
ee580764adfcd1efbfeedb0036a0a95365c59358 |
24-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Use all certs for computing package signing sha256" into oc-mr1-dev
|
cdd685c07504223e37e7831ce592446ec4ac6f6a |
22-Aug-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Use all certs for computing package signing sha256 In several places we compute the sha256 of the app's signing certificate (instant cookie storage, backup account permission grants, static shared lib matching). It is possible that an app is singed with multiple certs which unfortunately can appear in a random order. We were using only the first certificate to compute the hash which may be problematic for apps signed with multiple certs which are later reordered. If an app update's certs are reordered for cookie storage the app would not be able to access the cookie, for account grants the app would not get the grant, and for shared libs the app would fail to install due to a missing lib. Test: all cookie CTS tests pass all static shared lib CTS tests pass added test that cookie data not lost on sha256 computation change added test that lib install works when specifying multiple certs bug:64270295 Change-Id: Ib6b55f25da735ff5c2762faf6e9b5888e749041d
ackageInfo.java
ackageParser.java
|
b7a79b47cbf3888745be2b0c33a77532dc0d2cf0 |
18-Aug-2017 |
Alexandru-Andrei Rotaru <rotaru@google.com> |
StringParceledListSlice throws exception when the IPC memory threshold is exceeded Fixed the code such that list of strings that exceed the 256KB limit can be transfered. Bug: 64833731 Test: Added unit test in ParceledListSliceTest Change-Id: I4e16708010125a444baa8fcb0af6101dc643cd38 (cherry picked from commit 2682fa70678ec79131329a6071d70c3d84c23d41)
aseParceledListSlice.java
|
e4de49140d4c74c85fd1bf4e403a625251d08dcf |
23-Aug-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Only log resolution when starting activities" into oc-mr1-dev
|
e3911753300aea359c5288233e0d29769303ac17 |
23-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Allow clearing instant app meta-data" into oc-mr1-dev
|
f935a703985a921447df023d6f91dd0bbf967d9b |
22-Aug-2017 |
Svet Ganov <svetoslavganov@google.com> |
Allow clearing instant app meta-data The package manager has an API to clear the data of an app which does not work for uninstalled instant apps for which we store some meta-data (icon, title, cookie). This change allows clearing the data of an uninstalled instant app. Test: Instant cookie CTS tests use this API bug:64517837 Change-Id: Ia929fead71b5ae786e88ddd0fa8e8a490d970dd0
ackageManagerInternal.java
|
6ebabca5471dd036914505dd0ee074c3e35f4af8 |
22-Aug-2017 |
Todd Kennedy <toddke@google.com> |
Only log resolution when starting activities Change-Id: I406af40953f3d6ade39e1bab18a35c534e308f3e Fixes: 63804529 Test: Manual. Query web intent, notice no logs are emitted Test: Manual. Start activity via web intent, notice logs are emitted
nstantAppRequest.java
|
1327cdc53de0d557bddeac8dabd07a2d197def3b |
18-Aug-2017 |
Bryce Lee <brycelee@google.com> |
Merge "Don't resume activity if user is locked and encryption is unsupported" into oc-mr1-dev
|
48e931659f811b31a5187c978422d398cc6bda2e |
18-Aug-2017 |
Makoto Onuki <omakoto@google.com> |
Avoid potential reboot loop due to package cache Bug: 64295061 Test: Boot (write package cache) and reboot (read package cache) Change-Id: I5de712c9666bac71ff6121001163ebc90c4b62d0
ackageParser.java
|
8558ec7dbe7733a36b621b24309e7a9dd9deec8c |
18-Aug-2017 |
Bryce Lee <brycelee@google.com> |
Don't resume activity if user is locked and encryption is unsupported Previously we were not checking if to see if this condition was met when determining the top running activity. As a result we could get in a loop where we force stop the process since the app doesn't support encryption yet try to start it again due to the ActivityRecord being on top. This changelist addresses the issue by checking this condition when determining whether it is okay to show. Change-Id: I868f97ce8b3ea4220019b8570407e33f27ea88bc Fixes: 64259425 Test: go/wm-smoke
pplicationInfo.java
|
9c43a779711c781b73db002d9f576af82988de42 |
16-Aug-2017 |
Kevin Hufnagle <khufnagle@google.com> |
Merge "docs: Updated ShortcutManager API reference guide." into oc-dev am: 80376a98a5 am: d6d6d2cf79 Change-Id: I63af60b006618bdd8bb74d351f9c17432f411b63
|
d6d6d2cf797c481c9acfceea4b65bf43af934443 |
16-Aug-2017 |
Kevin Hufnagle <khufnagle@google.com> |
Merge "docs: Updated ShortcutManager API reference guide." into oc-dev am: 80376a98a5 Change-Id: Iae8814e722f7861ecd96980d16c06a676c6ad1dc
|
ef2e7d27aecf5f1f86171ffe77c98b14bdaa4f6d |
15-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Change protection level from ephemeral to instant" into oc-mr1-dev
|
d57287be19ec9db9eca1e72f8ae69d677a3a1b88 |
15-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Hide internal value" into oc-mr1-dev
|
c2e09129e0924b742794dc841d49b8a711f93094 |
12-Aug-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Remove a bunch of deprecated @SystemApi." into oc-mr1-dev
|
877e979b108f4fde20c73035c125a445e5b23269 |
02-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Hide internal value Change-Id: I208b46fa3901e3fe9c1157d75898996024854f2f Fixes: 62264034 Test: Manual
nstantAppResolveInfo.java
|
c247fa136639dd07278b1954e5fba78ade60614c |
02-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Change protection level from ephemeral to instant Change-Id: If4b01e5f0728f1d1d7e6903b362dcbedc67a9b3f Fixes: 62264194 Test: Manual. install an instant app and see that it still works
ackageParser.java
ermissionInfo.java
|
6561f067bb0cf574342874a5154f64222c3c637d |
11-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Promoting installExistingPackage to SystemApi" into oc-mr1-dev
|
3df6be78754bdd379bdd90e3b07fa7e07e5f983b |
11-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Reland: PackageManager: update documentation for FEATURE_WIFI_PASSPOINT" into oc-mr1-dev
|
8478911f5e9b066e2f68cdbeea9164d860be53a2 |
11-Aug-2017 |
Jeff Sharkey <jsharkey@android.com> |
Remove a bunch of deprecated @SystemApi. Verified that nobody should be using these APIs, and they've been deprecated long enough that we can remove them. Bug: 62341924, 62263907, 62264550 Test: make -j32 update-api && make Change-Id: I9a2333ca13e4984b71374aa7ffed081e5106c67e
phemeralIntentFilter.java
phemeralResolveInfo.java
|
5cb2d64b9b83bfce8f8f4f3dacbd434ab9e09f7e |
10-Aug-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Fix handling of @removed APIs." into oc-mr1-dev
|
af706b40de30a8623e18a585dfac35cc8b8a4be8 |
10-Aug-2017 |
Narayan Kamath <narayan@google.com> |
Merge "PackageParser: Parse android:classLoader during the full parse." into oc-mr1-dev
|
c75f43c1ab9aac7a0c791f24462c26161dc41296 |
10-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Go: add features for low ram / normal ram devices." into oc-mr1-dev
|
2a103f126f7c9cce9e367c10592a07072244438e |
09-Aug-2017 |
Dianne Hackborn <hackbod@google.com> |
Go: add features for low ram / normal ram devices. Automatically populated from ActivityManager.isLowRamDevice(). Test: manual Change-Id: I027b8ae0205c9793a91ffdd2635479610a62aff9
ackageManager.java
|
478f94ba7fbe6fca03de1a3817a8bd93e95466e3 |
10-Aug-2017 |
Garry Boyer <gboyer@google.com> |
Merge "Revert multi-package APK flag to off." into oc-mr1-dev
|
f52db085e2e2e6279c83de9a3aeb774decd18513 |
09-Aug-2017 |
Jeff Sharkey <jsharkey@android.com> |
Fix handling of @removed APIs. The @removed docs tag means that a particular API should be considered as removed from the API surface area that it otherwise would have been exposed through. This set of CLs is fixing a bug where we @removed had been treated as always removing from the public API. Bug: 62341924 Test: make -j32 update-api Change-Id: I336b2df4804e947a0b93a12269d6e7c5594eef7e
ackageManager.java
haredLibraryInfo.java
|
e551d361ac960f0f0e87c85d6975a994f8dbd1f0 |
09-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Allow applications to define failure handlers" into oc-mr1-dev
|
96c11c58c9ba1f90a4aace44912711bbce77ad0f |
09-Aug-2017 |
Narayan Kamath <narayan@google.com> |
PackageParser: Parse android:classLoader during the full parse. There's no need to do this during a "lite" parse. Moreover, we don't resolve resource references during a lite parse, which means that we lose a lot of flexibility. Test: CtsAppSecurityTestCases Bug: 64339642 Change-Id: I7d02faab6bd226d96d63d2edd8c06b94e15e14ad
ackageParser.java
|
07f41fb67e3e099e6dd5491f0f236bcc71779ec8 |
09-Aug-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Promoting installExistingPackage to SystemApi Bug: 38269105 Test: N/A Change-Id: If45076b00e91cd4cc8a887b0f36d427d8a5cdaf3
ackageManager.java
|
a530d79209a19b6b7833a3c795608713d4fad729 |
09-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Intern process names." into oc-mr1-dev
|
81021c77c842323a5b7aff0693b686300f4bd36f |
09-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes from topic 'ClosebySystem' into oc-mr1-dev * changes: Allow to close session from wrong context. Prevent closing by prev owner after transfer. Revert "Revert session-transfer change"
|
6bf2990e28307502dfca5c567a4608c9c17cdf0d |
09-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add virtual preload bit to ApplicationInfo" into oc-mr1-dev
|
d0084f75837c145466fe26016b09c59b7b270c02 |
28-Jul-2017 |
Todd Kennedy <toddke@google.com> |
Allow applications to define failure handlers Fixes: 37956764 Test: Manual Test: Create a test app with no handler, see it's not passed to the installer Test: Create a test app with a handler, see it's passed to the installer Test: Create a test app with multiple handlers, see one is passed to the installer Test: Create a test app with a handler defined in a split, see it's not passed to the installer Change-Id: Idfc3648154afca7ec300019d9695417274118d6f
uxiliaryResolveInfo.java
|
812d188afbb6286d6be3e3ad883cfdd31967c266 |
07-Aug-2017 |
Makoto Onuki <omakoto@google.com> |
Intern process names. Bug: 62144301 Test: Boot and start random apps on a secondary user Change-Id: I8a9b475410c52e1063cff5519b0297ad69dd7925
ackageParser.java
|
5eb5a7db835a7b152690410e03f3d3a8baacde33 |
01-Aug-2017 |
Todd Kennedy <toddke@google.com> |
Add virtual preload bit to ApplicationInfo Change-Id: I2735b3823a8709b2ffb65cc8085ffcd952d3e1f2 Fixes: 64205417 Test: Manual Test: Create a sample app and install it as a normal app Test: See that it returns 'false' for "isVirtualPreload" Test: Create a sample app and install it as a virtual preload ["--preload"] Test: See that it returns 'true' for "isVirtualPreload" Test: Run sample apps after reboot and see they return the correct value
pplicationInfo.java
ackageParser.java
ackageUserState.java
|
7460c5917b47a5ba183517b5459c254130fc85b5 |
08-Aug-2017 |
Philip P. Moltmann <moltmann@google.com> |
Revert "Revert session-transfer change" This reverts commit 9890f8b426550485aaab164a7bedbcd545862b85. Bug: 64467704 Test: cts-tradefed run singleCommand cts-dev -m CtsContentTestCases --test=android.content.pm.cts.InstallSessionParamsUnitTest cts-tradefed run singleCommand cts-dev -m CtsContentTestCases --test=android.content.pm.cts.InstallSessionTransferTest Change-Id: I0cc7e1129d85e4d0de16ade44232a9bd381d6c04
PackageInstallerSession.aidl
ackageInstaller.java
|
7bec053dffb90f7cd0e39eec7f56fb33d847c3eb |
08-Aug-2017 |
Philip P. Moltmann <moltmann@google.com> |
Merge "Revert session-transfer change" into oc-mr1-dev
|
9890f8b426550485aaab164a7bedbcd545862b85 |
08-Aug-2017 |
Philip P. Moltmann <moltmann@google.com> |
Revert session-transfer change This reverts: 5d74493f64493cd506d7458b810095259287f623 94deaf7725c418ec1950d810ab86f0d157ddf518 Bug: 64467704 Test: none, 100% revert Change-Id: I6534c19c594dadfa41457725988485a67f0ed45f
PackageInstallerSession.aidl
ackageInstaller.java
|
8c18e1faf8020d55a08b1a9094202e91c621babe |
08-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add native bindings for getNamesForUids" into oc-mr1-dev
|
3d615e4568fc649c56affcb6d1ce3322cf3cc7b6 |
07-Aug-2017 |
Peter Qiu <zqiu@google.com> |
Reland: PackageManager: update documentation for FEATURE_WIFI_PASSPOINT Bug: 64331342 Test: make checkbuild Change-Id: I92728a4076d319431a102da3b095f560c11f4947
ackageManager.java
|
e7cbfa995d32b0480942af90db0c05128dc0d152 |
05-Aug-2017 |
Kevin Hufnagle <khufnagle@google.com> |
docs: Updated ShortcutManager API reference guide. The guide now contains supplemental, rather than duplicate, information relative to the "App Shortcuts" guide, available at https://developer.android.com/guide/topics/ui/shortcuts.html Test: make ds-docs -j8 Bug: 64401518 Change-Id: Iefa34299a9765eb5d853da71d9197a0edb346026
hortcutManager.java
|
fdaad1380348370adaad0656d14bc2a278fc4748 |
08-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes from topic 'TransferInstallSession-oc-mr1-dev' into oc-mr1-dev * changes: Allow to read all params used to create session. Allow to transfer+seal a install session
|
476725d0111d615a2acaaa8750bd4ae9ee2a0a61 |
01-Aug-2017 |
Garrett Boyer <gboyer@google.com> |
Revert multi-package APK flag to off. Disable tests when multi-package APK is disabled. Test: Ran framework tests with flag both on and off. Change-Id: I0aae693816af06eebe1bc6cdeebf8dad4c179260 (cherry picked from commit 17041530bfa8199414b8480691303739b30126b4)
ackageParser.java
|
50354046acfd5016944c04d1d70acad7f318259d |
07-Aug-2017 |
Peter Qiu <zqiu@google.com> |
Revert "PackageManager: update documentation for FEATURE_WIFI_PASSPOINT" This reverts commit 84933321668c79202de39ea491329f7234ce6ee5. Change-Id: Ibecf24689952d4888269863ff02d8c97e14a0c31
ackageManager.java
|
5d74493f64493cd506d7458b810095259287f623 |
03-Aug-2017 |
Philip P. Moltmann <moltmann@google.com> |
Allow to read all params used to create session. So that they can be verified by the app calling commit(). This really only makes sense if the app calling commit is different from the app that created the session. Bug: 37281396 Test: cts-tradefed run cts-dev -m CtsContentTestCases --test=android.content.pm.cts.InstallSessionTransferTest Installed and uninstalled packages via the PackageInstaller app Change-Id: I5c954ca59b7582555bea847f3ddbba0aeefba301
ackageInstaller.java
|
94deaf7725c418ec1950d810ab86f0d157ddf518 |
19-Jul-2017 |
Philip P. Moltmann <moltmann@google.com> |
Allow to transfer+seal a install session ... so that one package can supply the data and another one can issue the commit. Also allow reading of sealed sessions. Also lock more in PackageInstallerSession so that we can be sure the session is not used by the old package anymore once transferred and that all calls into the session work on consistent data. Bug: 37281396 Test: cts-tradefed run cts-dev -m CtsContentTestCases --test=android.content.pm.cts.InstallSessionTransferTest Installed and uninstalled packages via the PackageInstaller app Installed and uninstalled packages via the Google Play Store Change-Id: Id4b7a0071d703b7d18c9f5bf2bd15ebf67086d07
PackageInstallerSession.aidl
ackageInstaller.java
|
4501c61d65f0590bdc4e6a8a6f3a1b0cf2165b9f |
28-Jul-2017 |
Makoto Onuki <omakoto@google.com> |
Reduce duplicate strings due to the package cache. Change from the previous attempt: - Fixed the helper class. The original version had a few bugs. - Bundle.readFromParcel() now handles a Parcel with a read-write helper properly. ** Comparison ** The following charts are the actual measurement with and without the fix, using "dumpsys system". - The red bar is "total private dirty". - The X axsis is time since boot. Without fix: - #1 First boot: -- https://docs.google.com/spreadsheets/d/1CbmU8cQQQw7n7tyqbZi3beRHNuzqcmJgdvzDpi40Q1I/edit#gid=1971317391 -- Private dirty stabilizes at ~16.8M. -- Loading system packages took 1.8 seconds. - #2 Second boot: -- https://docs.google.com/spreadsheets/d/1CbmU8cQQQw7n7tyqbZi3beRHNuzqcmJgdvzDpi40Q1I/edit#gid=982210726 -- Private dirty stabilizes at ~17.5M. -- Loading system packages took 0.5 seconds. With fix: - #3 First boot: -- https://docs.google.com/spreadsheets/d/1R6lL0AnAp93HnrqWujJFNgOjj6wvGicgDlbDAevbc3g/edit#gid=791764875 -- Private dirty stabilizes at around the same level as #1. -- Loading system packages took 1.9 seconds. - #4 Second boot: -- https://docs.google.com/spreadsheets/d/1CbmU8cQQQw7n7tyqbZi3beRHNuzqcmJgdvzDpi40Q1I/edit#gid=1820894299 -- Private dirty stabilizes at around the same level as #1. -- Loading system packages took 0.7 seconds. Package manager start up time with and without the fix: - (Ignored ones that are too fast; probably the thermal throttling didn't kick in.) - https://docs.google.com/spreadsheets/d/1CbmU8cQQQw7n7tyqbZi3beRHNuzqcmJgdvzDpi40Q1I/edit#gid=499396796 - Before: 3.5 seconds (average of 5 reboots) - After: 3.6 seconds (average of 5 reboots) Package scan speed comparison: - With the fix, first boot. 08-03 08:49:56.851 1000 779 779 I PackageManager: Finished scanning system apps. Time: 2133 ms, packageCount: 143 , timePerPackage: 14 , cached: 0 08-03 08:49:56.971 1000 779 779 I PackageManager: Finished scanning non-system apps. Time: 121 ms, packageCount: 11 , timePerPackage: 11 , cached: 0 - With the fix, second boot. 08-03 08:53:29.387 1000 779 779 I PackageManager: Finished scanning system apps. Time: 484 ms, packageCount: 143 , timePerPackage: 3 , cached: 143 08-03 08:53:29.424 1000 779 779 I PackageManager: Finished scanning non-system apps. Time: 37 ms, packageCount: 11 , timePerPackage: 3 , cached: 11 ** Conclusion ** - This CL wil slightly slow down the boot time (0.2 seconds on a thermal-throttled bullhead), but the system server's ram consumption will go down to the no-cache level. - Using the package cache is still faster than not using it. Test: build, boot, reboot, adb-install, reboot Test: bit FrameworksCoreTests:android.content.pm.PackageParserTest Test: bit FrameworksServicesTests:com.android.server.pm.PackageParserTest Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsOsTestCases -t android.os.cts.BundleTest Bug: 64112468 Change-Id: I30691a032cb1dd1c7f6c1966a096c2f0d07a09cb
ackageParser.java
ackageParserCacheHelper.java
|
ad192a392bb51dc71863eab61cb8d415fef4d54f |
02-Aug-2017 |
Todd Kennedy <toddke@google.com> |
Add native bindings for getNamesForUids A new API [getNamesForUids] was recently added to the PackageManager and this API needs to be accessible to native code. However, there were two constraints: 1) Instead of hand-rolling the binder, we wanted to auto generate the bindings directly from the AIDL compiler. 2) We didn't want to expose/annotate all 180+ PackageManager APIs when only a single API is needed. So, we chose to create a parallel API that can be used explicitly for native bindings without exposing the entirety of the PackageManager. Bug: 62805090 Test: Manual Test: Create a native application that calls into the new service Test: See the call works and data and returned Change-Id: Ia571ab1607c6c88fef44eb0de6a313a28906c732
PackageManager.aidl
|
84933321668c79202de39ea491329f7234ce6ee5 |
04-Aug-2017 |
Peter Qiu <zqiu@google.com> |
PackageManager: update documentation for FEATURE_WIFI_PASSPOINT Bug: 64331342 Test: build Change-Id: I94937e8ff921b01c62e6b478b3ee6e581e38408e
ackageManager.java
|
623fbea979cfb477090612d16c8fd30bd62b7589 |
03-Aug-2017 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Fix NPE when reading icon for removed session." into oc-dr1-dev am: 65abebbadd Change-Id: I6ef312422ea84b352f8d07a9937c64394b14776a
|
d1dd2c662e51f104f1c21809f209096106855a77 |
02-Aug-2017 |
Jeff Sharkey <jsharkey@android.com> |
Fix NPE when reading icon for removed session. The underlying session may have been destroyed before we go back to read out the icon. Test: builds, boots Bug: 63795821 Change-Id: I16eb32c74a0e3b1d0605392878d65f28437006a6
ackageInstaller.java
|
5e049eb884d371ba54f084a63a707133b4d3a828 |
02-Aug-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Add new API to retrieve app names in a batch" into oc-mr1-dev
|
cd0d29e9fc5f904c962d4a1b8912d14613f31d2a |
01-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Log package parse timings" into oc-mr1-dev
|
565cab11ff5b45f2f729e48fe9784f7efb4199ee |
01-Aug-2017 |
Calin Juravle <calin@google.com> |
Merge changes from topic 'class-loaders-mr1' into oc-mr1-dev * changes: Use the class loader context when optimizing secondary dex files Add DexClassLoader to the list of supported class loaders
|
f6764fb7f7a26e202b1ebb861e095979b0f9560a |
01-Aug-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Revert "Reduce duplicate strings due to the package cache."" into oc-mr1-dev
|
28a988f7d5ae6865dcdf2f88d74c7aa04998a345 |
01-Aug-2017 |
Fyodor Kupolov <fkupolov@google.com> |
Log package parse timings Log time it takes to parse a package (parse=) and update the cache (update_cache=), if time exceeds 100ms threshold. This can be useful for analyzing bugreports of slow PM init post-OTA. Test: manual Bug: 62462279 Change-Id: I4099b21fae6a5db8c8f1cbc2147a33b9ee51767a
ackageParser.java
|
63e624a61ed3ba3a2d003b5249c46100e0fe68b1 |
01-Aug-2017 |
Makoto Onuki <omakoto@google.com> |
Revert "Reduce duplicate strings due to the package cache." The pool is just broken.... I need to fix it and re-evaluate. This reverts commit e86a29c6e60a58ad42aeaa990d8ba665964dbe31. Change-Id: I296df71e76ffff1d1d0fc8a50e3493e20c124a7b
ackageParser.java
ackageParserCacheHelper.java
|
9da8b8a7fc8c68c17e1bf8cce24e2f73abe5138e |
26-Jul-2017 |
Todd Kennedy <toddke@google.com> |
Add new API to retrieve app names in a batch Change-Id: I57e5c132bc58a32d70007a7a105775b526ff7bb9 Fixes: 62805090 Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.pm.cts.PackageManagerTest#testGetNamesForUids_null Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.pm.cts.PackageManagerTest#testGetNamesForUids_empty Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.pm.cts.PackageManagerTest#testGetNamesForUids_valid
PackageManager.aidl
ackageManager.java
|
bb77e6c689b70f6e6a1807cfffaa2d7197b8d12c |
31-Jul-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Reduce duplicate strings due to the package cache." into oc-mr1-dev
|
e86a29c6e60a58ad42aeaa990d8ba665964dbe31 |
28-Jul-2017 |
Makoto Onuki <omakoto@google.com> |
Reduce duplicate strings due to the package cache. The following charts are the actual measurement with and without the fix, using "dumpsys system". - The red bar is "total private dirty". - The X axsis is time since boot. Without fix: - First boot: https://docs.google.com/spreadsheets/d/1R6lL0AnAp93HnrqWujJFNgOjj6wvGicgDlbDAevbc3g/edit#gid=0 Private dirty stabilizes at ~16.8M. - Second boot: https://docs.google.com/spreadsheets/d/1R6lL0AnAp93HnrqWujJFNgOjj6wvGicgDlbDAevbc3g/edit#gid=1918404197 Private dirty stabilizes at ~17.8M. With fix: - First boot: https://docs.google.com/spreadsheets/d/1R6lL0AnAp93HnrqWujJFNgOjj6wvGicgDlbDAevbc3g/edit#gid=791764875 Private dirty stabilizes at ~17.0M. - Second boot: https://docs.google.com/spreadsheets/d/1R6lL0AnAp93HnrqWujJFNgOjj6wvGicgDlbDAevbc3g/edit#gid=1820894299 Private dirty stabilizes at ~17.0M. Test: build, boot, reboot, adb-install, reboot bit FrameworksCoreTests:android.content.pm.PackageParserTest Bug: 64112468 Change-Id: I5ae9c1b2d021fe62526d4e0dd1a52a962b48206e
ackageParser.java
ackageParserCacheHelper.java
|
84fa183e7d8a2126f460013355912fd7c1907747 |
28-Jul-2017 |
Bryce Lee <brycelee@google.com> |
Merge "Remove rotation and app bounds from Configuration diff." into oc-dr1-dev am: 5b76ce1b2b Change-Id: Ibf899e9a08cdab31ae38897add813fc4c8089474
|
5b76ce1b2b9ae7bcaab7f51ad6a75bd946699023 |
28-Jul-2017 |
Bryce Lee <brycelee@google.com> |
Merge "Remove rotation and app bounds from Configuration diff." into oc-dr1-dev
|
899f54da720011d02c802958c232e1baa2941378 |
28-Jul-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Report permission flags for all protections based on SDK am: adb8c522a8 am: 436b901dbb Change-Id: Ibe7cecd60242f1895434d586af30c2081d451f0b
|
436b901dbb67d580468d0f78a95faffa40d74f64 |
28-Jul-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Report permission flags for all protections based on SDK am: adb8c522a8 Change-Id: Ia30269ec2097d5978ae3e0b3930a38b3f4441ea4
|
0e4a6dfb3facd926a6424b4274bcab9b9734307c |
27-Jul-2017 |
Bryce Lee <brycelee@google.com> |
Remove rotation and app bounds from Configuration diff. The presence of these new flags leads to issues with application that do not expect their presence. Since these flags can appear at critical times, such as on orientation change, these issues are brought to the surface often. This CL remedies this problem by first removing the rotation property. It is not used and the original issue of orientation and Configuration alignment has been addressed. For app bounds, the CL reverts the behavior back to identifying diffs as a screen size change. Fixes: 64004417 Test: bit FrameworksServicesTests:com.android.server.wm.AppBoundsTests Test: go/wm-smoke Change-Id: I1fabb564dfb5c13d897336708523cf7cd5099fa0
ctivityInfo.java
|
adb8c522a84b5c7531b009b7a8d4c854ca7dee08 |
28-Jul-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Report permission flags for all protections based on SDK We added a couple of protection flags that also apply to normal and dangerous permissions. These flags are folded in the protection level breaking apps that directly and compare against the protection constants. Apps that target older than O SDK don't get protection flags folded into the protection level. Test: All permission tests pass Added a new test to ensure no protection flags reported for normal and dangerous permissions Change-Id: I87b10a7695d8ecfa7156525d6f3d101fc0639513 bug:62755026
PackageManager.aidl
|
7a8044dc6717c11c0db3fe12a6d91eedbd62a567 |
28-Jul-2017 |
Bart Sears <bsears@google.com> |
Revert "Report permission flags for all protections based on SDK" am: 784b56e1e6 am: 076d6f7669 Change-Id: I6034405a465919b5e4fc75b4eb109b6ae5259fe0
|
076d6f76698b90903496c8da55cc7bfc72fd72c3 |
28-Jul-2017 |
Bart Sears <bsears@google.com> |
Revert "Report permission flags for all protections based on SDK" am: 784b56e1e6 Change-Id: Ice7dde53c5613f48d013424a7e99203fd854e532
|
784b56e1e64049d3bf81b7d8fa8c1ae3408c5886 |
28-Jul-2017 |
Bart Sears <bsears@google.com> |
Revert "Report permission flags for all protections based on SDK" This reverts commit 852cf98cb8a4b9b56da84a96708c087996e119d2. Change-Id: I62763bf85ec95a02a245c6b503aa34bb0e9d997a
PackageManager.aidl
|
2dfbbb3aa460fd01719eec1b42219e0715f02e2e |
28-Jul-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Report permission flags for all protections based on SDK am: 852cf98cb8 am: 3cf283558a Change-Id: Iba5b20a777e4cf8953b73e523f25175d7b274a34
|
3cf283558a4f05cca01af4bb8de71b411995146e |
28-Jul-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Report permission flags for all protections based on SDK am: 852cf98cb8 Change-Id: I6e87c8f40fa466f2a50f41549be41ea4fb598824
|
852cf98cb8a4b9b56da84a96708c087996e119d2 |
27-Jul-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Report permission flags for all protections based on SDK We added a couple of protection flags that also apply to normal and dangerous permissions. These flags are folded in the protection level breaking apps that directly and compare against the protection constants. Apps that target older than O SDK don't get protection flags folded into the protection level. Test: All permission tests pass Added a new test to ensure no protection flags reproted for normal and dangerous permissions bug:62755026 Change-Id: I72547b0146e6b6919803e33ff64b7208c4a255ad
PackageManager.aidl
|
2a896e9074290d36372bd9d341ffb6e427305791 |
27-Jul-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Add cross user permission checks" into oc-mr1-dev
|
d6a2ed194c474d1894a53636353760120c8a11d7 |
26-Jul-2017 |
Bryce Lee <brycelee@google.com> |
Merge "Do not report app bound differences as a Configuration change." into oc-dr1-dev am: 512e5d1b9b Change-Id: If5c2ce81a92d751c3481d7613611b9373060f78a
|
94902c46ba7684c938422a086a47cd101c803a1d |
26-Jul-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "compressed images on system partition" into oc-mr1-dev
|
f1ff36f0f99ebb41d0c7e0f3248506a56998fa3f |
22-Jul-2017 |
Calin Juravle <calin@google.com> |
Use the class loader context when optimizing secondary dex files Record the class loader context for secondary dex loads and pass it to dexopt during compilation. The class loader context is passed from libcore every time a BaseDexClassLoader is created and its recorded in the package dex usage file. Note that the context may be: - unknown: if the dex file was not use after the the upgrade and its context was not yet updated - unsupported: if any of the class loaders from the loading context is unsupported (only PathClassLoader and DelegateLastClassLoader are supported). - variable: if it changes over time, form one run to another. In all the above cases the old compilation behavior is preserved for now.(i.e. the dex file with be compiled with SKIP_SHARED_LIBRARY_CHECK) Bug: 38138251 Test: runtest -x services/tests/servicestests/src/com/android/server/pm/dex/ adb shell cmd package compile -f -m quicken ^Csecondary-dex com.google.android.gms (cherry picked from commit 3bec94d78b0a66c4fa5cebd851ea33bcc51916b0) Change-Id: Ie8b78c7c0d5de43733b3d116f8dcb3a65324cca8
PackageManager.aidl
|
600daddb679e356f5767a9e898751cc4c1cba3b4 |
25-Jul-2017 |
Bryce Lee <brycelee@google.com> |
Do not report app bound differences as a Configuration change. App bounds are an internal Configuration field and should not influence the diff that determines whether the Configuration has changed. This changelist ensures this by introducing a new flag that is identified server side and filtered before informing the client that the configuration has changed. Change-Id: Ibf1387f73eaa9b39e6213e1a1109c4cd57554e7c Fixes: 63927944 Test: bit FrameworksServicesTests:com.android.server.wm.AppBoundsTests#testAppBoundsConfigurationDiff Test: go/wm-smoke
ctivityInfo.java
|
7c8addfef09c118c5052c9a9e9f8f83a61044870 |
27-Jun-2017 |
Todd Kennedy <toddke@google.com> |
compressed images on system partition Change-Id: I43c8c331883b5b381fb0f133fff448f3a57d0fe5 Bug: 36446542 Test: Manual Test: Create a stub and a compressed application; put on the /system partition Test: Restart the system and see that it decompresses the full application onto the /data partition Test: Restart again and see that we skip decompression Test: Create an invalid compressed application [eg. empty file] Test: Restart the system and see that the stub is disabled Test: Restart again and see that we skip decompression
ackageInfo.java
ackageParser.java
|
78a72501af2e874868c6885d5af4f9253ce92255 |
19-Jul-2017 |
Todd Kennedy <toddke@google.com> |
Add API for virtual preloads Virtual preloads are applications that aren't actually on the /system partition, but, act as if they were. One such distinction is that these apps receive Intent.ACTION_BOOT_COMPLETED and start out of the stopped state. Change-Id: I812d3e7008b9d87e84aa33dbc4b3d8e8b334533c Fix: 34855677 Test: Manual Test: Install an app with "--preload" Test: See that it receives Intent.ACTION_BOOT_COMPLETED
ackageInstaller.java
ackageManager.java
|
dbaef6dc62507b0e0623e76882e31e68413d469d |
24-Jul-2017 |
Todd Kennedy <toddke@google.com> |
Add cross user permission checks Change-Id: I5d46248fafe52dea66a33c416fbe151776b73679 Fixes: 62348076 Test: Manual
ackageManager.java
|
b6f844d28cc7a7bf2b477a904263fcbe9b26d2c4 |
18-Jul-2017 |
Calin Juravle <calin@google.com> |
Add a command line option to optimize individual splits The new option is "--split SplitName" and applies to "adb shell cmd package compile" command. Usage example: adb shell cmd package compile -m speed --split split_feature_a.apk com.android.cts.classloadersplitapp Bug: 38138251 Test: adb install-multiple CtsClassloaderSplitApp.apk CtsClassloaderSplitAppFeatureA.apk CtsClassloaderSplitAppFeatureB.apk adb shell cmd package compile -m speed --split split_feature_a.apk com.android.cts.classloadersplitapp check the status of split_feature_a runtest -x services/tests/servicestests/src/com/android/server/pm/dex/DexoptOptionsTests.java Change-Id: I579bb12fa6699f99cd3824f185bd9352fb8007c5
PackageManager.aidl
|
1d0e83d2cee794ba576d573119e826905a4422cd |
18-Jul-2017 |
Calin Juravle <calin@google.com> |
Refactor the arguments passed to dexopt invocations Wrap the arguments passed to the various performDexopt calls into the DexoptOptions object. This will make adding extra arguments (like compile only a split) much easier and avoid extending quite a few internal methods. Bug: 38138251 Test: adb shell cmd package compile .... adb shell cmd package bg-dexopt-job ... install new apps and check that they compiled runtest -x services/tests/servicestests/src/com/android/server/pm/dex/DexoptOptionsTests.java Change-Id: Ia9930edd2dceb7535d6168eceb8e3199c82b6306
PackageManager.aidl
|
e75643d5421e0b522cefa2a089c27ab8ef4d9b89 |
18-Jul-2017 |
Rob Carr <racarr@google.com> |
Merge "Fix rotation animation selection." into oc-dr1-dev am: cee8098178 am: 228571391e Change-Id: Idd2a3c23233f0758cc96a55da97b99c6ee8a7c94
|
cee8098178776bcfa575e27f6e9b6253e8e68b73 |
18-Jul-2017 |
Rob Carr <racarr@google.com> |
Merge "Fix rotation animation selection." into oc-dr1-dev
|
0b1a7a35b5b66be732555e140441f9e679b89337 |
18-Jul-2017 |
Shubham Ajmera <shubhamajmera@google.com> |
Merge "Reduce app size by downgrading inactive apps"
|
e60bef0924cf65753fdc90552b9a86db9e2caddc |
18-Jul-2017 |
Paul Duffin <paulduffin@google.com> |
Merge "Separate android.test.mock classes from android.test.runner"
|
427ba4ff55b2d90ecbe779f7b745a0da4796d496 |
18-Jul-2017 |
Robert Carr <racarr@google.com> |
Fix rotation animation selection. The default manifest value needs to be unspecified, not rotate, as rotate overrides the LayoutParams specified value. Bug: 63151981 Test: Manual from bug. go/wm-smoke. Change-Id: I2ad6e3fdd06eeef0166bbe09d07b57cc45ed6e50
ackageParser.java
|
246dccf9327631597767afe418ce43ae6d07d102 |
25-May-2017 |
Shubham Ajmera <shubhamajmera@google.com> |
Reduce app size by downgrading inactive apps This will trigger when the device will have low space. Active apps here refer to the apps which were either active in foregrond or in background and also used by other packages. Apps which are inactive for X days downgraded to verify. X is determined by sysprop pm.dexopt.unopt_after_inactive_days If the system properties are not set, no effect will take place. The above operations will take place in background dexopt service. If user uses the app again, it will again be speed-compiled when background dexopt service starts next time. Bug: 36598475 Test: manual * Remove the check in the code that allows downgrade only when the space is low on the device. * adb root * Set pm.dexopt_unopt_after_inactive_days to 600 * Make sure the current time of the device is correctly set * Install 2 non system apps - B, C * Downgrade B to extract * Upgrade a system apps to speed-profile - E * Downgrade a system app to quicken - G * adb shell cmd package bg-dexopt-job Expected Results: * Extract - B * Verify - C * There should not be any entries for apps E an G in dalvik_cache Change-Id: I68f9f617d6722a7ba8b00aa2181cb38a165cfc51
PackageManager.aidl
|
c956914d091e1bc04b14df7b70a3813426b7ff58 |
18-Jul-2017 |
Benjamin Miller <benjaminmiller@google.com> |
Merge "Docs-change: clarification of LauncherApps.getApplicationInfo()" into oc-dev am: d726ff988c am: 8322920a7c am: eb3926819a Change-Id: Ie1b099141194525571553f46f12d7fa0e305779d
|
8322920a7ce5ae8f1ca0224dd038d98f9b55d6f5 |
18-Jul-2017 |
Benjamin Miller <benjaminmiller@google.com> |
Merge "Docs-change: clarification of LauncherApps.getApplicationInfo()" into oc-dev am: d726ff988c Change-Id: I42a62feffca60e8beb75e991ea0b6545a2813233
|
7afa84c37344f310a1c908f9ee29871e2cb40924 |
17-Jul-2017 |
Benjamin Miller <benjaminmiller@google.com> |
Docs-change: clarification of LauncherApps.getApplicationInfo() Staged at: go/dac-stage/reference/android/content/pm/LauncherApps.html#getApplicationInfo(java.lang.String, int, android.os.UserHandle) Test: make ds-docs and output staged Bug: 38024981 Change-Id: I9f256d675433457b7c85fa111ed87d1147f1f2bc
auncherApps.java
|
855d702cb78f81abbf2a541f01afeacf280d5621 |
10-Jul-2017 |
Paul Duffin <paulduffin@google.com> |
Separate android.test.mock classes from android.test.runner The android.test.runner library contained classes in the android.test.mock. Those classes have been extracted into a separate android.test.mock library but are still part of the android.test.runner library. This change removes them from the android.test.runner library. The PackageParser change ensures that applications which specify <uses-library android:name="android.test.runner"/> still see the same set of classes at runtime as they did before this change. The logic for updating the Package to maintain backwards compatibility was extracted into its own class for a number of reasons: * PackageParser is already huge. * It is easier to test in separate class. * It reduces potential for conflicts. Bug: 30188076 Test: cts/tests/signature/runSignatureTests.sh CtsAndroidTestRunnerCurrentApiSignatureTestCases Change-Id: I19042b3f9ffff8bf0f8437db7bb8341c703e4244 Remove android.test.mock classes from android.test.runner Bug: 30188076 Test: cts/tests/signature/runSignatureTests.sh CtsAndroidTestRunnerCurrentApiSignatureTestCases Change-Id: I8ddbdb0bda7bef8858202bc085881af14d7f0c92
ackageBackwardCompatibility.java
ackageParser.java
|
e83dbb90fa03173e80fba7de44adab9c023b93e6 |
13-Jul-2017 |
Tomasz Wasilczyk <twasilczyk@google.com> |
Merge "Publish new Broadcast Radio APIs."
|
8f18579afe6f24b737b2d08229e9af47a815b410 |
13-Jul-2017 |
Bryce Lee <brycelee@google.com> |
Merge "Do not use rotation as indicator to relaunch from config change." into oc-dr1-dev am: fa62d79a02 am: b3d51770d1 Change-Id: I267b6be7a95c19b927e8ecb01e597342e6bee1d3
|
fa62d79a02be7b3c116de79ab598d5b2d5bbc032 |
13-Jul-2017 |
Bryce Lee <brycelee@google.com> |
Merge "Do not use rotation as indicator to relaunch from config change." into oc-dr1-dev
|
90ab6ba03f6bc1b64b5e299409a178eed639eb67 |
13-Jul-2017 |
Bryce Lee <brycelee@google.com> |
Merge "Allow max aspect ratio to be specified by meta-data tag." into oc-dr1-dev am: a926dbf5d2 am: d0bc21efd5 Change-Id: Idf2bfb1d6c2b70a53ebe46df300be6fe3fce3258
|
05392d6360b89538aa8fcbb1afd50775adfadcf4 |
11-Jul-2017 |
Tomasz Wasilczyk <twasilczyk@google.com> |
Publish new Broadcast Radio APIs. Also, rename FEATURE_RADIO to FEATURE_BROADCASTRADIO. Bug: b/34348946 Bug: b/63405337 Test: instrumentalization Change-Id: Ibf5851a10b94f9e82db85f740fde6f28efe48666
ackageManager.java
|
22571db5a6f2f24720ab33adf920b64a9725e6eb |
08-Jul-2017 |
Bryce Lee <brycelee@google.com> |
Allow max aspect ratio to be specified by meta-data tag. This changelist identifies aspect ratios set via meta-data tags on the activity or application and applies them to the proper scope. Values specified via styled attribute take precedence, and values specified by the activity take priority over values in at the application level. Fixes: 63386222 Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsAppTestCases android.app.cts.AspectRatioTests Test: go/wm-smoke Change-Id: I0d8d6b2778e7fc12bb9feb85c651e5ec22927f5f
ackageParser.java
|
248fbb180db7cc1f57ab3a8d0387e1c18caf668d |
11-Jul-2017 |
Bryce Lee <brycelee@google.com> |
Do not use rotation as indicator to relaunch from config change. Rotation is a hidden member inside configuration that should not influence configuration related logic. This CL ensures that we do not consider changes to the rotation as grounds for relaunching an activity. Change-Id: I9e6d4a1a75fd3ee3beb63f307433e9c3fcfd6dd4 Fixes: 63533208 Test: go/wm-smoke Test:cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerConfigChangeTests
ctivityInfo.java
|
547964fc4370c60d6cc34e67797706977856ee76 |
10-Jul-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "SystemServer: Support for LowpanService"
|
87a7104ae97c4c389611947acedd4e8e30758ae4 |
16-May-2017 |
Robert Quattlebaum <rquattle@google.com> |
SystemServer: Support for LowpanService The LowpanService implementation can be found at: platform/frameworks/opt/net/lowpan/service Bug: b/33073713 Change-Id: Ibca9c452492bf171bd2c30efdb44ddb472494c3b
ackageManager.java
|
f9419f0f8524da4980726e06130a80e0fb226763 |
15-Jun-2017 |
Narayan Kamath <narayan@google.com> |
Allow splits to declare a classloader type. Add an attribute android:classLoader which can be set to the name of the classloader the base or split wishes to use. For now, this can only be set to "dalvik.system.PathClassLoader" or "dalvik.system.DelegateLastClassLoader". The current implementation only allows the classloader to exist in the boot classpath but that restriction can be loosened in a future change if necessary. Test: cts-tradefed run cts-dev -m CtsAppSecurityHostTestCases Bug: 36044779 Change-Id: I5a51f7aa0c8c4c398d2f46129eb06785cc8e3c3f
pplicationInfo.java
ackageParser.java
|
eb0a0ae7aea822ed66a90e65e216570359d7b137 |
30-Jun-2017 |
Philip P. Moltmann <moltmann@google.com> |
Expose TestApi needed by PermissionTests Test: No code change Bug: 32898128 Change-Id: Iab5a20e253d34bdd763aef82db5aad15f4ccff31
ackageManager.java
|
59b9885bc8b781b6312adedd67c2c7c270f9213c |
13-Jun-2017 |
chaviw <chaviw@google.com> |
Added Activity flags to show on lock screen. Added two new flags to the Activity to turn the screen on and show on the lock screen. These can be used instead of the Window flags LayouParams.FLAG_TURN_SCREEN_ON and LayoutParams.FLAG_SHOW_WHEN_LOCKED to prevent the double onStart/onResume lifecycle events. The flags can be set as an attr for the Activity in the AndroidManifest using android:showWhenLocked="true" and android:turnScreenOn="true". They can also be set through methods in the Activity class using setShowWhenLocked(true) and setTurnScreen(true). Fixes: 36850100 Test: Created sample application, tests/ShowWhenLockedApp, that set the flags in the manifest and code. Tested multiple scenarios to launch the Activity with the flags set and unset. Test: cts-tradefed run commandAndExit cts-dev --module CtsServicesHostTestCases -t android.server.cts.KeyguardTransitionTests Test: cts-tradefed run commandAndExit cts-dev --module CtsServicesHostTestCases -t android.server.cts.ActivityManagerActivityVisibilityTests Test: cts-tradefed run commandAndExit cts-dev --module CtsServicesHostTestCases -t android.server.cts.KeyguardTests Change-Id: I44f0e313df4531d49c7ac56108b6bf80e41fefc1
ctivityInfo.java
ackageParser.java
|
32fcad6b29afe48a4154e55ce2b0efeca1ee7ec4 |
28-Jun-2017 |
Lei Yu <jackqdyulei@google.com> |
Merge "Add API to RuntimePermissionPresenter" into oc-dr1-dev am: a023184bbc am: eba86e5147 Change-Id: I537c1fd6b4fbf3e00269c50aebb23e9fd7fa3ad6
|
a023184bbcf2d0c5c41ff3b504780311aa819770 |
28-Jun-2017 |
Lei Yu <jackqdyulei@google.com> |
Merge "Add API to RuntimePermissionPresenter" into oc-dr1-dev
|
26426a7f641f3aee887ced4783087650d95c445c |
27-Jun-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes Ie5c878d3,I33d9be04 * changes: Remove forward-lock install tests Use PackageInstaller
|
11e9ed87f772e595365470378e06fe5d551b1b99 |
27-Jun-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Fix activity icon badging for non-bitmap icons" into oc-dev am: 9f607f4c0b am: eb63919bc4 am: 9b723d886e Change-Id: If824cafb12f37555fc433512d1fd02ab107f4355
|
eb63919bc4a4c8673b34114b7b61e40181f6c07a |
27-Jun-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Fix activity icon badging for non-bitmap icons" into oc-dev am: 9f607f4c0b Change-Id: Ie8b426c14fa30b7c2f5eadc5818e1dfd16f8c0a5
|
a90bfb5f80ff45442ba7806e4c36540ff5fc7577 |
23-Jun-2017 |
jackqdyulei <jackqdyulei@google.com> |
Add API to RuntimePermissionPresenter Add API to reovke runtime permission in RuntimePermissionPresenter Bug: 36921532 Test: runtest -x LocationCheckActionTest(in settings) Change-Id: I51d43d6372fffcd260d7053cb89f2a00d3b07468
ermission/IRuntimePermissionPresenter.aidl
ermission/RuntimePermissionPresenter.java
|
a65e6491e4aa90611045ecf696db4bf3328d09bc |
21-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Progress towards FBE and adoptable storage. Offer to adopt storage devices on FBE devices, but keep it guarded behind a system property for now, since we still need to work out key storage details. Verify that all users are unlocked before moving apps or shared storage. We only need them to be unlocked; we don't need them to be actually running. Have PackageManager dump the set of volumes that it's finished scanning and loading, since otherwise CTS can get excited and race too far ahead of it. Add a specific error code to communicate that users are locked. Test: cts-tradefed run commandAndExit cts-dev --abi armeabi-v7a -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AdoptableHostTest Bug: 37436961, 29923055, 25861755, 30230655 Change-Id: I749dc3d8148e1a95d8bc4be56665253ef826d3fe
ackageManager.java
|
8f2a478d9de867cf28427c481c5498fe4b5f23fb |
23-Jun-2017 |
Makoto Onuki <omakoto@google.com> |
Fix activity icon badging for non-bitmap icons Bug 62930145 Test: Manual test with development/samples/ShortcutDemo/launcher/ Change-Id: I8d0eed2e1f93a3b04a6a078c25cefbfc47c528a4
auncherActivityInfo.java
|
b0297aeb968c8b83b46956af4d8c7814feb6428f |
21-Jun-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Support native shared libs" into oc-dr1-dev am: 77dea6284a am: a6465a13cf Change-Id: I95dbdad3eb12ea536b59134e86f4060fb35b3278
|
40610e3a1402a54697b3da2423431a327a1b3c71 |
21-Jun-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Support native shared libs resolve merge conflict for ac9b6706b Add the shared libs that are APKs to the native library path when creating application class loaders. Also don't allow shared libraries hosting native libs to request extraction of the native libs out of the APK. Lastly, shared libraries hosting native libs must be declared as multi-architecture. Test: CTS tests in this topic bug:62720360 Change-Id: Ie3f203db12a3f3826e114c219a8341d9acab604f
ackageParser.java
|
f8579581c1d6bf993f26d21aefca410ac9b6706b |
17-Jun-2017 |
Svet Ganov <svetoslavganov@google.com> |
[DO NOT MERGE] Support native shared libs Add the shared libs that are APKs to the native library path when creating application class loaders. Also don't allow shared libraries hosting native libs to request extraction of the native libs out of the APK. Lastly, shared libraries hosting native libs must be declared as multi-architecture. Test: CTS tests in this topic bug:62720360 Change-Id: I0a398593ebe41b2976cb706ca8a388005f5aec83
ackageParser.java
|
cda831fcd51889f3a013f19a2558ebb99f6de2a3 |
16-May-2017 |
Todd Kennedy <toddke@google.com> |
Use PackageInstaller stop using internal, deprecated installPackage / deletePackage directly on the package manager. instead, go through the package installer. Bug: 38197362 Test: bit FrameworksCoreTests:android.content.pm.PackageManagerTests Change-Id: I33d9be042628c344f33d474a39385ca34925bf46
ackageInstaller.java
|
85b5ca67f1c0d65b98e566ebd8e582c27e682534 |
14-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Save overlay paths as user state" into oc-dev am: 508a5bade6 am: 80b761b6db am: 7ad9b0bbd4 Change-Id: Iead9bfc153bfffd43d3d0f3cf68f066cedf4931c
|
7ad9b0bbd4a1e95ea91ea270882a4ff71325ae04 |
14-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Save overlay paths as user state" into oc-dev am: 508a5bade6 am: 80b761b6db Change-Id: I0a2f3b0318b75bd08b8dfa1db1658930617333c1
|
80b761b6db5e70043aa4b09cba6761254d629a25 |
14-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Save overlay paths as user state" into oc-dev am: 508a5bade6 Change-Id: Icba76fbeef9f4cd2a067fafd65c750f1f95a4ed0
|
b692f4a09585320fd0d65877ae888c03bfef0f23 |
14-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Save overlay paths as user state" into oc-dev am: 508a5bade6 Change-Id: If46b58323883dcdeef72f0a394f79becca134c23
|
b274947dfb03f04872546774af0f8770ade5bed7 |
13-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Save overlay paths as user state Instead of maintaining a separate structure just for overlay paths, store them as user state in the package setting. Also centralize updating the overlay paths to avoid issues with inconsistent updates. Fixes: 36561125 Test: Manual Change-Id: Iac1c987e8650074dbc564e332d5da1950fad6ac5
ackageParser.java
ackageUserState.java
|
90396365357c745070145a87b6036e6bb07cbae8 |
13-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Revert "Hide APIs not intended to ship in DR." This reverts commit 0c28d43fe1423198f99a0518887b69a4205bc6f7.
ackageManager.java
|
83559ba8d5a21d93d1f7a188a0aaa7355ff020ea |
13-Jun-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Hide APIs not intended to ship in DR." into oc-dr1-dev am: 3d4c62de10 am: dd96cfc4ef Change-Id: I02eab4f04913de48c182176da6559fb14559f459
|
0c28d43fe1423198f99a0518887b69a4205bc6f7 |
09-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Hide APIs not intended to ship in DR. This CL will be reverted once it merges into the next release branch to re-introduce the proposed APIs. This CL also makes the following code changes to preserve API compatibility: -- It keeps the recently added RemoteViews.clone() synchronized logic intact, but moves it inside the method to avoid changing the API signature. -- It reverts the RttCall.read() behavior to the oc-dev logic, since we can't throw IOException until we get an API level bump. (The original logic returned null instead of throwing.) Test: builds, boots Bug: 62427252, 62431886, 62427329 Bug: 62468911, 62431162, 62428935, 62429096 Bug: 37290820, 37359238, 36886243 Bug: 30143923, 35761231, 62192626, 29829689 Change-Id: I83d723f598cb0ee1fe198e65debd86ef7fd0420c
ackageManager.java
|
42e26f0c2d2bae47c3795d8280b2c44b3e56867f |
09-Jun-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Omit icons from bulk SessionInfo calls." into oc-dr1-dev am: c017d299ce am: 00c66f676f Change-Id: I200f39ef3dd3c336abd48e53a9b93e21f48a7dc0
|
ee3cced4e091175679e48f597c294a32d2234046 |
09-Jun-2017 |
Garry Boyer <gboyer@google.com> |
Merge "Enables child APKs, fixes a package parsing bug, and adds tests."
|
c017d299ce5058b217611200e1389df7ae97edcf |
09-Jun-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Omit icons from bulk SessionInfo calls." into oc-dr1-dev
|
85731623244a0ab52c85468daf299e04017443bf |
08-Jun-2017 |
Adam Lesinski <adamlesinski@google.com> |
Merge "Revert "always adjust per-user application info"" into oc-dev am: 887544e100 Change-Id: I944c449954876353c7e597fca19ac5fe00e62906
|
adca091fcd3c6141c4364afc854db1b9a9583bdd |
08-Jun-2017 |
Adam Lesinski <adamlesinski@google.com> |
Merge "Revert "always adjust per-user application info"" into oc-dev am: 887544e100 Change-Id: I440be882264d8687d7b5e3de036e54bf91386d6d
|
887544e100d0678bba7668b18f206092b328de54 |
08-Jun-2017 |
Adam Lesinski <adamlesinski@google.com> |
Merge "Revert "always adjust per-user application info"" into oc-dev
|
157be6ead89fc585f21c8fcdb3fa81ead7c78ebc |
08-Jun-2017 |
Adam Lesinski <adamlesinski@google.com> |
Revert "always adjust per-user application info" This reverts commit e0046cecb079ec4d063444cee64795a6b734e6e7. Reason for revert: Regresses UI theme Bug: 62445682 Bug: 36561125 Change-Id: I9b60bd8e4eb89129368d38e83c0036ab459a524e
ackageParser.java
|
da1247a0769b184938d0afe9ca3b69ecab14654f |
08-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Omit icons from bulk SessionInfo calls. Calls that return List<SessionInfo> can end up returning hundreds of sessions, each of which include a "Bitmap appIcon" object. Since we quickly smash the entire list through a ParceledListSlice, we risk exhausting FDs for all the ashmem regions. To mitigate this, we omit these icons from the bulk calls, and then fetch individual icons on-demand when explicitly requested. Test: create 2k sessions and verify system doesn't croak Bug: 38021844 Change-Id: I932073defe5b9b34a636818a69009d49060215fb
ackageInstaller.java
|
de066fd249d75fc693724c7e238017248924dccd |
08-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Passing callingUid to internal methods" into oc-dev am: dacdf2e978 Change-Id: Ie6e85346f63f4b06e693e6a6ac0c73b2ec3b9639
|
ddb322a0005548baf998bd4be90ec492ca7dd894 |
08-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Passing callingUid to internal methods" into oc-dev am: dacdf2e978 Change-Id: I11bcd48eb91c1f877a27f1cb06d6269aef76d3d2
|
dacdf2e978e4e293f381952b7d96969c86e571aa |
08-Jun-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Passing callingUid to internal methods" into oc-dev
|
18211fd8f6ff4a70a4b8b16fab642783d536102b |
06-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Passing callingUid to internal methods Sometimes callers want to clear the calling identity [to avoid permission calls]. In this case, allow passing the original calling identity to internal methods. Test: Manual; create profile account and observe launcher still works cross profile Test: bit FrameworksServicesTests:com.android.server.pm.ShortcutManagerTest{1..10} Change-Id: I73f8ad4b2dc1895227c3fcb14f3f1f18f600562f Fixes: 38349978
ackageManagerInternal.java
|
dcbfba2a45f78db9642556ada562793ead127d1d |
07-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Merge "always adjust per-user application info" into oc-dev am: 91a9d65e42 Change-Id: I1c7af6ce2ef12fd445389325e98b84b552efae88
|
1581bb0b75c6c04fcb6b96c8c21a9e1860f1bd38 |
07-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Merge "always adjust per-user application info" into oc-dev am: 91a9d65e42 Change-Id: Ief1ab206a0eb71c9225c000148d0f0b3264a526b
|
91a9d65e42fd38dc7fe0edce848750505237055d |
07-Jun-2017 |
Todd Kennedy <toddke@google.com> |
Merge "always adjust per-user application info" into oc-dev
|
5213666521ceb6254cdc48b79d50ad3ffacaac01 |
23-May-2017 |
Garrett Boyer <gboyer@google.com> |
Enables child APKs, fixes a package parsing bug, and adds tests. 1. Enables child APKs by default. (This is primarily so the tests work, but I'm open to other options.) 2. Fixes bug where child packages would steal their parent's components of the same type of the parent. (e.g. if the child has a service, it would steal all of the parent's services, but only reproduced for more complicated manifests) This changes the way component parse args are cached and reused. Previously they were cached in a field and reset each time a new package was scanned. But with child APKs, a single manifest can have multiple packages. Now, the lifetime of the cache is limited to a single <application> element, and rather than being a member field, it's passed explicitly as a parameter so its lifetime can be explicitly controlled without the need to remember to null it. 3. Adds tests for the bug PackageParser These tests just test the parsing component without doing full installation. And once b/62385737 (failing tests) are fixed, we can add new PackageManagerTests. Change-Id: Iccd148b571af86daab48d7a9e28ab6d636b1ad00 Fixes: 62032885 Test: Tested a large app with a child package and the previous issue did not reproduce after this change.
ackageParser.java
|
a6e0addc26a8248e986657e49e88a0e55d2163bb |
06-Jun-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Refer to ShortcutManagerCompat in the javadoc" into oc-dev am: a9c185f6e7 am: a178d194f9 Change-Id: Iec712211a2c83798ae160560d1cca9ce23b7e577
|
a178d194f9f8790a0bec2588b5990f40389b97a8 |
06-Jun-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Refer to ShortcutManagerCompat in the javadoc" into oc-dev am: a9c185f6e7 Change-Id: If571669aaa81d085774c1bb9a0daa308f237978a
|
a9c185f6e7df6e96fba540a9235ac1b26402bca1 |
06-Jun-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Refer to ShortcutManagerCompat in the javadoc" into oc-dev
|
ec68b46bc85b2317053da7e2933876fc6e51ac2f |
06-Jun-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Annotate @SystemApi with required permissions." into oc-dev am: c1406978a4 am: 7a2e4a8486 Change-Id: Ib629e25dbf047c110feaf03e4ff744b5c6df9aeb
|
e0046cecb079ec4d063444cee64795a6b734e6e7 |
06-Jun-2017 |
Todd Kennedy <toddke@google.com> |
always adjust per-user application info Test: manual; it runs Change-Id: I98db17ebe9ebe34a5affad44300a55ed68adb565 Fixes: 36561125
ackageParser.java
|
7a2e4a848602ddb861f9f35cb93edbdca32a7db1 |
06-Jun-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Annotate @SystemApi with required permissions." into oc-dev am: c1406978a4 Change-Id: I305967cad945a807c3f8234efabaad0ef8b591d1
|
d86b8fea43ebb6e5c31691b44d8ceb0d8d3c9072 |
03-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Annotate @SystemApi with required permissions. Most @SystemApi methods should be protected with system (or higher) permissions, so annotate common methods with @RequiresPermission to make automatic verification easier. Verification is really only relevant when calling into system services (where permissions checking can happen on the other side of a Binder call), so annotate managers with the new @SystemService annotation, which is now automatically documented. This is purely a docs change; no logic changes are being made. Test: make -j32 update-api && make -j32 offline-sdk-docs Bug: 62263906 Change-Id: I2554227202d84465676aa4ab0dd336b5c45fc651
auncherApps.java
ackageInstaller.java
ackageManager.java
hortcutManager.java
|
9aeff8abcc27131a1a48f419db5c65cfa8909fb4 |
31-May-2017 |
Makoto Onuki <omakoto@google.com> |
Refer to ShortcutManagerCompat in the javadoc Bug: 62193112 Test: m offline-sdk-docs and manually checking the result Change-Id: I5f608f9b22dec595a0e14026a9f4aaf7898bfdba
hortcutManager.java
|
b562e539504c3eb72d1200a0e3dc67e9b2f0409b |
31-May-2017 |
Jeff Sharkey <jsharkey@android.com> |
Merge commit '06951ac74d9e74b29037b0a5d8e3b9ad85983b5b' into mergeit am: 3c3d9d8158 Change-Id: Ia4c7f1792c9b6e8e72b4ffe742249b02b82d0817
|
3c3d9d815856e8e22961c0092d34ff7b9c5b6e2c |
31-May-2017 |
Jeff Sharkey <jsharkey@android.com> |
Merge commit '06951ac74d9e74b29037b0a5d8e3b9ad85983b5b' into mergeit Change-Id: Ifa69c7bb53de94312e2b32607fa098c194a4c72c
|
ddff807b762a8a455287abc97aea8f97b98fb104 |
26-May-2017 |
Jeff Sharkey <jsharkey@android.com> |
Consistent "low storage" behavior. When answering the question "how much space is free", use the same logic for Settings UI and StorageManager.getAllocatableBytes(). That is, the reported free space is usable bytes plus any cached data the system is willing to delete automatically. This does *not* include any reserved cache space, since we don't want abusive apps to penalize other well-behaved apps that are storing their data in cache locations. Callers freeing cached data need to now explicitly request defiance of the reserved cache space. (Most callers are already doing this by using FLAG_ALLOCATE_AGGRESSIVE.) Rewrite the core logic of DeviceStorageMonitorService to understand this new "reserved" cache space, and to be easier to understand. It also now handles cached data on adopted storage volumes, which had been ignored until now. Also fix bug where we had skipped "low" broadcasts when the device skipped directly from/to "full" state. Bug: 38008706 Test: cts-tradefed run commandAndExit cts-dev -m CtsJobSchedulerTestCases -t android.jobscheduler.cts.StorageConstraintTest Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest Change-Id: Icbdcf3b52775f7ada1ceaeff2f96094c8d8052f9
PackageManager.aidl
|
4414db2da2ae6950a7506d9019b7eb9d17adf823 |
26-May-2017 |
Nicolas Geoffray <ngeoffray@google.com> |
Merge "resolve merge conflicts of 255b69aca02f to oc-dev-plus-aosp" into oc-dev-plus-aosp am: b118505ef0 Change-Id: I6e9963188b487de4e76dc0d17d56b53050fd3745
|
7e1a27370842bed8940765d9f3143b3be153ef14 |
26-May-2017 |
Nicolas Geoffray <ngeoffray@google.com> |
resolve merge conflicts of 255b69aca02f to oc-dev-plus-aosp Test: I solemnly swear I tested this conflict resolution. Change-Id: I9caf7542f11b0b322da063a5a08140384eba0ce0
|
3b4359a06c482095338080fa908a67441ad23a2b |
25-May-2017 |
Nicolas Geoffray <ngeoffray@google.com> |
Pass bootComplete to dexopt. bug: 37165062 Test: After OTA, check bootComplete=false on package updates Change-Id: I6fc00216020bb16d8ed4f6e839b5e1df0e942700
PackageManager.aidl
|
c50c89a5d89b35c0a0c69c51ea73d2eea9dcb9af |
24-May-2017 |
Todd Kennedy <toddke@google.com> |
Merge "System installed launcher can see instant apps" into oc-dev am: 1de10d6602 am: 4cdc26746e Change-Id: I2a66bfa001ea03205535bc0337f720d869fa9132
|
9a4b440542eb4ab693b006f422a36c86b000bc5b |
24-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Unhide system feature flag FEATURE_WIFI_PASSPOINT"
|
3051caac52729c8c059eb538805f4d274a9945a5 |
24-May-2017 |
Todd Kennedy <toddke@google.com> |
System installed launcher can see instant apps Change-Id: I97f791b61f9b4f7ed33305345bf3d92394b40ae4 Fixes: 38202759 Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest Test: Manual. Create sample app that replaces the launcher to test ability to see ephemeral apps.
ackageManagerInternal.java
|
98c1555da3f3f6904db01fb245500090811cdaef |
17-May-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Restrict access to instant app data in usage stats" into oc-dev am: f38a1d3d2a am: fd1dd05815 Change-Id: I9e06dfc17f934210bcfddb44fc7be7056c9b054c
|
ad623015a119efe9b63f594af9c4703f40a0c27b |
15-May-2017 |
Makoto Onuki <omakoto@google.com> |
Restrict access to instant app data in usage stats - Events are obfuscated based on whether the app was instant or not at the time each event was logged. - UsageStats are obfuscated based on whether each app is instant or not at the moment. Bug 38202133 Test: Manual test using UsageStatsTest and instant apps Change-Id: I3c74309196b88d010d317cb0dd6749bf4624e876
ackageManagerInternal.java
|
647dc845609a45aa39634e8c4e9c90797994b2b5 |
16-May-2017 |
Svet Ganov <svetoslavganov@google.com> |
Merge "Support recursive static shared lib dependency" into oc-dev am: e04765998e am: 8adfc2cac7 Change-Id: Ib07a986a02372d40ce93b9beb8e1ac74f0d3561b
|
e04765998e32dc3e098becfdfa3d19045926b541 |
16-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Support recursive static shared lib dependency" into oc-dev
|
58c99f02077d8279e88a89d8e6fe413af5692f87 |
15-May-2017 |
Svet Ganov <svetoslavganov@google.com> |
Support recursive static shared lib dependency Test: Updated the static shared lib CTS tests to verify that All static shared lib CTS tests pass bug:35359862 Change-Id: Id4a0dabbc9d8e98962e92b6f537f6ffffa63b585
PackageManager.aidl
|
00adcb06abdec8379c130e1387348b94e9554f33 |
13-May-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Add command to retrieve the instant app resolver" into oc-dev am: 2a34734131 am: a17fe9cca6 Change-Id: I02a709b4716a65c27cb3c696adbf5da88627c517
|
d55a65c69c1fbdf00d039a902609865d0fa47709 |
13-May-2017 |
Hyunyoung Song <hyunyoungs@google.com> |
Merge "Update ShortcutManager/Service javadoc/impl around sizing" into oc-dev am: b9a098aeb6 am: ac9b9de6df Change-Id: I54760855839f270aadab53c1a851f55b5e676dcd
|
2a3473413119ec44b45837110a06b97171036185 |
13-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add command to retrieve the instant app resolver" into oc-dev
|
b9a098aeb67a502fed450c1558c2b357860fcf3a |
13-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Update ShortcutManager/Service javadoc/impl around sizing" into oc-dev
|
51829ae72f5785845cd7a24f448bdaab5091dd28 |
12-May-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Setting Session commited broadcast when an existing apk is enabled for a different user" into oc-dev am: fc157e702f am: 1e0a89055d Change-Id: Ifefcd98f5df6a3175ad2d25aa058555ed02a4854
|
4703746f500933b920236a72f70f629304ea2578 |
09-May-2017 |
Hyunyoung Song <hyunyoungs@google.com> |
Update ShortcutManager/Service javadoc/impl around sizing to account for AdaptiveIconDrawable type of shortcuts Test: builds for now.. If Makoto is happy with this change, will add tests b/37743074 Change-Id: Ieecd95d621db57f858fac449d3bcedd173c8607c
hortcutManager.java
|
a31a74b993578573eca33ca68762a98c6f6cb904 |
12-May-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Setting Session commited broadcast when an existing apk is enabled for a different user Test: Manual tests and CTS Bug: 38204385 Change-Id: Ic3bddbc2e6070c11b11f0685077db7737f2b8849
ackageManager.java
|
16230706623c56166c74e6a038f1e62075bbd4ae |
12-May-2017 |
Svet Ganov <svetoslavganov@google.com> |
Merge "System/root/shell need to explicitly ask for static libs to get them" into oc-dev am: c3db339987 am: e87dc7bb2c Change-Id: I444ced398404698c88e1353ee47cd648c9ad9c9f
|
c3db339987acf8d4c0f81615c53ec6ac41f94f15 |
12-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "System/root/shell need to explicitly ask for static libs to get them" into oc-dev
|
9e77977ffa4cb3c8dfa82070c20417e556fe7c8a |
11-May-2017 |
Svet Ganov <svetoslavganov@google.com> |
System/root/shell need to explicitly ask for static libs to get them Test: manual - settings no longer shows static shared libs all shared lib CTS tests pass bug:36632271 Change-Id: If3363059b5f5300e309b61899af8c2559af317fe
ackageManager.java
|
76f1aa9e639804286e33ef8407528d1526de6381 |
11-May-2017 |
Peter Qiu <zqiu@google.com> |
Unhide system feature flag FEATURE_WIFI_PASSPOINT Bug: 36886243 Test: build Change-Id: Iedee97470b9602800b2225bebe55be4d7e6fe4aa
ackageManager.java
|
b6511a60e0766b1f11ad0c28c1f6711c4edb66b6 |
11-May-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Offload saving bitmaps from binder threads" into oc-dev am: 31ef139466 am: 3b178f77ce Change-Id: I12603ba93310abaa8612c118ebf77ac25e6918c5
|
31ef1394663ff7f36be36e63898544afc6a10c66 |
11-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Offload saving bitmaps from binder threads" into oc-dev
|
c8097441e2a933183669a86707a25581b42b83a4 |
10-May-2017 |
Bryce Lee <brycelee@google.com> |
Merge "Prevent non-fullscreen activities from influencing orientation" into oc-dev am: 8a698a1721 am: 537ece988a Change-Id: Idb7c86cae2974d31a04aefec34a6ee7baeafb7ec
|
475c36539da9687d75447adb9054c98ce03c754a |
08-May-2017 |
Makoto Onuki <omakoto@google.com> |
Offload saving bitmaps from binder threads Bug 34691191 Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutManagerTestCases Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutHostTestCases Test: Manual test with the phone app Change-Id: Ibccf8ca162eae9179ee4cbdf0307ff34a6953aa1
hortcutInfo.java
|
39791594560b2326625b663ed6796882900c220f |
26-Apr-2017 |
Bryce Lee <brycelee@google.com> |
Prevent non-fullscreen activities from influencing orientation This changelist enforces that activities targeting O and beyond can only specify an orientation if they are fullscreen. The change ignores the orientation on the server side and throws an exception when the client has an orientation set in onCreate or invokes Activity#setRequestedOrientation. Fixes: 33483680 Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testNonFullscreenActivityProhibited Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testLegacyNonFullscreenActivityPermitted Change-Id: I4f7f79744918fad6465a537633dfadec8d05c6df
ctivityInfo.java
|
bd09eb33b437002092f4f98a5084387c61dd6c40 |
09-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add system feature flag FEATURE_WIFI_PASSPOINT"
|
0a3f081b228f527828f79c0beeca682de2743050 |
08-May-2017 |
Todd Kennedy <toddke@google.com> |
Add command to retrieve the instant app resolver Bug: 33073536 Test: gts-tradefed run commandAndExit gts-dev -m GtsPackageManagerHostTestCases -t com.google.android.pm.gts.PackageManagerHostTest Change-Id: I3050fb083da2f85c7226291ec5c7794ed95a13ef
PackageManager.aidl
|
b99fe31dc7e63450ce101caf2378cfa31b3df0c0 |
05-May-2017 |
Peter Qiu <zqiu@google.com> |
Add system feature flag FEATURE_WIFI_PASSPOINT This feature will be used to indicate device's support for Passpoint. The apps will be able to call PackageManager#hasSystemFeature(FEATURE_WIFI_PASSPOINT) if Passpoint is supported or not. While there, remove the legacy build config flag for enabling Passpoint (aka Hotspot 2.0). Bug: 36886243 Test: Manual test Change-Id: I99e9299a1ddbb8024f12a5a90a975eb54246cc97
ackageManager.java
|
ebe175c92f0b5e0ae4eb0231f6b75f56d7b21a0f |
05-May-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Show warning log when ShortcutInfo is re-published" into oc-dev am: 9ccb15a351 am: f14f38ba4a Change-Id: Idba763e56af1fa6e76ddbb3d8880f7eb78c944f3
|
9ccb15a351c3732b4dd8f55eb100756b0f88a9e8 |
05-May-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Show warning log when ShortcutInfo is re-published" into oc-dev
|
e12063c15f10aa2d6341f1cf6fb61338d91bcc59 |
05-May-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Create auxiliary info for local instant apps" into oc-dev am: 4804e41574 am: 143ad7ff09 Change-Id: I7bde4770ba29b8e57acd62cbe3a56c986a99bc80
|
c0dd03a666467d03e140f3a43704b3f3f3f4d4b7 |
05-May-2017 |
Todd Kennedy <toddke@google.com> |
Create auxiliary info for local instant apps This reverts commit a1d8051fa2317d897a6b20442177e357172e93db. Change-Id: Ic471a4efe64406dd75cc0bf1d6464276a94347d8 Fixes: 37947648 Test: Manual Test: Install an instant app [https://www.nytimes.com/crosswords/game/mini] Test: Try to run installed instant app from gMail
nstantAppResolveInfo.java
|
d36d46dd27cf6f7845a3338d9d9759e5b86fe11f |
05-May-2017 |
Bryce Lee <brycelee@google.com> |
Merge "Revert "Create auxiliary info for local instant apps"" into oc-dev am: 8cfb1a95da am: fb19563972 Change-Id: I80322c13e9fb5926432ea660f0b143f9aa78e315
|
d86841e7cd3b62c2aa83ee6a8f1aebed808d1bc5 |
05-May-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Don't set the failure extra on split install" into oc-dev am: d14e67656f am: 9968f9aa27 Change-Id: I0d799cf7a9af9f3bad491aa58edc6f4aacae85bb
|
7a6eafb7a9052bc307aa6b3c57a61330467dc851 |
05-May-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Create auxiliary info for local instant apps" into oc-dev am: d55670bcf5 am: b21b3efc55 Change-Id: I3d656bbbb9610e9f4ea6e68fbd8a287e88ad6894
|
8cfb1a95dac102bbe2dbb931df0dd60da083ee2c |
05-May-2017 |
Bryce Lee <brycelee@google.com> |
Merge "Revert "Create auxiliary info for local instant apps"" into oc-dev
|
a1d8051fa2317d897a6b20442177e357172e93db |
05-May-2017 |
Bryce Lee <brycelee@google.com> |
Revert "Create auxiliary info for local instant apps" This reverts commit e15e7cb592a923eea029c12aa9fc144a3fbaddc0. Change-Id: I116904fd8c2b28df7e03bc5ec2414ed67761b380
nstantAppResolveInfo.java
|
d14e67656f61d35ca4982cbee7aa9692f35fe9eb |
05-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Don't set the failure extra on split install" into oc-dev
|
d55670bcf57febb38ec2b3bac86ad86a8200b443 |
05-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Create auxiliary info for local instant apps" into oc-dev
|
bf563b63e5d3672ec102ee191a301e49e472139b |
04-May-2017 |
Makoto Onuki <omakoto@google.com> |
Show warning log when ShortcutInfo is re-published Bug 37986391 Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests Change-Id: Id9ca30068440915d2e86850fe2ed3684c0ce2af8
hortcutInfo.java
hortcutManager.java
|
253984ed8c8f39fa0aa9c5f4addf2f44f334c749 |
24-Oct-2016 |
Vladislav Kuzkokov <vkuzkokov@google.com> |
Store "block uninstall" flag separately from the rest of package state. This allows to set "block uninstall" prior to installation and avoid the inevitable race that happens when Device Policy app tries to force install and then immediately block uninstall. BUG=31043188 Test: Block com.chrome.beta in TestDPC. install, fail to uninstall through adb, unblock, uninstall Change-Id: I5ffa2abcb003982eccfb77585c43b59532dd501d (cherry picked from commit 1fff9dcb9d0a4d7224ff8aa0f39e82df0b30152c)
ackageUserState.java
|
1307d25e25ab9aabf92d2f74cefb005f34751a55 |
04-May-2017 |
Vladislav Kuzkokov <vkuzkokov@google.com> |
Merge "Store "block uninstall" flag separately from the rest of package state."
|
7dd99e3d463eb2354e5ddb0cbeed1333ec590235 |
04-May-2017 |
Todd Kennedy <toddke@google.com> |
Don't set the failure extra on split install Change-Id: I2f836b5ebc9f377ae8fe0a0d4a60541dd1666011 Fixes: 37852108 Test: Manual Test: Install and run pico blast Test: Note that the failure extra is set Test: Click "New" to install a split Test: Note that the failure extra isn't set
uxiliaryResolveInfo.java
|
e15e7cb592a923eea029c12aa9fc144a3fbaddc0 |
03-May-2017 |
Todd Kennedy <toddke@google.com> |
Create auxiliary info for local instant apps Change-Id: I73fc6f36f666a0f4fd538e1d3c541ce10443902d Fixes: 37947648 Test: Manual Test: Install an instant app [https://www.nytimes.com/crosswords/game/mini] Test: Try to run installed instant app from gMail
nstantAppResolveInfo.java
|
4afd39e71896edf67e473bb775135965a9ed228d |
03-May-2017 |
Bartosz Fabianowski <bartfab@google.com> |
Merge "Add more explicit documentation for install reason" into oc-dev am: c8ca16a85a am: 68e947c1bb Change-Id: I6b80084a3bd04c350b3d4f4930aa7885ec8db22c
|
1fff9dcb9d0a4d7224ff8aa0f39e82df0b30152c |
24-Oct-2016 |
Vladislav Kuzkokov <vkuzkokov@google.com> |
Store "block uninstall" flag separately from the rest of package state. This allows to set "block uninstall" prior to installation and avoid the inevitable race that happens when Device Policy app tries to force install and then immediately block uninstall. BUG=31043188 Test: Block com.chrome.beta in TestDPC. install, fail to uninstall through adb, unblock, uninstall Change-Id: I5ffa2abcb003982eccfb77585c43b59532dd501d
ackageUserState.java
|
40a006285b954607a96b1209de95bbed48d856f7 |
18-Apr-2017 |
Bartosz Fabianowski <bartfab@google.com> |
Add more explicit documentation for install reason This CL adds more explicit documentation of the install reason argument / return value to PackageInstaller.SessionInfo. Bug: 37324584 Test: None Change-Id: I2450cc669b194e611c5dc07c6a0a5cd78a98c039
ackageInstaller.java
|
767939f6db55c8dbf52e7291c01e63f8eae3b8c8 |
03-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Revert "Add more explicit documentation for install reason""
|
faef1cbd138a20ac595db80324534e84034f2e9b |
03-May-2017 |
Bartosz Fabianowski <bartfab@google.com> |
Revert "Add more explicit documentation for install reason" This reverts commit 839e8535898314f9cbca6f811a98f2d40ac61e2e. We have a better solution in ag/2135964. Change-Id: Icfed2d883149c9e648b69ae88b64f76daf4030f3
ackageInstaller.java
|
8a532cf2576bddfc52e959f14f61ab50825faeeb |
02-May-2017 |
Calin Juravle <calin@google.com> |
Merge "Make PM#registerDexModule oneway"
|
d478aaedc02e6e942e4d58c6186ab8169b93ec66 |
02-May-2017 |
Calin Juravle <calin@google.com> |
Merge "Make PM#notifyDexLoad oneway" into oc-dev am: 5f016f6705 am: 711016dfbc Change-Id: Ifde71f3cfaa3a1053f3f19f3b722620111e7e0f5
|
5f016f6705d2ea1573d8c7ed70b95752c4340b90 |
02-May-2017 |
Calin Juravle <calin@google.com> |
Merge "Make PM#notifyDexLoad oneway" into oc-dev
|
b86466edb736aa7d9b34dd125fef27ee17a4bc12 |
02-May-2017 |
Wale Ogunwale <ogunwale@google.com> |
Merge "Don't send configuration that app doesn't support to it." into oc-dev am: 22c1275c89 am: f528efd2fc Change-Id: I5ad92b83b66996101ec7c8144d5924ff2bfd08c4
|
22c1275c89d4975cbae3c49913aa5693b544628f |
02-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Don't send configuration that app doesn't support to it." into oc-dev
|
0a3693c21d5dda8374db88ab07a7a2a8a24aa88b |
02-May-2017 |
Calin Juravle <calin@google.com> |
Make PM#notifyDexLoad oneway There's not need to wait for the PM to process the dex load notification. Make notifyPackageUse one way as well (for the same reason). Bug: 37876265 Test: manual test to verify that notifications still work Change-Id: I29d076348c2999a4441c2047a89a45b085bf3761
PackageManager.aidl
|
0ace6ac7425d3616c81e4135f3e1189b03e46eaa |
02-May-2017 |
Calin Juravle <calin@google.com> |
Make PM#registerDexModule oneway The binder call should be one way. Test: adb shell am instrument -e class 'android.content.pm.PackageManagerTests' -w 'com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner' Bug: 37290820 Change-Id: I15a5160a3b6fdc5243df7bba6e61a5e2cc4656e6
PackageManager.aidl
|
b57c441fb44757e6e255bdbf6119cff565e6552d |
02-May-2017 |
Rob Carr <racarr@google.com> |
Merge "Fix rotation animation selection." into oc-dev am: e8d7c01e8a am: 0a2b84d6d2 Change-Id: I947689d13d974117273e3e54d4170f8b064927ef
|
e8d7c01e8ad21a88dcd2ed495d96b7f8f28e5ba1 |
02-May-2017 |
Rob Carr <racarr@google.com> |
Merge "Fix rotation animation selection." into oc-dev
|
d4b1d1ee725afbac1c316d4bf6ee721853bde9b6 |
10-Apr-2017 |
Wale Ogunwale <ogunwale@google.com> |
Don't send configuration that app doesn't support to it. If an app doesn't support the current device orientation configuration, then don't run the app in that configuration. Instead have the run in the last configuration that it supports. This mostly fixes transient cases where there is a short window that the device is switching configuration and the app could be sent the single incorrect configuration that is quickly corrected Test: Will be added soon. Fixes: 36897968 Change-Id: I030a04200fdf33c4c1938bda980ea8c14aa1c736
ctivityInfo.java
|
74bfa119745bb02f3442355d6b0d1205140f96f2 |
02-May-2017 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Rename to follow API council guidance." into oc-dev am: 0d6c3a691e am: 6560d8845b Change-Id: Ie9b4a033dfb08ea9326725e66ed4787a1ed69651
|
0d6c3a691ec020d5d67f2040c032043b08f6e3d2 |
02-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Rename to follow API council guidance." into oc-dev
|
19ef3fceabd5a127469f777842d723585b83d9fd |
02-May-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Addess API council comments" into oc-dev am: a9bb97993f am: 58d3836914 Change-Id: I095d5c9a488db01bd3dcf6b3609aa4e928311ca9
|
6958495360b267a65178d56f9dc1b265042ae123 |
02-May-2017 |
Calin Juravle <calin@google.com> |
Merge "SystemApi for dex module registration"
|
c0149bf0f67a7d090d120cd243f191527a97d91d |
02-May-2017 |
Robert Carr <racarr@google.com> |
Fix rotation animation selection. The default activity specified value for rotation animation should be unset, not ROTATE, so that it will not override window specified versions. Bug: 37671120 Test: Rotate camera 180 degrees...expect crossfade or jumpcut depending on APK version but never rotate animation. Change-Id: I6acbf32b3de0e2848565cc6cb6fb62f625053634
ctivityInfo.java
|
f29d19610d7fe7c3b757dd6348a2bffc7e7b9435 |
01-May-2017 |
Jeff Sharkey <jsharkey@android.com> |
Rename to follow API council guidance. Test: builds, boots Bug: 37422404 Change-Id: Idcec897e775f2613805a86209615e389b63bd78d
esolveInfo.java
|
e6b4614d88c04a3b3fb0497b5e8f6b4c359f6f2d |
01-May-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Addess API council comments Test: manual bug:37322491 Change-Id: I2017e667c5452c7ef7c56ec19c594e685700b33a
haredLibraryInfo.java
|
c5c6114dc478bde6bffe4ce6532a61aa7e967712 |
01-May-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Rename restartOnConfigChanges to recreateOnConfigChanges." into oc-dev am: a5e8bfe999 am: edfa1561c5 Change-Id: I4939f105dbc55b1a486d1ecb3a435e651279b2c2
|
c93c3b9cf378e84b8a6f8fdb519a11c51d748a45 |
29-Apr-2017 |
Holly Jiuyu Sun <jiuyu@google.com> |
Rename restartOnConfigChanges to recreateOnConfigChanges. Bug: 37738136 Test: unit test Change-Id: Icea9faf1d7f55b875d6ff9e4cc9aed4868637895
ackageParser.java
|
37a08d4bf46d26203f8e27f1d83bb317ef3b1dcd |
30-Apr-2017 |
Martijn Coenen <maco@google.com> |
Merge "Rename persistentFeature to persistentWhenFeatureAvailable." into oc-dev am: 35312fd4c6 am: 23a0f58eea Change-Id: I2b7aada5d0ec51c2a5513b15f6f855fd7cf5166c
|
35312fd4c6fccaf5869b8fbf7bef9b1a6def75ba |
30-Apr-2017 |
Martijn Coenen <maco@google.com> |
Merge "Rename persistentFeature to persistentWhenFeatureAvailable." into oc-dev
|
c5ef29254816433460323fa28acce7b39c5e84f3 |
30-Apr-2017 |
Svet Ganov <svetoslavganov@google.com> |
Merge "Address API council comments" into oc-dev am: 4c60abc9ae am: 4ad7cb3347 Change-Id: I676b6f5d97a893c478c2f0e02efa17456c178a17
|
4c60abc9ae3d0351b39e3d13f661e4033c883942 |
30-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Address API council comments" into oc-dev
|
e8acf307a898a124c2986dfcf46e2d4736103a48 |
29-Apr-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Experimental features only on debuggable builds." into oc-dev am: d9f6946c42 am: 8e19424e6f Change-Id: Ia4a2dc323116ae44bb906d77ba4809845247c65d
|
d9f6946c42f9d3c51f3a48409bdd5632cc8b9fc1 |
29-Apr-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Experimental features only on debuggable builds." into oc-dev
|
f965b87a781c6d77567c3fa7a5c6e4d3361dc6dc |
29-Apr-2017 |
Svet Ganov <svetoslavganov@google.com> |
Address API council comments bug:37769694 bug:37322491 Change-Id: I931cfb5ea5fef1505a97b169125ed2cdaaa3d6ff
ersionedPackage.java
|
fcab4e793b1e85a65ef66a3db54eed474e3b456e |
29-Apr-2017 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #37324532: API Review: android.content.pm.InstrumentationInfo" into oc-dev am: fb5840b0e6 am: 0ef4ea95f2 Change-Id: Ib196133e3affc2a9adc8bb66ffdf7dbf0792d307
|
1be5354aba7fdcb877125731a05debe35b39114f |
28-Apr-2017 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #37324532: API Review: android.content.pm.InstrumentationInfo targetProcess -> targetProcesses Test: bit CtsAppTestCases:InstrumentationTest Change-Id: I859985c689cc588c585cd0ec6e0a20411493a7c0
nstrumentationInfo.java
ackageParser.java
|
dd6a433163f814a5ac08f05535113d763f2b941e |
28-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Respond to API council feedback." into oc-dev am: 77cc43e0d2 am: 86e27f65f8 Change-Id: I7933a8ba6858d38423b29a52dfc5f9f65c641faf
|
77cc43e0d261a3db835d062e5c770b91b0a80bd9 |
28-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Respond to API council feedback." into oc-dev
|
8d74ca4ee43821b947fee7e910d32f92da2bb9bc |
28-Apr-2017 |
Martijn Coenen <maco@google.com> |
Rename persistentFeature to persistentWhenFeatureAvailable. Addresses API review comments. Bug: 37742058 Test: builds Change-Id: If7ddeefa4f1ccbdf087c837d1584f255585886c1
ackageParser.java
|
84daedcdffad746dda6ecffd0592a025b53b1d36 |
28-Apr-2017 |
Jaekyun Seok <jaekyun@google.com> |
Merge "Apply static RRO when parsing Android manifest of a target package" into oc-dev am: dc326a883e am: 1a4bcd04ee Change-Id: I342faf8a6486f3b6dfdf42047e90ae11671b58e5
|
30dc2a08667d56fdd3eecdcb70abec1b28d821f4 |
11-Apr-2017 |
Jaekyun Seok <jaekyun@google.com> |
Apply static RRO when parsing Android manifest of a target package This CL creates idmaps for static RROs right before parsing a target package. Those idmaps will be used to parse correctly the Android manifest of the target package. Later, OverlayManagerService will update each idmap with the correct gid from the target package app id. Note that the idmaps generated here will be used by OverlayManagerService as well until they are outdated (http://ag/2127839). Additionally a target package should be parsed again if its overlays are updated to apply the changes. Test: building succeeded and tested with sailfish-userdebug. Bug: 37179531 Change-Id: Ie0d5e92ae6e06b2d377ebd4cfdb0a8519b49a944
ackageParser.java
|
3d2af7f72a2e6be36f0f2cbf899ad4d0bde451b4 |
20-Apr-2017 |
Calin Juravle <calin@google.com> |
SystemApi for dex module registration PackageManager#registerDexModule() allows apps which can call system apis to register a dex module with the Package Manager. The PM may optimize the modules on the spot if needed. This is particular useful for shared dex modules (e.g. chimera modules) which are loaded in multiple processes. Test: adb shell am instrument -e class 'android.content.pm.PackageManagerTests' -w 'com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner' Bug: 37290820 Change-Id: I9ea8f937a76d2549a29e90a6c84c53c2e44a1ee4
DexModuleRegisterCallback.aidl
PackageManager.aidl
ackageManager.java
|
1bfe94164fe23d9118d9e02c474a127442cc359c |
27-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Change IMPORTANCE_PERCEPTIBLE_DEPRECATED to IMPORTANCE_PERCEPTIBLE_PRE_26" into oc-dev am: 301663a61b am: 27521581fb Change-Id: I8b0443ccf4a876b4de0d6de6d1af7909a4dee00e
|
301663a61bda0e2eb863d6518de882cf805abcf7 |
27-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Change IMPORTANCE_PERCEPTIBLE_DEPRECATED to IMPORTANCE_PERCEPTIBLE_PRE_26" into oc-dev
|
d65e8e83261531faa54df04323c7305f505e07e0 |
27-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Allow apps to provide the Instant App installer extra information" into oc-dev am: a9d0e6b205 am: f4488dabd5 Change-Id: I6310b54fc3f5e11feb926fe904d33c4cf67db669
|
a9d0e6b2053643a092d63dfa1671dd9e18a9529b |
27-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Allow apps to provide the Instant App installer extra information" into oc-dev
|
a4d34d971c9566a162a53e6b027ba2bc341ae5b4 |
27-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Respond to API council feedback. Move aggressive allocation to @SystemApi, which means we can hide the "flags" API variants. Remove UUID APIs, since we should use existing Serializable APIs. Relax permission checks to allow apps to ask for their own stats. Improve docs. Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest Bug: 37534687, 37534941, 37718184, 37738770 Change-Id: I6a763fb3ab3169c8d3329765bb31e1ee08d9ced7
pplicationInfo.java
|
e92f79450a0e3a55586eb2992577d09fc997761a |
26-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Change IMPORTANCE_PERCEPTIBLE_DEPRECATED to IMPORTANCE_PERCEPTIBLE_PRE_26 Also make sure to return the legacy value from RunningAppProcessInfo.importance. Bug: 37636026 Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsAppTestCases -t 'android.app.cts.ActivityManagerTest#testGetRunningAppProcesses' Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsAppTestCases -t 'android.app.cts.ActivityManagerTest#testGetMyMemoryState' Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsAppTestCases -t 'android.app.cts.AlertWindowsTests' Change-Id: Ie04e4dfa40c28ea391ae5ce3c769c6f8ee70a43d
ackageManagerInternal.java
|
0606861de50995e997d7c117e3bab1eb5db06da8 |
06-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Allow apps to provide the Instant App installer extra information Apps may want to provide additional context information to the instant app installer in order to allow the installer to make smarter choices about the context of the launch. This CL adds a bundle to ActivityOptions that is sent to the Installer (if an Instant App is launched) but not to any other application if something else on the device handles the Intent instead. Bug: 35180854 Test: manual Change-Id: Ifc69a420a9c68041b39acd8a4b83db8a789822a6
nstantAppRequest.java
ackageManagerInternal.java
|
047c869e4875f9bc9459edd69d5a4d2ba3d4bf46 |
26-Apr-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Merge "Add concept of implicitly exposed components" into oc-dev am: 0a4b7f5a86" into oc-dev-plus-aosp am: eeb311e47d Change-Id: I3857f3d588497024caab36d6a3a11f9374018c78
|
3f1790dec8307eab66a8360d369cdf4a38fd3170 |
26-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Experimental features only on debuggable builds. Test: builds, boots Bug: 36107077 Change-Id: I97b82d1d358fd1676362a3360a70116890e52085
ackageParser.java
|
c05f5d12d9a1b98221833ec0919d081a869d2486 |
25-Apr-2017 |
Todd Kennedy <toddke@google.com> |
Add concept of implicitly exposed components Implicitly exposed components are those that can still be accessed via generic startActivity() calls. However, they cannot be started by specifying a package or component. Additionally, package info can't be obtained if the package only has implicitly shared components. Change-Id: I404a4dff87559cfeee6ad78f7dcc7f5d849d6869 Fixes: b_37343345 Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
ctivityInfo.java
ackageManager.java
ackageParser.java
roviderInfo.java
erviceInfo.java
|
2f7c057db9efb06ea62be20122f4ec3730496dfd |
25-Apr-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Move child package feature behind sys prop" into oc-dev am: 6b3263a6e2 am: f9b00d77b8 Change-Id: Id647581dc8826b2b872440caab817e1a0385b0e6
|
a3c4eb35b1b8507aa3d4d58fdbe1d31dc6253ffc |
20-Apr-2017 |
Svet Ganov <svetoslavganov@google.com> |
Move child package feature behind sys prop Now one can do adb shell setprop/getptop to change "persist.sys.child_packages_enabled" to true/false to control whether child packages are supported. Test: manual bug:36107077 Change-Id: Ie60e255fd3c248905906cdd5b10adae074c0b717
ackageParser.java
|
1f14b1509c27b227991399d0e7e5e5dc00a608ae |
25-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Even more auto-doc work." into oc-dev am: 880f4f4cc2 am: 9652eef0b2 Change-Id: I96c77c62b6ee3b5acaa45e116d35c7114797a0b8
|
d35aa3c8c6b12c6de2b69d56ad2798789718bd7a |
24-Apr-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Merge "Remove @TestApi annotation" into oc-dev am: 1ab9119f50" into oc-dev-plus-aosp am: 3855f370d9 Change-Id: I9bb1800ea0b3adba259994300aa7f54eb1a0e5cf
|
30e06bb668f2e4b024c4ebc2a131de91c96de5eb |
24-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Even more auto-doc work. Update docs based on what new lint detector found. Add new @IntDef to parameters or methods returning constants or flags, and add @RequiresPermission to methods mentioning permissions. Test: make -j32 offline-sdk-docs Bug: 37526420 Change-Id: I7f640f7883fcb66b911a52ae93b83f77306571ec
ackageManager.java
|
e01a56bb66e09ac698e707b413673d39bbc85a09 |
24-Apr-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "More auto-doc work." into oc-dev am: 6bc03748a7 am: f25b285706 Change-Id: Ic6b7c359259b6fd809b1a01ba249a7b44e15a29f
|
f7a8befbecd2b17d7fb85161b84e8a4d223d85bb |
24-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add PC feature flag"
|
1ab9119f507d0b85e79d6098bf2055476683afb6 |
24-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Remove @TestApi annotation" into oc-dev
|
9cea1d28dd96b05cf3cb910e03ade9dfc5146745 |
21-Apr-2017 |
Nicolas Geoffray <ngeoffray@google.com> |
Drop REASON_FORCED_DEXOPT. This can already be configured with the default compiler filter. Also remove unused performDexOptIfNeeded. bug:35794392 Test: device boots, forced dexopt works. Change-Id: I14fc86c4783b2d7ac9cf8972b6619ba303e79659 (cherry picked from commit e103256c1fee6b53ead10efe13ca35ad270626fa)
PackageManager.aidl
|
04fbbec585869fe9437651d51761509b066f6515 |
24-Apr-2017 |
Nicolas Geoffray <ngeoffray@google.com> |
Merge "Drop REASON_FORCED_DEXOPT."
|
7345ed506552735fdc7f5836f3ca79b0c3c1c104 |
15-Apr-2017 |
Dennis Kempin <denniskempin@google.com> |
Add PC feature flag This CL adds a feature flags for traditional clamshell and desktop computing devices. It can be used by apps to specifically target those device types (such as Chromebooks) and by the framework to recognize apps that have been designed for that form-factor. Bug: 37359238 Test: None Change-Id: Ie10443583997bcf1bff0b44da31af3f144f7aa0b
ackageManager.java
|
910e081216ac530432ac9d0aab10d5e5e4c73ab8 |
22-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
More auto-doc work. Add support for AnyThread, CallSuper, and UiThread. Another related CL started documenting @RequiresPermission, so remove duplicated information in existing APIs. Suppress auto-doc on a handful of classes that are already well-documented. Test: make -j32 offline-sdk-docs Bug: 37526420 Change-Id: I791437dccec0f11d5349a23b982ba098cb551af8
ackageInstaller.java
ackageManager.java
|
2d3bdf9201ce2f0df6d9a4e35ac74bf755d7bf5b |
21-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Move PackageManager to new auto-doc feature!" into oc-dev am: 0a02259bba am: 8203c3694a Change-Id: I4bb0d19647db20e91d06602322fab6914a891d8e
|
4347f8147b24b902d0d9397852d44d07c85282b0 |
21-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Move PackageManager to new auto-doc feature! Test: make -j32 offline-sdk-docs Bug: 37526420 Change-Id: Ib368042e91be3ed702ede0facaf5c8d8d28853d4
pplicationInfo.java
ackageManager.java
|
fa7470df6fadc64d1125fa87f90ba2fd8eb8b81a |
20-Apr-2017 |
Todd Kennedy <toddke@google.com> |
Remove @TestApi annotation Change-Id: I5cd9556875df3d79568ccd7797aa81bcab731193 Fixes: 37322490 Test: GooglePartnerSetup/tests builds
hangedPackages.java
|
e103256c1fee6b53ead10efe13ca35ad270626fa |
21-Apr-2017 |
Nicolas Geoffray <ngeoffray@google.com> |
Drop REASON_FORCED_DEXOPT. This can already be configured with the default compiler filter. Also remove unused performDexOptIfNeeded. bug:35794392 Test: device boots, forced dexopt works. Change-Id: I14fc86c4783b2d7ac9cf8972b6619ba303e79659
PackageManager.aidl
|
b7f2e77fe5df19a7694cc815331ad08688282213 |
20-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Enhance the shortcut manager javadoc." into oc-dev am: aeb7505a7f am: be699f8a36 Change-Id: I19b1df9a997a26d7f0ba9dbc179ae3cc31c23278
|
16e83d05363c25b608a35e91b36022ff71610aa4 |
17-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Enhance the shortcut manager javadoc. Test: make -j offline-sdk-docs Bug 37418396 Change-Id: Ic82eb45ea232c2f032abaade12ac9ca967c35cae
hortcutManager.java
|
81cacd871d6c667a5855c2f44051f2ba6ba2ef02 |
20-Apr-2017 |
Jesse Hall <jessehall@google.com> |
Merge "Merge "Vulkan compute 0 only requires variable pointers" into oc-dev am: 45ff1d1ad3" into oc-dev-plus-aosp am: 61244e64a6 Change-Id: I6ad5d14f3428a15f122aa6e66e9ede930bda3d93
|
993f63270f880e2d1b880f88f2930b99dceb1068 |
20-Apr-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Address API council comments" into oc-dev am: fb4fb03cc3 am: 375d615b30 Change-Id: Ibba72870f4d4da53ab411b5e279a967a86584e19
|
45ff1d1ad39ff45ef5e0476b1d97e18a9f8f7aab |
20-Apr-2017 |
Jesse Hall <jessehall@google.com> |
Merge "Vulkan compute 0 only requires variable pointers" into oc-dev
|
696ab6b7ff3e8340b49de7dc86792225cd86f4da |
20-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Change ANDROID_ID for Instant Apps" into oc-dev am: 904e6cad28 am: 97eecf8d09 Change-Id: Ibbea27ef27bfaa43649d0ff86e23f0ffd559d7f6
|
3ea7c8b6d52465b8f56c0cdb91fe02b2de511aae |
20-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Flesh out more API docs." into oc-dev am: 3a427c3bd9 am: 750d6d12f6 Change-Id: I3778fa0ead9c23909875f88f7debba1f56c867a0
|
fb303617f81de7e42aec524cf95f71fbfed35c0f |
20-Apr-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Some folks like sending null fields." into oc-dev am: 9a1967e157 am: 218c2135b6 Change-Id: I56fe999c3edb167aac57284700d3ccbbc5d4f9ea
|
e54a1877e9a79e2084e92594cfe281c791ae822e |
20-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add more explicit documentation for install reason"
|
fb4fb03cc3aa273c763df97f99eae1ba11594997 |
20-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Address API council comments" into oc-dev
|
904e6cad286f2bf2ea4254124f4595af88104455 |
19-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Change ANDROID_ID for Instant Apps" into oc-dev
|
3a427c3bd9b8f54dded0b258076f19275c95db97 |
19-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Flesh out more API docs." into oc-dev
|
9a1967e157d0a91705ba20710da003bae26ccde4 |
19-Apr-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Some folks like sending null fields." into oc-dev
|
0d277a7b189c8807d142b69dd8d00b17978a49a5 |
13-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Change ANDROID_ID for Instant Apps ANDROID_ID for Instant Apps now has the following properties: 1) per-app scoped 2) reset if the user clears the Instant App 3) remains the same if the Instant App gets upgraded to an installed app. Note that if the user goes instant -> installed_1 -> uninstall -> installed_2 the ANDROID_ID at installed_1 will not be the same as installed_2. This was deemed better than the id changing on the upgrade step. Test: manual Change-Id: I532975c50049c94ff80902a897e001dd35a69f9f
PackageManager.aidl
ackageManager.java
|
60a82cd4c29ade3e03ac0d1305e701471e40b7cf |
19-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Flesh out more API docs. Flesh out docs for Context.getCacheDir(), Intent.addFlags(), Intent.removeFlags(), and PackageManager.setApplicationCategoryHint(). Test: builds, boots Bug: 37470473, 37327774, 35812899 Change-Id: Ided031185258a89c3e275d65c162d537065ad49e
ackageManager.java
|
67c8c1e1090e8d65c315edac9102c764f4127ac7 |
19-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Some folks like sending null fields. Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.pm.cts.ComponentInfoTest Bug: 37495524 Change-Id: I9040534d717ac70d580bd2a7f5488369ab7c3a47
pplicationInfo.java
|
7a1b8af0005a4d47590e5bd18721ec407f72545e |
14-Apr-2017 |
Jesse Hall <jessehall@google.com> |
Vulkan compute 0 only requires variable pointers Bug: 34745152 Test: make doc Change-Id: If2348a387cdc898b028c5dd577c80246a36b87d3
ackageManager.java
|
35f1fe185421db533461218d3ed14a88994b33cd |
19-Apr-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Address API council comments" into oc-dev am: 57ed0ba69d am: dca67a7f48 Change-Id: I991a268bf1dfc908249c3114802ea0cc2b567c63
|
57ed0ba69d7f36493fc45cac66764bfeb10c6998 |
19-Apr-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Address API council comments" into oc-dev
|
f84fedf2d4e59a220e2ce6cdaf371c304abd1312 |
19-Apr-2017 |
Todd Kennedy <toddke@google.com> |
Merge "update docs per API council" into oc-dev am: e28cccab24 am: 62fc9fd7e7 Change-Id: I187df43e72344e73e1c3d9572a3d692a284ca51b
|
e28cccab24893525a6b0de69c36c49e7889e8505 |
19-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "update docs per API council" into oc-dev
|
345ffa5421f4158b9c30439b9f18aed7b61aaea9 |
19-Apr-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Address API council comments Test: cookie CTS tests pass bug:37327624 bug:37325276 bug:37323696 Change-Id: I52b10470759e471629ec6772e115df94482eb341
ackageManager.java
|
0cb43ef67b5d284f6c0afbca5a50e189355c0ab3 |
18-Apr-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Address API council comments Test: all static shared lib CTS tests pass bug:37327970 Change-Id: Ie8c4d853da5fa0a6125b9def38831860f79ce53d
haredLibraryInfo.java
|
9732f935dc03a4c51f511ddb696fa45a4b096de3 |
18-Apr-2017 |
Todd Kennedy <toddke@google.com> |
update docs per API council Change-Id: Id32be4db7671d3ef99e155f5fc2f3946eac707dd Fixes: 37322490 Test: treehugger
hangedPackages.java
|
cf81c43f4a11d98f738e08577bcf32590dddcf47 |
19-Apr-2017 |
Todd Kennedy <toddke@google.com> |
Merge "update docs per API council" into oc-dev am: 43b814b1d2 am: 1b92db197c Change-Id: Ia61e492ebf4fc5b798f515c24df93961e6e80da5
|
43b814b1d21a87cc82bae0e3b3cea54b7dc995d0 |
19-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "update docs per API council" into oc-dev
|
c2f5258e2ca1c447481734b43109055be07c608e |
18-Apr-2017 |
Suprabh Shukla <suprabh@google.com> |
Merge "Fixing javadoc errors for pm#canRequestPackageInstalls" into oc-dev am: 94ac6ae6d9 am: f415b0c034 Change-Id: I19a478e453da13a5ecd1e6d1ec097172a5c603fd
|
94ac6ae6d9049b3f0646a113013269c4f49f2286 |
18-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fixing javadoc errors for pm#canRequestPackageInstalls" into oc-dev
|
839e8535898314f9cbca6f811a98f2d40ac61e2e |
18-Apr-2017 |
Bartosz Fabianowski <bartfab@google.com> |
Add more explicit documentation for install reason This CL adds more explicit documentation of the install reason argument / return value to PackageInstaller.SessionInfo. Bug: 37324584 Test: None Change-Id: Ifd4ce43e33d89dd499ba4d1ae94ba33b05e27d16
ackageInstaller.java
|
498e095b6eadc472d5d83c4f2d4d94a23bfe7069 |
18-Apr-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Storage API polishing." into oc-dev am: 200d72d933 am: aead06b971 Change-Id: I13baad3e589cfe6b1ee257fa13742394cdee3c51
|
200d72d933920632647ebf8862f3582e7ead3785 |
18-Apr-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Storage API polishing." into oc-dev
|
0b2108e7f75f67ca487ca5cfdc8ccc5378663f55 |
18-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Enhance PinItemRequest javadoc" into oc-dev am: 5838563e93 am: deda224f14 Change-Id: Ib62d8fc270656df7e74a534645478fc78214ee6b
|
8fddf9de4aa695a9efe7b2d306be5632add92b92 |
18-Apr-2017 |
Todd Kennedy <toddke@google.com> |
update docs per API council Change-Id: I182e29912276bc09734bd604e9e2fd866094a95f Fixes: 37328564 Test: treehugger
ackageManager.java
|
901eac61e53f9fbe3ba19836d01a19315c5bcd3e |
17-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "getApplicationInfo() should throw NameNotFoundException" into oc-dev am: c3fa6ab2ac am: 9381a4542d Change-Id: I0d8ffd125fdec072e4345cd109a1d71969cea952
|
c025ea892ecbe6a990068224488a7362bce44687 |
17-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "OEM single-build/multi-SKU via dynamic RRO support" into oc-dev
|
5838563e93022e0d6f733f728a19c3221d2b3c82 |
17-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Enhance PinItemRequest javadoc" into oc-dev
|
c3fa6ab2ac25fa75f204ce68891a7902f808d7da |
17-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "getApplicationInfo() should throw NameNotFoundException" into oc-dev
|
789a8fc792725e4988ff43d554b3c8c037c41921 |
16-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Storage API polishing. Based on API council feedback, switch to using real UUID objects instead of Strings. Since UUID is a general-purpose utility class that will be passed around quite a bit, add it to Parcel and Bundle. Define well-known namespaced UUID values for "default" and "primary physical" storage devices, which will let us annotate a bunch of things with @NonNull. Define new extras for MANAGE_STORAGE intent that apps can use to signal where and how much space they'd like the user to free up. Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest Bug: 37325923, 35812899, 35806020 Change-Id: I8421b126d680f69141a361c1e77223fe2bf4a325
pplicationInfo.java
ackageParser.java
|
56f715160e12c7262502e6cf3e217c991adf7494 |
17-Apr-2017 |
Todd Kennedy <toddke@google.com> |
Merge "expose the instant app installer component" into oc-dev am: 676590d060 am: 8d0dacb5b1 Change-Id: Id1df099740c6e108878c8f10aacceb59b42b0041
|
676590d060778f7e1fb896f03ba53817eb910f93 |
17-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "expose the instant app installer component" into oc-dev
|
ea2f3be7aae9435ce21743c959b62731c87a36b8 |
16-Mar-2017 |
Todd Lee <leetodd@google.com> |
OEM single-build/multi-SKU via dynamic RRO support The purpose here is to provide support for selectively enabling Runtime Resource Overlays (RROs) (specifically those pertaining to a specific SKU, within a OEM's "single build" covering multiple SKUs) at boot based on the value of a pre-defined system property. This mechanism is designed to be compatible with other, recent changes to Runtime Resource Overlays - specifically: - has no effect on 'isStatic'. Resource overlays must be attributed as static in order to qualify for loading into the system_server. The 'requiredSystemPropertyName/ requiredSystemPropertyValue' mechanism operates independent of this and can be used on both static and non static overlays. The effect of specifying a conditional property on any overlay is that it will ONLY be enabled in the event that the system reflects both the property and the specified value (Note that in the ABSENCE of a conditional property, overlays are assumed to be enabled). - has no effect on OverlayManagerService (OMS) API. The OMS provides the system with an interface through which overlays can be enabled/disabled and even rearranged at runtime. This provides the basis of support for various user-level features (e.g. dynamic theme selection). The 'requiredSystemPropertyName/requiredSystemPropertyValue' mechanism operates independent of this - with enablement being completely coupled to the available system properties on the device and NOT subject to change at runtime. Note: as part of this change, original overlay tests have been updated (fixed) and expanded to include tests to cover the conditional property implementation. Issue: http://b/35100249 Test: frameworks/base/core/tests/overlaytests/testrunner.py Change-Id: I1990ce21a27a385db1e2f53294b69dd03988351e (cherry picked from commit d5566c6c47faa6b9dda282741e25ac78c9487d58)
ackageParser.java
|
575284756835deb38850d269c18f43fd493c6e23 |
15-Apr-2017 |
Suprabh Shukla <suprabh@google.com> |
Fixing javadoc errors for pm#canRequestPackageInstalls Fixed @see errrors and upper cased api to API Test: 'make docs' followed by viewing PackageManager.html Bug: 37325276 Change-Id: I26abc2f75a6b9f0b785b29d695461596e53108fb
ackageManager.java
|
7c7fbf6f45925b93833ab9d946b6704da0caf1fc |
14-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
getApplicationInfo() should throw NameNotFoundException ... instead of returning null. Bug: 37324177 Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests Change-Id: I7f9f3729ee0eef6b342e4711379e02516559472c
auncherApps.java
|
a37ac3d6f1fdb51749df3375607ea133c9b3918b |
14-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Enhance PinItemRequest javadoc Test: javadoc only, treehugger. Bug: 37325874 Change-Id: I610e4032340cc732782aed2ea0522ae46b6dd6ce
auncherApps.java
|
65cf224a3ab03e2de23f0bfae3f216e42315abc4 |
14-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Implicitly expose SEND intents to Instant Apps" into oc-dev am: 8ee12087e6 am: 4ad2d2b4d0 Change-Id: I784ba8d936046e65bcec1612ba77ff8aaba26975
|
801e65905b267014f390439cf8388b6ccc854e18 |
12-Apr-2017 |
Todd Kennedy <toddke@google.com> |
expose the instant app installer component Bug: 35873804 Test: TreeHugger Change-Id: I4d962927587bb10833bfe3c3db27fdceab668fc3
PackageManager.aidl
ackageManager.java
|
c40f2ab76e10dfe03272a7844847bf48f09f81af |
14-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Actually remove the chooser APIs" into oc-dev am: fbadd6dac9 am: efda6390c9 Change-Id: I0a43d717f62dddace49e63ff2ab80283dea12357
|
8ee12087e6c919c124fb51a5e9c19ddc9586755f |
14-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Implicitly expose SEND intents to Instant Apps" into oc-dev
|
d5566c6c47faa6b9dda282741e25ac78c9487d58 |
16-Mar-2017 |
Todd Lee <leetodd@google.com> |
OEM single-build/multi-SKU via dynamic RRO support The purpose here is to provide support for selectively enabling Runtime Resource Overlays (RROs) (specifically those pertaining to a specific SKU, within a OEM's "single build" covering multiple SKUs) at boot based on the value of a pre-defined system property. This mechanism is designed to be compatible with other, recent changes to Runtime Resource Overlays - specifically: - has no effect on 'isStatic'. Resource overlays must be attributed as static in order to qualify for loading into the system_server. The 'requiredSystemPropertyName/ requiredSystemPropertyValue' mechanism operates independent of this and can be used on both static and non static overlays. The effect of specifying a conditional property on any overlay is that it will ONLY be enabled in the event that the system reflects both the property and the specified value (Note that in the ABSENCE of a conditional property, overlays are assumed to be enabled). - has no effect on OverlayManagerService (OMS) API. The OMS provides the system with an interface through which overlays can be enabled/disabled and even rearranged at runtime. This provides the basis of support for various user-level features (e.g. dynamic theme selection). The 'requiredSystemPropertyName/requiredSystemPropertyValue' mechanism operates independent of this - with enablement being completely coupled to the available system properties on the device and NOT subject to change at runtime. Note: as part of this change, original overlay tests have been updated (fixed) and expanded to include tests to cover the conditional property implementation. Issue: http://b/35100249 Test: frameworks/base/core/tests/overlaytests/testrunner.py Change-Id: I1990ce21a27a385db1e2f53294b69dd03988351e
ackageParser.java
|
4941483b5569a89324c60d3f8880cdc3aaf3bef4 |
14-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Implicitly expose SEND intents to Instant Apps Test: manual Bug: 37241858 Change-Id: I9029060830e655d8b6779650726d380f7f1ffe23
ackageParser.java
|
fbadd6dac9ba36dc77593668f1ad06d504c56733 |
14-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Actually remove the chooser APIs" into oc-dev
|
d3aebf3320645859ddbc19470984dad53f6c47ff |
03-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Actually remove the chooser APIs Test: build Bug: 36186790 Change-Id: Ib03bb482c266f4c4f1080ca776c738d11a175219
auncherApps.java
hortcutInfo.java
|
59d7c621c3e0ef0f43f51010a59b0a15e9d39d83 |
13-Apr-2017 |
Martijn Coenen <maco@google.com> |
Merge "Add persistentFeature application attribute." into oc-dev am: e4960cf495 am: e90bf46a78 Change-Id: Ie98918aa2410d629f8283c747d8113f42a640719
|
441d61bf16fb63a0e19d6252ab9ac4c35a739006 |
12-Apr-2017 |
Martijn Coenen <maco@google.com> |
Add persistentFeature application attribute. This allows us to only mark processes as persistent when a feature it actually depends on is present on the device. Also adds a "android.hardware.nfc.any" feature, to indicate the device supports any of the NFC features that require the NFC process to run persistently. Bug: 36873979 Bug: 37269025 Test: NFC is still started on devices with NFC Change-Id: I5792d75d8714f39718fa957177a632efcbbd37d3
ackageManager.java
ackageParser.java
|
cb98d9d6f3d1e01e36b27ad4006059256b6e5ead |
13-Apr-2017 |
Svet Ganov <svetoslavganov@google.com> |
Merge "Add autofill feature API" into oc-dev am: a402d6dd2f am: bbef731c2d Change-Id: I3d1429fe4d101072200aae522a2bdf00596273de
|
a402d6dd2f15e179d08cb0d5ffd668916e9a8bfb |
12-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add autofill feature API" into oc-dev
|
43574b03e5604e346f088a1b0da2ab37fb115226 |
12-Apr-2017 |
Svet Ganov <svetoslavganov@google.com> |
Add autofill feature API We now have a software feature for autofill which can be used by partners to disable it on low-end devices or form factors for which autofill doesn't make sense. bug:35956220 Test: manual (requires a custom build) Change-Id: I6c06462ed9ca3ae93331700dce38a8c08dfd0722
ackageManager.java
|
5fccceb2c5fa8f1d29e96f39a86a968396e71907 |
12-Apr-2017 |
Tomasz Wasilczyk <twasilczyk@google.com> |
Merge "Initial implementation of Java-based broadcast radio service."
|
4741e74b8a951c1c6e9584b31b448671cc5c5ac4 |
12-Apr-2017 |
Suprabh Shukla <suprabh@google.com> |
Merge "Renaming intent action for unknown sources" into oc-dev am: a609bbc9c4 am: 56fa529c28 Change-Id: I28f085f5ea2b2d94c23a42f69ce19ea6c8d5c94f
|
a609bbc9c4e1614eca7e70cb90739486f745e5c7 |
12-Apr-2017 |
Suprabh Shukla <suprabh@google.com> |
Merge "Renaming intent action for unknown sources" into oc-dev
|
5af1eee759884f1e3ab46b23ceec99e8d1a1a0fb |
11-Apr-2017 |
Jaekyun Seok <jaekyun@google.com> |
Merge "Bring back the priority feature for static RRO" into oc-dev am: 8f8a71d170 am: 88f49930bc Change-Id: I19b082b9639b08ca584d46077f774a9f6f6a4223
|
42d53f6b1883e3db514ad8d105d23fe6a1e9a59b |
10-Apr-2017 |
Jaekyun Seok <jaekyun@google.com> |
Bring back the priority feature for static RRO Supporting the priority feature is requested by partners because they want to layer RRO for their customers. Applying the priority feature on non-static RRO isn't feasible because their priority should be managed directly by users. Test: building succeeded and tested on sailfish device. Bug: 37185740 Change-Id: I8ef83c5e3178bd395ec7e6498764a535f24ef235
ackageInfo.java
ackageParser.java
|
347192e0da1f39347e7ab7b58b002f166b4afaa7 |
04-Apr-2017 |
Tomasz Wasilczyk <twasilczyk@google.com> |
Initial implementation of Java-based broadcast radio service. It provides only limited amount of service, without actual interaction with HAL. Added config.enable_java_radio switch to use Java-based service instead of native. Added FEATURE_RADIO to PackageManager. Bug: b/36863239 Test: Instrumentation, manual (Kitchen Sink) Change-Id: I01139d326893c0a437c60cc35d6e5b005da35231
ackageManager.java
|
4cab4b3a6a62cd7f2ba007bbb0820bff263f0deb |
08-Apr-2017 |
Andrii Kulian <akulian@google.com> |
Merge "Use feature instead of hidden config for multi-display" into oc-dev am: 72790bade5 am: 2d27f1c538 Change-Id: I2f8c876f53c021e4eca8fb50b4de8f7d5390e673
|
72790bade5f6f2c3673145f39c1e416666f7f579 |
08-Apr-2017 |
Andrii Kulian <akulian@google.com> |
Merge "Use feature instead of hidden config for multi-display" into oc-dev
|
1981f5fd17de4627201363ca57e90927a8a243fd |
08-Apr-2017 |
Andrii Kulian <akulian@google.com> |
Use feature instead of hidden config for multi-display Using a feature will allow app developers to find out if a particular device supports running activities on secondary screens before using the APIs. Bug: 36776777 Test: android.server.cts.ActivityManagerDisplayTests Change-Id: I7121bdb782cac9df70121e9df5cbf3fcb76f4a93
ackageManager.java
|
84b3954974a07c3df4596404a45897e6bccbce25 |
08-Apr-2017 |
Todd Kennedy <toddke@google.com> |
Merge "copy 'visbileToInstantApps' setting" into oc-dev am: e467be5e14 am: 266d20db8e Change-Id: I9c235580967e1852ac6ee48b5b4f4bbd27543343
|
66b5c042c252d954d023ced64bf63484bd905f03 |
07-Apr-2017 |
Todd Kennedy <toddke@google.com> |
copy 'visbileToInstantApps' setting Change-Id: I342a133ae8d7f38008cb03706d160e6f2e2cca97 Fixes: 37002720 Test: Start instant app [adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d http://www.realestate.com.au/property-apartment-nsw-pyrmont-124879602] and see that hitting the 'share' icon works
ackageParser.java
|
a1300c84f63f6288616f8532f9cb3373ad130c7f |
07-Apr-2017 |
Suprabh Shukla <suprabh@google.com> |
Renaming intent action for unknown sources Renaming action MANAGE_EXTERNAL_SOURCES to MANAGE_UNKNOWN_APP_SOURCES to be clearer about its purpose Test: adb shell am instrument -w -e class \ com.android.settings.applications.ExternalSourcesSettingsTest \ com.android.settings.tests/android.support.test.runner.AndroidJUnitRunner cts-tradefed run singleCommand cts -m ExternalSources Bug: 35812498 Change-Id: If38349f349781541673f93638e536a4f2a184bf6
ackageManager.java
|
7671735fa5d307e559ea9873fe94d720ff01b553 |
06-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Allow permissions to be runtime-only." into oc-dev am: 941e9e2b38 am: 57a9464831 Change-Id: Ibf8b8f13ff5a8819671142e77ee238ba08805d40
|
941e9e2b38ae46e167d03f5d5d7afb9701dde88f |
06-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Allow permissions to be runtime-only." into oc-dev
|
a2853b7942c859f5ed340c062ee964fb187e3062 |
06-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Serialize visibleToInstantApps" into oc-dev am: 63cb740b4f am: 6bf9fdc945 Change-Id: I2d794ff7a8eae98c128b201cc6af57a356102aa7
|
63cb740b4fd9f4eea72678f7635df6ecf94b6781 |
06-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Serialize visibleToInstantApps" into oc-dev
|
1c4ed79d3126600d9306283cc759ab9a86b42e4e |
06-Apr-2017 |
Dianne Hackborn <hackbod@google.com> |
Merge "Deliver start service args with ParcelledListSlice." into oc-dev am: 1cf2c97459 am: ec5feb873e Change-Id: I7c9e933e06108de5ddf66585ef753055fd0300ac
|
1cf2c974591cedee33b0849a3bbd05d71d7a14ad |
05-Apr-2017 |
Dianne Hackborn <hackbod@google.com> |
Merge "Deliver start service args with ParcelledListSlice." into oc-dev
|
49f24c60e12653005a276f6f5a01b8863412b20f |
05-Apr-2017 |
Chad Brubaker <cbrubaker@google.com> |
Serialize visibleToInstantApps Bug: 36972663 Test: Webview continues working Change-Id: I680797f0a7edc71917aaf2e0bc56972a39847f8f
ackageParser.java
|
cae17520fbdbc6e07fe5c8a5eed3a79643bf5647 |
05-Apr-2017 |
Sam Lin <samlin@google.com> |
Merge "Add a feature flag for CTS." into oc-dev am: 9ff3ec4872 am: 4a4b6b6211 Change-Id: I8c59cbd4140ae6c449f715588cbba6540577eb0d
|
9ff3ec487232dcf963d258f1649c4dc40946195a |
05-Apr-2017 |
Sam Lin <samlin@google.com> |
Merge "Add a feature flag for CTS." into oc-dev
|
3f7c9f2d0164f2b5826c194e9309791637f35c2c |
05-Apr-2017 |
Dianne Hackborn <hackbod@google.com> |
Deliver start service args with ParcelledListSlice. We have seen issues where we fail restarting a process because there are so many services with so many pending start arguments that we hit IPC limits. So instead of doing an IPC for each service start, collect them together in a list that is sent once, and send it inside of a ParcelledListSlice to control how much data is written inline in the IPC. Test: boot and ran Change-Id: Ifed26ccdf535871e577fc02c7ef1d09060ab06ca
aseParceledListSlice.java
|
158a760a54d3962b32b1f6d22b3592739ee228ae |
05-Apr-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Change name of the intent fields" into oc-dev am: 5379b05256 am: 368628cd8e Change-Id: I0861afea841e3e5b4b2bf94d522e6ddc2eca2cc4
|
90e258baf42dd4c0b2b5256428b37b21b8ac9bd8 |
04-Apr-2017 |
Sam Lin <samlin@google.com> |
Add a feature flag for CTS. Bug: 36599543 Test: Build sailfish and CTS Test: run cts -o -m CtsAppTestCases -t android.app.cts.SystemFeaturesTest#testFeatureNamespaces Change-Id: I659ddbe7d6e2d8762d97b8a418cfc246f7a97a3e
ackageManager.java
|
d46a1604b7e95f7c04966d2961f59858651495c2 |
04-Apr-2017 |
Todd Kennedy <toddke@google.com> |
Change name of the intent fields Change-Id: I67d3f5c7fb3189fdb35908011e92cc82c24b9154 Fixes: 36594944 Test: cts-tradefed run commandAndExit cts-dev -m CtsSignatureTestCases -t android.signature.cts.IntentTest#shouldNotFindUnexpectedIntents
ackageManager.java
|
a5d70a17ebd1b3ffe026879c5d9d96f04d10d4f2 |
23-Mar-2017 |
Chad Brubaker <cbrubaker@google.com> |
Allow permissions to be runtime-only. This adds the new runtime protection level flag that if set means the permission can only be granted to apps that target runtime permissions (>= M). ANSWER_PHONE_CALLS has also been made runtime-only. Bug: 30932767 Test: cts-tradefed run commandAndExit cts-dev -m CtsPermission2TestCases Change-Id: I42b30414c808730f2d5961ca31b6e3db740b8cf7
ackageParser.java
ermissionInfo.java
|
a66371e9be296f3000331a17bf98c045f4b36172 |
04-Apr-2017 |
Daniel Cardenas <danielcar@google.com> |
Merge "Increase visibility of FEATURE_LEANBACK_ONLY" into oc-dev am: d017221a52 am: dbcf5279ad Change-Id: Ia98eaa934f9be88cbec1410555e35c773f6e4ff8
|
d017221a52b36c919d96cd0807a7bbaaa633357d |
04-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Increase visibility of FEATURE_LEANBACK_ONLY" into oc-dev
|
6483c2d5fa47a4f13fee70c6a9a744437357c0f7 |
04-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Don't wtf() for reverse profile access; make it a warning." into oc-dev am: 5fd39fad26 am: d6da0d25cb Change-Id: Iac4bdaf66a661218eca4a562646e4867998b5cab
|
5fd39fad261fbe7c3fce8403e2de557990f80aaa |
04-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Don't wtf() for reverse profile access; make it a warning." into oc-dev
|
c40afac294a3d36568e9f460d7a77c4d184efd90 |
03-Apr-2017 |
Daniel Cardenas <danielcar@google.com> |
Increase visibility of FEATURE_LEANBACK_ONLY Bug: 36003137 Test: Build on Fugu and CTS Change-Id: Iab9be686a004c5c0d1fae02a33898f7ebb264b27
ackageManager.java
|
3cc7cd1c18f5d5b2df0f8aebb22fdb3feb23ecd0 |
03-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Don't wtf() for reverse profile access; make it a warning. Bug:36003688 Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests Change-Id: I6d6a73e1d9281dc0b92186dd0666865b0f6b3f1c
auncherApps.java
|
9bcef123f49bbb5556e5feedfa2b6a67e5bedb70 |
03-Apr-2017 |
Jeff Davidson <jpd@google.com> |
Merge "Squashed merge of master-sim into master."
|
ef7dff2563ccbe74564ab3b417d810a04df556e7 |
03-Apr-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Revert "Push chooser targets to the shortcut manager."" into oc-dev
|
35cda39422acdeb3fa47ca60f131678e52dbfcb3 |
27-Feb-2017 |
Jeff Davidson <jpd@google.com> |
Squashed merge of master-sim into master. Includes the following commits: == New system feature: eUICC. Presence of this feature implies that eUICC-related APIs are expected to function as long as an eUICC is present in the device. Note that an eUICC may be embedded in the device but may also be removable. == Add empty EuiccManager API and plumbing. == Add stub EuiccService. EuiccService is the class that the LPA app must implement; for now, just define the action and priority so that the implementation can be found. Actual methods will come later. Also declare two relevant permissions: BIND_EUICC_SERVICE, which the implementation must require (so that nobody else can bind to the service directly), and WRITE_EMBEDDED_SUBSCRIPTIONS, which permits signature|privileged apps and CTS (via development) to access EuiccManager APIs. == Add UiccAccessRule based off UiccCarrierPrivilegeRules#AccessRule. This class can be used to transfer access rules between an EuiccService implementation and the platform. We also add a simple encoding/decoding of a list of rules so that they may be stored in the subscription info table. == Add getEid() to EuiccManager/EuiccService. getEid() fetches the EID. It requires either a privileged permission (READ_PRIVILEGED_PHONE_STATE) or carrier privileges on the currently-active profile. Until there is a use case that requires opening this up to apps with only READ_PHONE_STATE, we shouldn't do so. To avoid churn in the future, the API signatures for EuiccService include a slot ID to identify which SIM slot is being used. However, this parameter is currently not populated correctly (nor is it usable, as no Telephony APIs accept a slot ID to address commands). There is no need to expose it yet in the EuiccManager APIs as we expect to follow the TelephonyManager pattern of allowing per-slot instances of EuiccManager in the future while keeping other method signatures the same. == Define Euicc UI actions in EuiccManager/EuiccService. The EuiccManager actions are to be implemented by the platform (and only the platform), which forwards the actions to the active implementation. Also, remove our explicit priority meta-data tag as we can just rely on android:priority in the corresponding intent-filter. == APIs for downloading embedded subscriptions. Includes: -getDownloadableSubscriptionMetadata, used by the platform and LUI to fetch metadata about a downloadable subscription. The platform will use this to perform the necessary permission checks (only allowing otherwise-unprivileged apps to download profiles that are permitted per the subscription metadata), and the LUI can use this to present the name of the profile. -downloadSubscription, to actually perform a profile download. The stub for startResolutionActivity is included but not implemented; resolution activities will be handled in a follow-up change. == Test: TreeHugger Change-Id: I47b1da5a69f0736012cb137e02cd6c4e07fdaace
ackageManager.java
|
99302b55c6a960c9078ad2c84ae9be3296bd32f3 |
29-Mar-2017 |
Makoto Onuki <omakoto@google.com> |
Revert "Push chooser targets to the shortcut manager." This reverts commit 58fc95dc578244b7beb687a48184045dcce788b8. Bug 36186790 Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutHostTestCases Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutManagerTestCases Also all unit tests, except for the known failrues. Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests Change-Id: I733ee7e12a419ee7ea17ca67c56afe7b039d189a
LauncherApps.aidl
auncherApps.java
hortcutInfo.java
hortcutServiceInternal.java
|
51b3aaccfe7f8d7a97fb1218c40a37428f26a6a1 |
31-Mar-2017 |
Todd Kennedy <toddke@google.com> |
Implement service filtering Instant apps can no longer see services that haven't been exposed to them via the visibleToInstantApps attribute. Change-Id: I6fd78067d1253825668d67b9e17dd3a0703f5d57 Fixes: 35871716 Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
ackageManagerInternal.java
|
1284be68e806917a1ca75c54cd61960c0b1bb64a |
31-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix issue with force resizing activity when app level doesn't want to" into oc-dev
|
e633eb00a0ab352b4e1a390bb622c7a6ffa2fb68 |
30-Mar-2017 |
Wale Ogunwale <ogunwale@google.com> |
Fix issue with force resizing activity when app level doesn't want to Don't force resize activity whose manifest attribute has resizeableActivity set to false at the application tag level. Fixes: 36704475 Test: Launch an app that disables resizeableActivity at the app level in multi-window mode. Change-Id: I73137175290355266a4d3ecc469e7a39d73dbc62
pplicationInfo.java
ackageParser.java
|
cd181e63ff1a03aff38041e6f30e23cfa27f5c72 |
30-Mar-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Track isolated process owners" into oc-dev
|
0f28a80d8e80a3546fe0776999b2deaa3dc2157c |
29-Mar-2017 |
Chad Brubaker <cbrubaker@google.com> |
Track isolated process owners This fixes two issues: 1) Isolated processes spawned by Instant Apps do not get full access to package lists as those spawned by normal apps do 2) Package manager considers the isolated process the same app as the Instant App that created it when determining what packages are exposed. Bug: 34087569 Test: Webview works Test: Isolated apps cannot access package info of other apps via start an isolated service. Change-Id: Ib26280b87fb46dc66f1f25ee6209427a095342b0
ackageManagerInternal.java
|
03169cddf60d8a8a6f391413c4525577414565c3 |
24-Mar-2017 |
Makoto Onuki <omakoto@google.com> |
Mention <intent> can't have string resources. Test: build Bug 34046756 Change-Id: I761b246d6aba5df4a836af3d0b3bef8f977be5ec
hortcutManager.java
|
61ae34afe3473909f5e6f0d90a889757d99ea12f |
28-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Intercept direct launch of instant app installer" into oc-dev
|
1b782bffdfb197de7ac2181395cd8f8500b0a512 |
28-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "make MATCH_FACTORY_ONLY @SystemAPI" into oc-dev
|
01d69aae3a8431055f2f6dabd0acfba8eaf30b3b |
28-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add extra flag to ApplicationInfoFlags" into oc-dev
|
b21be12d9db5d0d85afa26e401813eaa360bd2e0 |
24-Mar-2017 |
Todd Kennedy <toddke@google.com> |
Intercept direct launch of instant app installer The instant app installer is not designed to be launched directly by 3p apps. Instead, intercept the launch and make it look like a "normal" instant app launch. cherry-picked from I89c9b8c56865e260a2b92f8c2312a305a74f9cf5 Bug: 33073524 Test: Built and notice poorly behaving apps [*cough* keep *cough*] now launch instant apps Change-Id: I5401aa8423042f54f1478409065b0d6b25cebe89
ackageManagerInternal.java
|
ea2529df19eb38425d86ae74c7ba01089492aa31 |
28-Mar-2017 |
Todd Kennedy <toddke@google.com> |
make MATCH_FACTORY_ONLY @SystemAPI cherry-picked from I9e2046b62cb20c5b6651e91f833aff04d45d9800 Bug: 35946061 Test: None; just added an annotation Change-Id: I604f962b9826700c335eeda9682d3354f6260c40
ackageManager.java
|
b65c36a0343b00777ffc401aa383f40922416d33 |
28-Mar-2017 |
Todd Kennedy <toddke@google.com> |
Add extra flag to ApplicationInfoFlags MATCH_DISABLED_COMPONENTS should be part of ApplicationInfoFlags. cherry-picked from If6a925c156192ee4663f0cb66d82fc03a86940d6 Change-Id: I048635ff0938f2772d5702de7eb4bc4812ece605 Fixes: 34969805 Test: None; updating annotation
ackageManager.java
|
336ae5b6161454304ef09be715505007c7a7da56 |
24-Mar-2017 |
Chad Brubaker <cbrubaker@google.com> |
Add ACTION_EPHEMERAL_RESOLVER_SETTINGS This Intent will be used in Settings to show the settings UI for the Ephemeral resolver. Settings can get the correct component to send the Intent to by calling PackageManager.getInstantAppResolverSettingsComponent Bug: 35918998 Test: Boots Change-Id: I0edcf85704f2c19e0ee27f91b6ef057d52e32778 (cherry picked from commit aa49cb86e6d5f23d82c97db32c848bc4ea2b81bc)
PackageManager.aidl
ackageManager.java
|
2cbfa1ec746fa4b3c385ab5c2f707895dd4ecf50 |
28-Mar-2017 |
Amith Yamasani <yamasani@google.com> |
Catch IllegalArgumentException to avoid SyncManager crash When SyncManager's scheduling races with an app with a sync adapter being uninstalled, it can get an IAE from PackageManager. Catch this exception and skip over the job. Bug: 36658118 Test: Manual Change-Id: I0a63a3e0aa19cb5685aa18c7c6c9d6dd6ccfd60a
ackageManagerInternal.java
|
0cb70ac40f12241b4592167e69b8a24a84b6cb4d |
27-Mar-2017 |
Wale Ogunwale <ogunwale@google.com> |
Fixed logic error with setting maxAspectRatio Ignore maxAspectRatio values less than 1.0 and set it to 0 which means use device aspect ratio. Change-Id: Ib2c76f6232e3f7521a1a4565d7c0c9e1de9c9eac Fixes: 36606641 Test: cts/.../run-test CtsAppTestCases android.app.cts.AspectRatioTests
ackageParser.java
|
55ddf8f9e5d8241130aeac6be7b4978860f41bf8 |
20-Mar-2017 |
Wale Ogunwale <ogunwale@google.com> |
Added support for maxAspectRatio manifest attribute. - Allows an app to specify the maximum aspect ratio it supports. - Support for overriding configuration and bounds at the activity record and app window token level. Test: cts/.../run-test CtsAppTestCases android.app.cts.AspectRatioTests Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerTests Test: bit FrameworksServicesTests:com.android.server.wm.WindowFrameTests Bug: 36505427 Bug: 33205955 Bug: 35810513 Change-Id: Ib2d46ed0c546dd903d09d6bb7162a98bd390ba81
ctivityInfo.java
pplicationInfo.java
ackageParser.java
|
e219aaae85bc8749b787d27fa9fd741035f7f17f |
23-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Delete preloadsFileCache when the cache has expired"
|
935618a2c5d8e776a1372473e6355c65f0570414 |
23-Mar-2017 |
Fyodor Kupolov <fkupolov@google.com> |
Delete preloadsFileCache when the cache has expired Added deletePreloadsFileCache that can be called from settings app. Modified freeStorageAndNotify to call deletePreloadsFileCache if the cache has expired, or aggressive flag is set. Bug: 34690396 Test: Manual Change-Id: Ia097cd2f62ad501644be1c2cc573c249d8cfbf55
PackageManager.aidl
|
fe7f38c376a7b1f48ccad46cc8a8784220879a3e |
23-Mar-2017 |
Todd Kennedy <toddke@google.com> |
update comment with a bug number Change-Id: Iff12dfd90d5b67da9f32b1f7b2410ac59ef07018 Test: None. Comment-only change
ackageParser.java
|
0466e4a83735884756b6af147d34f6147add7d9a |
23-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Allow exposing components via <meta-data>"
|
ab2bc07e5fcf2797c165890109016af0ee314e46 |
22-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Prevent downgrade of targetSandboxVersion"
|
a6906adf59808da70f39a9b5db0e6a986fa371d1 |
22-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Explicitly call out email in "social" category."
|
d2b69100f401de42a6d43ebb3093c7f5f3c9b79a |
22-Mar-2017 |
Jeff Sharkey <jsharkey@android.com> |
Explicitly call out email in "social" category. Test: builds, boots Bug: 35294569 Change-Id: I08b2c1b1b95b6c2fc6fd7be417cd0f9547c8237b
pplicationInfo.java
|
9f29617d589b8daccda1d3b37de97662b9147cb1 |
22-Mar-2017 |
Eugene Susla <eugenesusla@google.com> |
Merge "Add system feature for Companion Device Manager"
|
752fb70b510b57a1cdbe363b0e6183d74034f43c |
22-Mar-2017 |
Todd Kennedy <toddke@google.com> |
Allow exposing components via <meta-data> Change-Id: I3d5f7f086c4da8d383f18f45e9510eea1db88c03 Fixes: 36479185 Test: Locally modify ephemeral cts tests to use <meta-data> and run 'cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest'
ackageParser.java
|
6f4b2a3039ac353e1b0bcebfdebba5060ad38cf3 |
21-Mar-2017 |
Jeff Sharkey <jsharkey@android.com> |
Shame developers that are calling hidden APIs. Test: builds, boots Change-Id: Id3edf1a7890f7dbc4cff2a2699bbeabc247c6e90
ackageManager.java
|
652438cb19f6a8e3244a61526965f90cd5285df1 |
18-Mar-2017 |
Kevin Hufnagle <khufnagle@google.com> |
2-way cherry-pick from oc-preview-docs-release: docs: Updated ShortcutManager Javadoc for Android O Developer Preview. Test: make ds-docs -j12 Bug: 34685739 Change-Id: Ie70977f9b7b5b08de8bdd583a1e21b8a00eb5970 Original-Change-Id: I3cfa360ebd025a7eb198d7fe54f96059f42cd7f5 Original-Change-Id: I45ef30010f696604c06ce2cd7e2eca1db012e68b
hortcutManager.java
|
3e1be91dcea8b4cad98841ff97f28c383026137b |
17-Mar-2017 |
Kevin Hufnagle <khufnagle@google.com> |
docs: Edited ShortcutManager reference docs for Android O. Added descriptions of features that have been added or have changed within the ShortcutManager class. Bug: 34685739 Change-Id: I45ef30010f696604c06ce2cd7e2eca1db012e68b
hortcutManager.java
|
683bcd30ef0a90bc2a6a3dffb91be5a803560fa9 |
19-Mar-2017 |
Jeff Sharkey <jsharkey@android.com> |
Use allocatable space when measuring for install. The system is often willing to clear cached data to make room for incoming installs, so use StorageManager.getAllocatableBytes() when making "does it fit?" style decisions. Add new INSTALL_ALLOCATE_AGGRESSIVE flag, which will flow through to use StorageManager.FLAG_ALLOCATE_AGGRESSIVE when making allocation related requests. (This can be used by installers to indicate packages that are critical to system health or security. Test: runtest -x frameworks/base/core/tests/coretests/src/android/content/pm/PackageHelperTests.java Bug: 36131437 Change-Id: If8118762fd1ca1f497d2cdd1787bdb3c9759dcc0
ackageInstaller.java
ackageManager.java
|
cf2c279a2320de6d81f7fffa4ddfd9780abe1e20 |
18-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add TRON logs"
|
10eb1455b9047084261442392f00235ec023eec2 |
18-Mar-2017 |
Adam Lesinski <adamlesinski@google.com> |
Merge changes from topic 'configForSplit' * changes: libandroidfw: Search all packages for an identifier AAPT2: Finish support for feature splits Add support for configForSplit
|
50d946c13a5a47c6617530425479b0ad4f381700 |
17-Mar-2017 |
Todd Kennedy <toddke@google.com> |
Add TRON logs Add logs for instant app resolution [both phase 1 & 2] as well as new logs for all activity starts. Change-Id: I0d25daa383854eacd3bc406ce1360d819a8ec4ba Fixes: 35442251 Fixes: 35441725 Test: Manual; install/run instant app and inspect the event logs for appropriate tags
ctivityInfo.java
|
06ca1e08739fb2df62327293a6222f541639642d |
17-Mar-2017 |
Chad Brubaker <cbrubaker@google.com> |
Allow Instant Apps access PackageInfo of exposed apps Instant Apps can only see apps that explicitly expose a component via android:visibleToInstantApp. Bug: 34087569 Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest Change-Id: Ibcba43597f545966abc883e90008369fb20d61ae
ackageParser.java
|
1665d0f028e3a225cb117d3e227bef5c5dace2d4 |
10-Mar-2017 |
Adam Lesinski <adamlesinski@google.com> |
Add support for configForSplit Applications with the android:isolatedSplits="true" attribute in their AndroidManifest.xml would have their Split APKs loaded in isolation of each other, based on a set of dependencies. Configuration Splits generated for a Feature split would not be properly loaded before, so this change, along with a tools change, fixes this issue and completes support for isolatedSplits. Bug: 30999713 Test: CTS test coming (depends on some tool changes) Change-Id: Ia4e7b0e69168a9d6637867558e306f7031720fb3
pplicationInfo.java
nstrumentationInfo.java
ackageParser.java
plit/SplitAssetDependencyLoader.java
plit/SplitDependencyLoader.java
plit/SplitDependencyLoaderHelper.java
|
2bd3c49eb44d9dad670daa8ac6950e46dcf16615 |
16-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add feature tag android.hardware.vr.headtracking."
|
279dd66dfd458a861332a27a6259d83fe4b43bbc |
16-Mar-2017 |
Craig Donner <cdonner@google.com> |
Add feature tag android.hardware.vr.headtracking. Different versions of this feature specify different levels of headtracking capability. Bug: 36294374 Test: build Change-Id: I00273c9093321661b5ca519d7cd065ae0105c3b2
ackageManager.java
|
b30ee8d02502dd38e4b33a7b1accedffd0f3a5d8 |
16-Mar-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Create new BroadcastBehavior annotation."
|
be4cf58436437da3bf78c48eeb401a5416459f95 |
15-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add API to mark apps that have an update available"
|
ab53289c593aad60eddbe1ffc73402ac1f92c112 |
08-Mar-2017 |
Todd Kennedy <toddke@google.com> |
Add API to mark apps that have an update available Ostensibly for instant apps, we allow play to mark an app as having an update available. This will trigger instant app resolution even if the instant app is already installed on device. Bug: 35143464 Test: Manual; launch URI of installed instant app, see it runs w/o resolution. set bit. launch URI of installed instant app, see it runs resolution Change-Id: I511df2b2a3eab39377167c770255ccbe02d5dad2
PackageManager.aidl
ackageManager.java
|
7c3eef2f3d085bc14f736240896523217a448408 |
10-Mar-2017 |
Eugene Susla <eugenesusla@google.com> |
Add system feature for Companion Device Manager Bug: 30932767 Test: Add just the feature gating first, ensure Context#getSystemSetrvice now returns null. Add feature in the configuration files, ensure companion device feature works again. Change-Id: I4ad2d52f7877eae0e951f43ddbb23881d5de8d8b
ackageManager.java
|
0434289c45bc18f81f26d66e6bcbf8facf128665 |
02-Mar-2017 |
Jaekyun Seok <jaekyun@google.com> |
Apply static RRO Static RRO package is designed to support resource overlay for system server and they shouldn't be disabled or changed by a user. The design details are in go/treble-static-rro. Selection method for static RROs will be applied later when its design is determined. Test: building succeeded and tested on sailfish. Bug: 35742444 Change-Id: I8cbf2fd37a73a24bf6ad291e2c5cf75a0fc757fc
ackageInfo.java
ackageParser.java
|
02d4e3441bc1bf767d0ed57b81bdfa59d2894cb6 |
11-Mar-2017 |
Jeff Sharkey <jsharkey@android.com> |
Move PackageInstaller over to AppFuse. When PackageInstaller was originally written, we needed a way to ensure that untrusted apps were fully hands-off of any opened FileDescriptors before we could proceed with certificate checks. The best way to satisfy this security constraint was to build a utility called FileBridge which was a (terribly slow) RPC mechanism that could be cut off when needed. However, a new feature called "AppFuse" offers to create a "proxy" FileDescriptor which relays file operations back into userspace, and it's much more performant than FileBridge. (Local benchmark tests that deliver a 64MB APK show that AppFuse is about 45% faster than FileBridge.) Because userspace is still involved in every operation, we can still "revoke" access at any time to deliver on our security requirements. This change adds support for AppFuse, while keeping around FileBridge as the default for now. An upcoming flag-flip CL can be used to easily switch between the two modes. Test: builds, boots, benchmarking, stress tests Bug: 35728404, 31332379, 25510838 Change-Id: I2a70c0ca922a5ba468ffdef7b2fd8ab79f7cfefd
ackageInstaller.java
|
34573b289f03d29aa4da114a33c5584856da412d |
08-Mar-2017 |
Chad Brubaker <cbrubaker@google.com> |
Prevent downgrade of targetSandboxVersion Bug: 34761192 Test: manual Change-Id: I0a17006156213ebbc748a37bc5b4ceaa8cc8dd94
ackageManager.java
|
32ee8eefd753398186c6967febc6d4d001f9c1cb |
09-Mar-2017 |
Jeff Sharkey <jsharkey@android.com> |
Create new BroadcastBehavior annotation. This will be used to help document the expected behavior of various broadcast actions defined by the OS. Also add logic to PackageParser that will then yell at developers whose manifests are making bad assumptions about which broadcasts they'll receive. Test: builds, boots Bug: 35925551 Change-Id: I059c2bf8aa3ce53d9ff18dcc263db7620cd14bd6
ackageParser.java
|
60f95aa00a24c8f8548726bf2f30c951a4efe20a |
08-Mar-2017 |
Jeff Sharkey <jsharkey@android.com> |
Move lagging users over to new storage API. Over the last month we've been moving everyone over to the new StorageStatsManager public APIs, but we missed these users. The ApplicationsState changes are straightforward, but we had to completely rewrite StorageMeasurement to use the new fast-path quota APIs. Test: builds, boots, UI using StorageMeasurement works. Bug: 36056120 Change-Id: If02177c95bf8c96ae4eceac4d631a168f99bef84
ackageManager.java
ackageStats.java
|
aae1cc597dcb97fe55feff5c15c354b7d7d7ece8 |
08-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Expose Instant App API defined in MR1"
|
8603ad42df11630e833c10a5d211b01d2cc60c25 |
07-Mar-2017 |
Daniel Nishi <dhnishi@google.com> |
Merge "Use the fast track for the AppCollector."
|
9c9fdf27ff74fd4011239b25723f6c05ee5886fa |
06-Mar-2017 |
Todd Kennedy <toddke@google.com> |
Expose Instant App API defined in MR1 These were created in MR1 but couldn't be submitted because they were defined too late [after API freeze]. Change-Id: Ie6884236776bd26e9d0b557fd125b8c77b0ad93b Fixes: 34890162 Fixes: 35193180 Fixes: 35193418 Test: manual
ackageManager.java
ackageParser.java
|
e9a5262f2ae498fe466df1ac36f0854e12fbfd32 |
07-Mar-2017 |
Andreas Gampe <agampe@google.com> |
Framework: Avoid string allocations Avoid common string allocations for ":complete". Test: m Test: Device boots Change-Id: I8c7a53346a4e1aa1beefd17429e13e20ab510f20
ELinuxUtil.java
|
a485f71fd77302f31daa0d6ae29f6802a61eddcf |
06-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Refactor EphemeralResolverService"
|
64979aacb51b7a577862b7069e2f89d7e0fe8062 |
04-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "expose isSealed() from the installer session"
|
1fb3404b2ba69a823e961bec2d9ed61622107052 |
01-Mar-2017 |
Todd Kennedy <toddke@google.com> |
Refactor EphemeralResolverService * Change name to InstantAppResolverService * Left old service in place to handle existing client [to be removed prior to O launch] * When resolving phase II, return a list instead of a single item Bug: 34763730 Test: Build and verify resolution occurs w/ legacy & new resolver service Change-Id: Ieccaf91538bd91c04f4be4e35d8264619d7cd6d7
uxiliaryResolveInfo.java
phemeralIntentFilter.java
phemeralRequest.java
phemeralResolveInfo.java
nstantAppIntentFilter.java
nstantAppRequest.java
nstantAppResolveInfo.java
|
04cc191c3cb79fd8875d813dcd25b6f797eb34cc |
03-Mar-2017 |
Todd Kennedy <toddke@google.com> |
expose isSealed() from the installer session Change-Id: I5232a012fbee8931b0e3f584d6bb2e273a789dee Fixes: 35948628 Test: Manual
ackageInstaller.java
|
e096df0063f9b22af1bf9159e4b6056c1c5c70f0 |
03-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Adding support for passing arbitrary extras when requesting to pin a widget. Also defining an extra constant for widget preview which can be used by developers to provide a snapshot of the widget with the pin request"
|
90ac28d618a8428a5943e4183d4139f08a5a25ad |
03-Mar-2017 |
Calin Juravle <calin@google.com> |
Add a shell command to force the background dexopt job am: f7edab63d9 Change-Id: Ie77bc356a9ff4786c23a06d1267dc7ca5e45a90a
|
110e897eaa78aab17685ada1402185f69358699a |
03-Mar-2017 |
Calin Juravle <calin@google.com> |
[PM] Clean up logic for secondary dex oat files am: e69fba3f7f Change-Id: I223b27221acf25e628003dde0f63cffe66779753
|
468be64cf2a7dac72f9803f6b1fb0fbed0a17fa6 |
03-Mar-2017 |
Calin Juravle <calin@google.com> |
Compile secondary dex files in DexManager am: 7218363a92 Change-Id: I53e7864b097cf9cff702e9185bb1c9091d97fe63
|
f7edab63d9358b9a4e0dbec3243f6db9f50a2bbe |
26-Jan-2017 |
Calin Juravle <calin@google.com> |
Add a shell command to force the background dexopt job Add 'bg-dexopt-job' command to 'adb shell cmd package' which will force the background dexopt job to run the optimizations immediately. Note that the command only runs the background optimizer logic. It may overlap with the actual job but the job scheduler will not be able to cancel it. It will also run even if the device is not in the idle maintenance mode. Test: adb shell cmd package bg-dexopt-job Bug: 32871170 (cherry picked from commit cb5f41ea11b1a6fcd0977a64ee146dde8f537076) Change-Id: I82c781d46fe16e7b7566a5b5ee91be723a2125cb Merged-In: I8b0112074220b2e09baf13d842401ee1cf306a89
PackageManager.aidl
|
e69fba3f7fbc8e4fc6c02b80c8fac097804b97f7 |
25-Jan-2017 |
Calin Juravle <calin@google.com> |
[PM] Clean up logic for secondary dex oat files Add logic in DexManager to reconcile secondary dex records with the actual files on disk. If secondary dex files are moved or removed then DexManager will remove the generated oat files during the call to reconcileSecondaryOdex() and update its internal state. Add 'adb shell cmd package reconcile-secondary-dex packageName' which will force DexManager to sync its data with the actual secondary dex files. Test: devices bots runtest -x .../PackageDexUsageTests.java runtest -x .../DexManagerTests.java adb shell cmd package reconcile-secondary-dex com.android.google.gms (after artificially/temporarily renaming some dex files) Bug: 32871170 (cherry picked from commit c22c30ed1c05c5c24185dc4d380d1c5026923d46) Change-Id: Ied9fcbfe367ed3a8250a9ba8d202518b264c64e8 Merged-In: Id2d72dc89995f89cf1ddf79ae4e992afd3f3c127
PackageManager.aidl
|
7218363a92d15cc1854cf298ef77e1ed2aeafa3b |
17-Jan-2017 |
Calin Juravle <calin@google.com> |
Compile secondary dex files in DexManager Add logic for secondary dex compilation in DexManager. Also, extend the `cmd package compile` command with '--secondary-dex' option which will compile all used secondary dex files for the given package. Test: flash & boot, cmd package compile --secondary-dex -f -m speed com.google.android.gms Bug: 32871170 (cherry picked from commit c22c30ed1c05c5c24185dc4d380d1c5026923d46) Change-Id: I3cf26edbfb5e9f3683e608bb2a596e1ab5682bd4 Merged-In: Ia2b95cb70d26c4ead5cb650047641b0881ca84ae
PackageManager.aidl
|
c8f0100248292ec2120beb224793589074579508 |
02-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Adding platform constants for various install reasons."
|
594ea5f8b031c09de090eab446209b84aa78fd37 |
02-Mar-2017 |
Dianne Hackborn <hackbod@google.com> |
Merge "Implement issue #34842682: Add ability to limit permissions based on features"
|
80af6a27fd38c105ca16a110b158a5c6bf6835d3 |
02-Mar-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Adding platform constants for various install reasons. Bug: 33415829 Test: Not a testable change Change-Id: Ib0803e55f71a1c6b46e12b1a324db4e028a20529
ackageManager.java
|
c20082bd46e614c054a0f883e316fb37f26b110d |
02-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Change MaskableBitmap to AdaptiveBitmap Test: $ make dist -j30 b/35399620"
|
4ad6b57700bef4c484021f49e018117046562e6b |
28-Feb-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for passing arbitrary extras when requesting to pin a widget. Also defining an extra constant for widget preview which can be used by developers to provide a snapshot of the widget with the pin request Bug: 35811129 Test: All exisiting tests passing for f in 1 2 3 4 5 6 7 8 9 10; do \ adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest$f \ -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner; \ done; adb shell am instrument -e class com.android.server.appwidget.AppWidgetServiceImplTest \ -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner Change-Id: Id854bd28468a5bf0416ff1a1b19c44d850016f32
PinItemRequest.aidl
auncherApps.java
hortcutServiceInternal.java
|
31a16551910492321a6f7c291eb33e1458f39f0a |
02-Mar-2017 |
David Christie <dnchrist@google.com> |
Create PackageManager.isInstantApp API to query whether a given package name is an instant app. Test: refactor existing codepaths retained Change-Id: I6253fe8cc398d6547566d11043bffd1c4ffaa74a
ackageManager.java
|
e4179e2c4e674b32390a9133bb9fbb3ef5df651b |
01-Mar-2017 |
Hyunyoung Song <hyunyoungs@google.com> |
Change MaskableBitmap to AdaptiveBitmap Test: $ make dist -j30 b/35399620 Change-Id: I96d6eaceaf7ce9dec7de21634a5fa2bd40b0deba
auncherApps.java
hortcutInfo.java
|
cd154e95353e7af11314d2339500d6c7f85e181a |
01-Mar-2017 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #34842682: Add ability to limit permissions based on features Two new attributes for <uses-permission>: android:requiredFeature and android:requiredNotFeature. Also update aapt to include this information in badging: uses-permission: name='android.content.cts.REQUIRED_NOT_FEATURE_UNDEFINED' requiredNotFeature='android.software.cts.undefined' uses-permission: name='android.content.cts.REQUIRED_MULTI_DENY' requiredFeature='android.software.cts.undefined' requiredNotFeature='android.software.cts' Test: new PermissionFeatureTest suite. Change-Id: Icc1f815a4675ae9dd2cb7f61730ab28b5c11228a
ackageManager.java
ackageParser.java
|
1b4cdf909f7c9f3ad9b12d666ca5a4c1dde43308 |
01-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add boolean when instant apps are available"
|
d7b0329ab7c3355c84f8227939e88f305dd78b51 |
28-Feb-2017 |
Daniel Nishi <dhnishi@google.com> |
Use the fast track for the AppCollector. This replaces some of the threading shenanigans done to get this working with the regular PackageManager call. By swapping this out, we can get results faster, using less power, and with a simpler implementation and testing strategy. Bug: 35807386 Test: FrameworkServicesTest Change-Id: Ib94fd7eba838b5e728f8f2615bcb4d9c82f21885
ackageStats.java
|
32e075de37a45541ce0952c2e5ee6d4bbefb20d6 |
01-Mar-2017 |
Todd Kennedy <toddke@google.com> |
Merge "fix typo"
|
bcdaf9208cfc34757c7d51c6b9cf73b383711ffb |
01-Mar-2017 |
Todd Kennedy <toddke@google.com> |
fix typo Fixes: 35840741 Test: None; it's a javadoc fix Change-Id: Ic59fe12351c24630d7ba18ffaafeef8035be35f5
nstantAppInfo.java
|
e19e5677a57de03453ed61d7c36c806427a98d20 |
01-Mar-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Sending explicit broadcast to the launcher when a package is installed"
|
533c9ff58d7649c6056f12c85b4122970f77236b |
27-Feb-2017 |
Todd Kennedy <toddke@google.com> |
Add boolean when instant apps are available Bug: 34168547 Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest Change-Id: Ic1072d02aa4d43947e689e4381c2c5ee43704dd0
esolveInfo.java
|
a7aaae881cb3168641e3117a0de6db15b63b5a44 |
28-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Delete ParcelableString, add StringParceledListSlice"
|
6d7cb232362d8036875d1d3c3f0e8f5d47a2ad25 |
30-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Sending explicit broadcast to the launcher when a package is installed Test: Manually tested on device and add CTS tests Bug: 32920609 Change-Id: Ic23c077a469fb41d6c4e123d4bc022899f634198
ackageInstaller.java
|
abaa0695c5361b36a7a2cdbe87c77bf60be20af7 |
20-Feb-2017 |
Robin Lee <rgl@google.com> |
Delete ParcelableString, add StringParceledListSlice Both inherit from package private BaseParceledListSlice. This is still bad, but it's not as bad. The existing code that uses this can just do Foo.bar().getList() now instead of having to marshal to and from an oddball type at either end as well. In the longer term ParceledListSlice<> should be eliminated, but it's not clear how far into the future that is going to happen. Test: runtest -x services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java Test: runtest -x core/tests/coretests/src/android/content/pm/ParceledListSliceTest.java Change-Id: Ie69b96b5215d6e04990f6d31345772cdfee21d78
aseParceledListSlice.java
arceledListSlice.java
tringParceledListSlice.aidl
tringParceledListSlice.java
|
1058a3dd95c6afe89e2a9eb97fa2e554f383ee86 |
27-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Push chooser targets to the shortcut manager."
|
9687767d759936a51ca2f7d90b3810f8b9bea0d4 |
27-Feb-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Allow querying providers with a specific metadata."
|
58fc95dc578244b7beb687a48184045dcce788b8 |
14-Dec-2016 |
Hakan Seyalioglu <hseya@google.com> |
Push chooser targets to the shortcut manager. More info at go/direct-share-push Test: Some basic testing currently in, more to be added. Change-Id: I069f9779988c3eca2c4d8b83ec62501983854355
LauncherApps.aidl
auncherApps.java
hortcutInfo.java
hortcutServiceInternal.java
|
4190575960f524696da89574e6825f91e0925ead |
27-Feb-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Delete @removed APIs that never shipped."
|
e9cedbd28199cac0eb1e392d0703880d3e56725d |
25-Feb-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Don't include Bitmaps in activity intents"
|
8abba3a641086cbc66c7ed037a8f6f8a9f600802 |
24-Feb-2017 |
Makoto Onuki <omakoto@google.com> |
Don't include Bitmaps in activity intents Bug: 35515740 Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutManagerTestCases Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutHostTestCases Change-Id: Ibb94728eb03997bb850b08c61c756f283bd90a08
PinItemRequest.aidl
auncherApps.java
|
dd9bda81f698043a0110d4e2178d20cb160ba829 |
24-Feb-2017 |
Jeff Sharkey <jsharkey@android.com> |
Delete @removed APIs that never shipped. These were never part of any public API level, so apps should never have been using them. Test: builds, boots Bug: 31241513 Change-Id: I4fc8f5c325da56694a5db98acc995a22d4947805
pplicationInfo.java
ackageManager.java
|
2140cd6431266bdb17024c66bb93cf88ff7cc407 |
24-Feb-2017 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Block new installs into ASEC containers."
|
8c61e39e042c31dd21567897c834c7c45fe7181b |
24-Feb-2017 |
Jeff Sharkey <jsharkey@android.com> |
Block new installs into ASEC containers. ASEC containers have been deprecated since MNC, which is when we introduced the "adoptable storage" feature. Adoptable storage is a much better user experience, since we move both the APK and private app data together as a single unit, making it much easier to explain to users. Test: builds, boots Bug: 32913676 Change-Id: I97385d081a50a79fc005d4e23e09999f9ae6cfc1
ackageManager.java
|
08880f2ffad955e6dbc2b010509a5df9d81be06a |
24-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Delete some more @removed APIs."
|
4669098625e52aed94d9f4f6f481dc865bfd0850 |
24-Feb-2017 |
Jeff Sharkey <jsharkey@android.com> |
Delete some more @removed APIs. Test: builds, boots Bug: 25434584 Change-Id: I34d5a67c3c96ee0fbe2f2b8ef1327348a8bef04f
ontainerEncryptionParams.aidl
PackageManager.aidl
anifestDigest.aidl
|
9584868f8824e41f010590b4c64654a6de1f5357 |
24-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add new internal resolve method"
|
bd9e74cae0f3de1039c9ddcee3caa0849b604c7c |
24-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "OMS: integrate OverlayManagerService into framework"
|
4d1de7da79010be3e1f0eb85aa50b6002a8241fd |
23-Feb-2017 |
Todd Kennedy <toddke@google.com> |
Add new internal resolve method Instant apps are unique in that any application can start them with a VIEW/BROWSABLE while only very few apps can see an instant app using queryIntentActivites, etc... In order to support this dichotomy, we need an internal hook to resolution for activity start. Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest Bug: 25119046 Change-Id: If6974c09c733ff0417ef72cabb9d9e9aca86c37c
ackageManagerInternal.java
|
2e0d0f311100d8e0bb40d7d60b8498237f011f0c |
02-Jun-2016 |
MÃ¥rten Kongstad <marten.kongstad@sonymobile.com> |
OMS: integrate OverlayManagerService into framework Hand over ownership of overlays to OverlayManagerService. Changes to a package's overlays are propagated using the activity life cycle. Affected activities will be recreated as needed. This provides a well-defined point to modify an application's assets while the application is paused. Consolidate how overlays targeting the system and overlays targeting regular applications are handled. Previously, system overlays were handled as a special case. Now, everything is handled identically. As a side effect, the call to idmap --scan during Zygote boot has become obsolete and is removed. Information on what overlays to use is recorded in ApplicationInfo.resourceDirs. The PackageManagerService is responsible for the creation of ApplicationInfo objects. The OverlayManagerService is responsible for informing the PackageManagerService in advance about what resourceDirs to use. When launching an application, the ApplicationInfo is already populated with up-to-date information about overlays. When enabling or disabling an overlay for a running application, the OverlayManagerService first notifies the PackageManagerService about the updated resourceDirs. It then tells the ActivityManagerService to push the new ApplicationInfo object to the application's ActivityThread. Finally the application requests its ResourcesManager to create new ResourcesImpl objects based on the updated paths. Change-Id: Ib8afa05ccab4e2db558f89ce4423983c086bb61a Co-authored-by: Martin Wallgren <martin.wallgren@sonymobile.com> Signed-off-by: Zoran Jovanovic <zoran.jovanovic@sonymobile.com> Bug: 31052947 Test: run tests from 'OMS: tests for OverlayManagerService'
ackageParser.java
ackageUserState.java
|
e991022423c2e5b4386553af7ef3b54da7c54be1 |
22-Feb-2017 |
Todd Kennedy <toddke@google.com> |
Load splits on-demand A split may be declared in an application's base manifest, but, defined in a feature split. When resolving such a component, invoke the installer to download and install the necessary split(s) At the moment, this only works for instant apps. However, the implementation is generic and could be applied to any application. Bug: 25119046 Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest Change-Id: I6598abb34becfd049fc03199813226736e5057b1
uxiliaryResolveInfo.java
phemeralRequest.java
phemeralResponse.java
ackageManagerInternal.java
esolveInfo.java
|
32757292030117e3abda2bb2a3eb349f646c9fa8 |
22-Feb-2017 |
Makoto Onuki <omakoto@google.com> |
Allow querying providers with a specific metadata. CP2 will need it to scan GAL providers faster. Test: Manual test with CP2 under development Bug: 35388445 Change-Id: I1202420078b1bbe48f6eb4bb9e3f705c71df9c0c
PackageManager.aidl
ackageManager.java
|
95459806920dec34abb3214ab6e1a9b9213a2a61 |
23-Feb-2017 |
Guang Zhu <guangzhu@google.com> |
Revert "OMS: integrate OverlayManagerService into framework" Bug: 31052947 Bug: 35697944 This reverts commit 21a3d1ad686dee97b9cf0ed80389ee2ab0d48013. Change-Id: I2d86931020301524c26cf8c8e80d557c97fdd6c3
ackageParser.java
ackageUserState.java
|
21a3d1ad686dee97b9cf0ed80389ee2ab0d48013 |
02-Jun-2016 |
MÃ¥rten Kongstad <marten.kongstad@sonymobile.com> |
OMS: integrate OverlayManagerService into framework Hand over ownership of overlays to OverlayManagerService. Changes to a package's overlays are propagated using the activity life cycle. Affected activities will be recreated as needed. This provides a well-defined point to modify an application's assets while the application is paused. Consolidate how overlays targeting the system and overlays targeting regular applications are handled. Previously, system overlays were handled as a special case. Now, everything is handled identically. As a side effect, the call to idmap --scan during Zygote boot has become obsolete and is removed. Information on what overlays to use is recorded in ApplicationInfo.resourceDirs. The PackageManagerService is responsible for the creation of ApplicationInfo objects. The OverlayManagerService is responsible for informing the PackageManagerService in advance about what resourceDirs to use. When launching an application, the ApplicationInfo is already populated with up-to-date information about overlays. When enabling or disabling an overlay for a running application, the OverlayManagerService first notifies the PackageManagerService about the updated resourceDirs. It then tells the ActivityManagerService to push the new ApplicationInfo object to the application's ActivityThread. Finally the application requests its ResourcesManager to create new ResourcesImpl objects based on the updated paths. Co-authored-by: Martin Wallgren <martin.wallgren@sonymobile.com> Signed-off-by: Zoran Jovanovic <zoran.jovanovic@sonymobile.com> Bug: 31052947 Test: run tests from 'OMS: tests for OverlayManagerService' Change-Id: Idc96dae6fc075d5373aa055bbf50e919136d7353
ackageParser.java
ackageUserState.java
|
07ac1442b5b62c4cdeb4a5e93b4c38c6d9241894 |
10-Feb-2017 |
Narayan Kamath <narayan@google.com> |
PackageParser: String interning fixes. Stop interning string metadata values as well as class names as it's unlikely there will be much duplication among these. Also make sure we intern the same set of strings when parsing packages from their cache entries as we do when parsing them from the package itself. This change also improves error reporting for the unit-test and fixes a failure that was introduced by a previous change (the addition of static libraries). Test: PackageParserTest Bug: 34726698 Change-Id: Ia0d0342b91b3294bd5569756255918d1dc886e05
ackageParser.java
|
d89cf81f80f17c58abf564728d0e10c4754ab600 |
18-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Change MaskableIconDrawable to AdaptiveIconDrawable"
|
168ec3806076117c5271c28108ac3db448e1cd08 |
18-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Append entries for real"
|
be8835e86bc39570994af32ead381875e3ee54d5 |
17-Feb-2017 |
Hyunyoung Song <hyunyoungs@google.com> |
Change MaskableIconDrawable to AdaptiveIconDrawable Test: $ make -j31 dist Bug: 35399620 Change-Id: I5e54f75b3df21ffe546e0e54dbd7ea29499d1789
auncherApps.java
|
8a10ef58d358851482d60dc3eec176654bec4ee2 |
17-Feb-2017 |
Svet Ganov <svetoslavganov@google.com> |
Append entries for real Test: manual bug:35447008 Change-Id: I8ddbd39395f5064f7797562c3a423ba555c0c933
ackageParser.java
|
be0b8896d1bc385d4c8fb54c21929745935dcbea |
15-Feb-2017 |
Todd Kennedy <toddke@google.com> |
Revert "Revert "Per user setting for instant app"" This reverts commit be9ffa15af9e1906e9ffb505768328d62d4a3793. Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest Change-Id: Ib21321cf157a79890de487060a093840f7182047
pplicationInfo.java
PackageManager.aidl
ackageInstaller.java
ackageManager.java
ackageParser.java
ackageUserState.java
ELinuxUtil.java
|
4c64c0d99ee4340983d17f971f3dfca0c1cbf234 |
16-Feb-2017 |
Hyunyoung Song <hyunyoungs@google.com> |
Merge "ShortcutManager should support MaskableBitmap Icon type"
|
f281e7afae14f61e1d031f55cc80c59d0b39b528 |
13-Feb-2017 |
Hyunyoung Song <hyunyoungs@google.com> |
ShortcutManager should support MaskableBitmap Icon type Note: https://ag/1872683/ is where initial code review happened. Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsShortcutHostTestCases -t 'android.content.pm.cts.shortcuthost.ShortcutManagerMultiuserTest' Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t 'com.android.cts.devicepolicy.LauncherAppsProfileTest' b/34196580 Change-Id: I3b983c29387e474c7a8c687a524105ceaceac81e
auncherApps.java
hortcutInfo.java
|
626ffb455650e334fff3fe407a31aa0fa437fdf2 |
15-Feb-2017 |
Guang Zhu <guangzhu@google.com> |
Merge "Revert "Per user setting for instant app""
|
be9ffa15af9e1906e9ffb505768328d62d4a3793 |
15-Feb-2017 |
Guang Zhu <guangzhu@google.com> |
Revert "Per user setting for instant app" Bug: 35390781 This reverts commit 2f5811dcfd840e149851a9333e27ef3cdddf7a46. Change-Id: Ibb1c8dacbdc6908fc7fa2bc5dca664f2455162bf
pplicationInfo.java
PackageManager.aidl
ackageInstaller.java
ackageManager.java
ackageParser.java
ackageUserState.java
ELinuxUtil.java
|
bf92b812dbe1c762ff2381ca4ba14290a5ece8b8 |
15-Feb-2017 |
Todd Kennedy <toddke@google.com> |
Merge "Per user setting for instant app"
|
2f5811dcfd840e149851a9333e27ef3cdddf7a46 |
30-Jan-2017 |
Todd Kennedy <toddke@google.com> |
Per user setting for instant app The same application can run as either an instant app or an installed app. Store this setting per-user instead of based upon the install location. Bug: 25119046 Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest Change-Id: Iff565bb1ac10d631499f0bd0f69b401cb073c10e
pplicationInfo.java
PackageManager.aidl
ackageInstaller.java
ackageManager.java
ackageParser.java
ackageUserState.java
ELinuxUtil.java
|
9106c64bf3ca60d0b867fa1f2d78d3b19c9e4178 |
08-Feb-2017 |
Todd Kennedy <toddke@google.com> |
Add API to track package changes After any package install, removal or update, save the changed package and update a global sequence number. At any point, apps can query for the packages changed since a particular sequence number. If a package is changed multiple times, it is only included once in the change list. Bug: 33865505 Test: Create sample app to query for changes and see which packages are changed after performing certain operations Change-Id: Ia4646035362b16a97110e05f3f909ce385b48428
hangedPackages.aidl
hangedPackages.java
PackageManager.aidl
ackageManager.java
|
02761acc674ae9b13d5bbda493ac794ecc4c1c6e |
14-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Declarative downloadable fonts"
|
4b5a4d221f377686a730182a3bffb8c6f190e313 |
27-Jan-2017 |
Clara Bayarri <clarabayarri@google.com> |
Declarative downloadable fonts Implement support for downloadable font requests in xml. Given the xml fonts feature in O, this adds support to not only declare local font files as font resources, but also Downloadable fonts from a fonts provider. A provider returns a font family (of one or more files) given a query, so the new attributes are added to the font-family tag. Additionally, add support to pre-declare downloadable font resources in the Android Manifest. These will then be fetched at app startup time so they are available to use from the Typeface cache asap. When retrieving downloadable fonts via resources, the cache is checked to see if the font is already there and is used, otherwise a request is sent to the provider and the default font is returned as we need a result synchronously. To do this, the developer declares an additional fonts xml resource file with the list of fonts to preload and links it in the manifest with a meta-data tag. E.g.: res/font/mydownloadedfont.xml <font-family xmlns:android="http://schemas.android.com/apk/res/android" android:fontProviderAuthority="com.example.test.fontprovider" android:fontProviderQuery="myrequestedfont"> </font-family> res/font/preloaded_fonts.xml <?xml version="1.0" encoding="utf-8"?> <font-family xmlns:android="http://schemas.android.com/apk/res/android"> <font android:font="@font/mydownloadedfont" /> </font-family> and in the AndroidManifest.xml <meta-data android:name="preloaded_fonts" android:resource="@font/preloaded_fonts" /> Bug: 34660500, 34658116 Test: WIP, need to add more Change-Id: I1d92555e115e241bf23b59e6f5c6cca6c7361de7
pplicationInfo.java
|
0a2b187309aea30c7f4f69dc91feb58604b0995c |
13-Feb-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Do not allow work profile to see main other profiles"
|
b1e7776e2ca348ad734fdddc68d9bda6eb17c5e0 |
13-Feb-2017 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #35309312: Background start not allowed: service... ...Intent { flg=0x100 cmp=com.android.systemui/.SystemUIService } to com.android.systemui/.SystemUIService from pid=28245 uid=1000 pkg=android Rework the persistent app check to just directly look at the package manager (but as efficiently as possible). My idea for trying to keep this in the UidRecord was stupid. :p Test: manually tested it boots Change-Id: I5a88717a27fa3529048d37a853518a3ec04055db
ackageManagerInternal.java
|
de3c16c8057b61bb3cc2e0c3d5603730f5841c51 |
26-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
Do not allow work profile to see main other profiles It won't throw SecurityException, but it'll pretend there's no apps on the other profile. - Also log an error about it, in the client side process. - Also still send WTF() about the reverse access. Bug: 34650921 Bug: 34340531 Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsShortcutHostTestCases -t 'android.content.pm.cts.shortcuthost.ShortcutManagerMultiuserTest' Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t 'com.android.cts.devicepolicy.LauncherAppsProfileTest' Change-Id: I6164014685009db3f34a176a3f12c517766b2b49
auncherApps.java
|
22dac1c8df4ec212e8195a69d2de15d313d724fb |
13-Feb-2017 |
Yohei Yukawa <yukawa@google.com> |
Introduce @SoftInputModeFlags annotation Doing this allows us to annotate integer values that should corresponds to WindowManager.LayoutParams#softInputMode. Test: There should be no behavior change. RetentionPolicy.SOURCE annotation should change nothing in production code. Test: checkbuild Bug: 32784563 Bug: 35079353 Change-Id: I96300b090edce327d0515c740183abe91ded6bac
ctivityInfo.java
|
e714927b199a5454c8e944dbb04cb422b58e91d7 |
10-Feb-2017 |
Narayan Kamath <narayan@google.com> |
Partially revert commit ff5659fbc3026e621bdd926e96096e2957cfd42e. ff5659fbc was intended to be a clean revert of 660cf30e2100d8ed401 that fixed a DOA issue. However, the author incorrectly rebased that revert and picked up pieces of a separate change as well. This reverts those sections of the change so that they can be submitted with the correct attribution and with proper review. Bug: 34415265 Bug: 34914977 Test: make Change-Id: I977c3ba10bb05f04ac8cfd95d17954c454c83340
ackageParser.java
|
ad2409a26c8356b6cda7c726b715c3a69578444b |
06-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add Vulkan compute level system feature"
|
1cd7e93195815b5260a90228b4fca4ec9eb1e8ab |
06-Feb-2017 |
Jesse Hall <jessehall@google.com> |
Add Vulkan compute level system feature The names of specific Vulkan API features can't be documented yet, because they won't be ratified by Khronos before the documentation becomes public in a developer preview. Bug: 34745152 Test: android.graphics.cts.VulkanFeaturesTest Change-Id: I9af673bcb5b0c74bde72ab7a579573894170a55d
ackageManager.java
|
f6f095a9c1da78d6c6267d14ea49ddb444396907 |
04-Feb-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Removed android.R.attr#onTopLauncher"
|
340417356d92d0db71d0692344e66886ca795dfd |
01-Feb-2017 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #30977956: Enable Instrumentation tests for multi-process apps New android:targetProcess attribute on <instrumentation> allows you to specify the processes the instrumentation will run in. This reworks how instrumentation is run in the activity manager to better formalize its state and semantics, allowing us to keep track of it across multiple processes. This also clearly defines what happens when multiple instrumentations are running at the same time, which is useful for writing CTS tests that test the instrumentation APIs themselves. Adds a couple new APIs to Instrumentation that helps with the new situation where instrumentation can run concurrently in multiple processes. Test: new CTS tests added (textXxxProcessInstrumentation in ActivityManagerTest.java in cts/tests/app/src) Change-Id: I2811e6c75bc98d4856045b2f0a45fb24af5d366f
nstrumentationInfo.java
ackageParser.java
|
069bbd382898d3330d284912b3a472495045c363 |
03-Feb-2017 |
Wale Ogunwale <ogunwale@google.com> |
Removed android.R.attr#onTopLauncher The product that the feature was intended for never launched, so removing the complexity from the code base. Test: builds Change-Id: I75e60ee2da46f6012f03a6077f77bc6b9acecad5
ctivityInfo.java
ackageParser.java
|
aea3ec67a251d8f68c7b484f2638dc283e3d578f |
02-Feb-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Allow ephemeral apps to reach any CATEGORY_BROWSABLE"
|
ff5659fbc3026e621bdd926e96096e2957cfd42e |
02-Feb-2017 |
Narayan Kamath <narayan@google.com> |
Revert "Call ActivityCallbacks after corresponding activity methods" This reverts commit 660cf30e2100d8ed40198c95f93b61e5d1cdb10c. bug: 34415265 bug: 34914977 Test: chrome launches Change-Id: I170365fd47313bafb0d722e6d55ee119336137c4
ackageParser.java
|
e3482c2601fd025002377d47389be97bbc0c892d |
01-Feb-2017 |
Brad Ebinger <breadley@google.com> |
Merge "Adds @hide permission granting API for ImsServices" am: 390ec27f9d am: 6734275c2f am: fa1dca0ad6 am: 3aaf673c60 Change-Id: I6a6a2d136f0f31bbac984e4ba18f9f6b90808705
|
3aaf673c60377fdff72fe1ab17099083f5fe9622 |
01-Feb-2017 |
Brad Ebinger <breadley@google.com> |
Merge "Adds @hide permission granting API for ImsServices" am: 390ec27f9d am: 6734275c2f am: fa1dca0ad6 Change-Id: Id2875b5b60401405e31e76eb07968798144df700
|
fa1dca0ad61af079c7653ba80d847a5b51df343c |
01-Feb-2017 |
Brad Ebinger <breadley@google.com> |
Merge "Adds @hide permission granting API for ImsServices" am: 390ec27f9d am: 6734275c2f Change-Id: I6d502db3362aafcfed426b6598be0bd39dd38890
|
495d891198ab32b2584783ee5e859bf59a8792d3 |
01-Feb-2017 |
vinodkrishnan <vinodkrishnan@google.com> |
Revert "Revert "Remove getAppsUsingPermisisons"" This reverts commit a69c99fbc73fd092ba42b797d691f456dc1df1ef. Change-Id: I524a56ae3cd0d1a9dbd0e54fd7e57f09ed0b87f9
ermission/IRuntimePermissionPresenter.aidl
ermission/RuntimePermissionPresenter.java
|
de17a63da6b8d75874e7123ee91d94c7ebfb00cc |
01-Feb-2017 |
Andreas Huber <andih@google.com> |
Merge "Revert "Remove getAppsUsingPermisisons""
|
a69c99fbc73fd092ba42b797d691f456dc1df1ef |
01-Feb-2017 |
vinodkrishnan <vinodkrishnan@google.com> |
Revert "Remove getAppsUsingPermisisons" This reverts commit dfcf4fc29a5cc61fda041ffbef1c786550c9521a. Change-Id: Id08db7999158c76dc39f0908722ea8f5a6b21257
ermission/IRuntimePermissionPresenter.aidl
ermission/RuntimePermissionPresenter.java
|
9cfde54af04c58c30af4b2f18ff34c11a2f60bbf |
31-Jan-2017 |
vinodkrishnan <vinodkrishnan@google.com> |
Merge "Remove getAppsUsingPermisisons"
|
096d304ae3d85c1bfcda1a1d9cd4eb13d0815500 |
31-Jan-2017 |
Svetoslav Ganov <svetoslavganov@google.com> |
Add instant cookie APIs This change adds APIs for instant apps to store cookie data that is presisted across instant installs and across the upgrade from an instant to a standard app. Standard apps can use the cookie APIs but when they are uninstalled the cookie is also deleted. The cookies are kept longer than the instant apps as they are much smaller - 16KB by default. We can change the cookie size via a system setting i.e. after we ship we can increase size if needed. We also add internal APIs to surface information about installed and uninstalled instant apps which should be used for showing them in the UI. For this puporse we store the icon, permissions, and label of uninstalled apps. If the app is re-installed we drop this meta-data but keep the cookie around. If we have cookie data stored and the signing cert of the app changes when it gets re-intalled we wipe the cookie. Test: CTS tests pass; hiddent APIs tested manually Change-Id: If145c0440cc61a5303e2cbb70228d235d36037a5
pplicationInfo.java
phemeralApplicationInfo.aidl
phemeralApplicationInfo.java
PackageManager.aidl
nstantAppInfo.aidl
nstantAppInfo.java
ackageManager.java
ackageManagerInternal.java
ermissionInfo.java
|
efdc6635695df115a1d5759b022cb7f9f7bdc45e |
31-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Define targetSandboxVersion"
|
11e45075221680dcc25e3da1d3c32710e5a98603 |
25-Jan-2017 |
Todd Kennedy <toddke@google.com> |
Define targetSandboxVersion The new attribute allows both ephemeral and non-ephemeral apps to opt into a new, tighter security model. Test: Manual; built app w/ targetSandboxVersion and verified the security domain Change-Id: I8fcaf84e25f0519b438ba51302f79790e680e025
pplicationInfo.java
ackageParser.java
|
f477979bf9b8ecbaa366f0b600b0f2f2030c21ab |
24-Jan-2017 |
Brad Ebinger <breadley@google.com> |
Adds @hide permission granting API for ImsServices Adds the @hide API to grant ImsServices default permissions using the PackageManager and DefaultPermissionGrantPolicy APIs. Test: Manual Bug: 32460405 Change-Id: Ia143ede42623b4c2203261fc6e83624d73c478f1
PackageManager.aidl
|
1ba6b5a076659a6aea48a2cf3df0f106fdff5887 |
30-Jan-2017 |
Calin Juravle <calin@google.com> |
Merge changes Ic07126bf,If3a4b77f,I8b011207,I18fde62a * changes: Save package dex usage info after secondary dex reconciliation Compile secondary dex files during background dexopt job Add a shell command to force the background dexopt job A bit more refactoring in BackgroundDexOptService
|
dfcf4fc29a5cc61fda041ffbef1c786550c9521a |
28-Dec-2016 |
Vinod Krishnan <vinodkrishnan@google.com> |
Remove getAppsUsingPermisisons - This was meant to be used in Clockwork but it has been removd. Bug: 33662137 Change-Id: I89b43c0ab47e3d8fe1f5f56fb9f82ffbb064baf1
ermission/IRuntimePermissionPresenter.aidl
ermission/RuntimePermissionPresenter.java
|
2b4f8731ca5d20bb686aacdd09bb2351eeebd337 |
30-Jan-2017 |
Calin Juravle <calin@google.com> |
Merge "[PM] Clean up logic for secondary dex oat files"
|
a0f2f77cdc24fb51f2c6906b6fc481c2c6d673c5 |
30-Jan-2017 |
Calin Juravle <calin@google.com> |
Merge "Compile secondary dex files in DexManager"
|
cb5f41ea11b1a6fcd0977a64ee146dde8f537076 |
26-Jan-2017 |
Calin Juravle <calin@google.com> |
Add a shell command to force the background dexopt job Add 'bg-dexopt-job' command to 'adb shell cmd package' which will force the background dexopt job to run the optimizations immediately. Note that the command only runs the background optimizer logic. It may overlap with the actual job but the job scheduler will not be able to cancel it. It will also run even if the device is not in the idle maintenance mode. Test: adb shell cmd package bg-dexopt-job Bug: 32871170 Change-Id: I8b0112074220b2e09baf13d842401ee1cf306a89
PackageManager.aidl
|
1aa5f88e35734383e66ecd65e82e83d788e18ccb |
25-Jan-2017 |
Calin Juravle <calin@google.com> |
[PM] Clean up logic for secondary dex oat files Add logic in DexManager to reconcile secondary dex records with the actual files on disk. If secondary dex files are moved or removed then DexManager will remove the generated oat files during the call to reconcileSecondaryOdex() and update its internal state. Add 'adb shell cmd package reconcile-secondary-dex packageName' which will force DexManager to sync its data with the actual secondary dex files. Test: devices bots runtest -x .../PackageDexUsageTests.java runtest -x .../DexManagerTests.java adb shell cmd package reconcile-secondary-dex com.android.google.gms (after artificially/temporarily renaming some dex files) Bug: 32871170 Change-Id: Id2d72dc89995f89cf1ddf79ae4e992afd3f3c127
PackageManager.aidl
|
c22c30ed1c05c5c24185dc4d380d1c5026923d46 |
17-Jan-2017 |
Calin Juravle <calin@google.com> |
Compile secondary dex files in DexManager Add logic for secondary dex compilation in DexManager. Also, extend the `cmd package compile` command with '--secondary-dex' option which will compile all used secondary dex files for the given package. Test: flash & boot, cmd package compile --secondary-dex -f -m speed com.google.android.gms Bug: 32871170 Change-Id: Ia2b95cb70d26c4ead5cb650047641b0881ca84ae
PackageManager.aidl
|
7d670b4f738df436ba8025ee2ae360ce070c2a7f |
27-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "OMS: introduce the OverlayManagerService"
|
7d0f5e8d401fce5bc7bda836d1dd89a31056cbcf |
27-Jan-2017 |
Paul Navin <paulnavin@google.com> |
Add hidden API for whether permission review mode is on. am: 7b89a7b1f7 am: 7c230c6f3c am: dd91db5515 Change-Id: I936449f717e3c2919622181c9068ec8a48b452ad
|
dd91db5515fa05235a2875244ad10ba742d11dff |
27-Jan-2017 |
Paul Navin <paulnavin@google.com> |
Add hidden API for whether permission review mode is on. am: 7b89a7b1f7 am: 7c230c6f3c Change-Id: I89c9a580a96d0f69ed30cad9ec2e4f9c215a403b
|
7c230c6f3c9f1ece465b83f3c03643b606f9d843 |
27-Jan-2017 |
Paul Navin <paulnavin@google.com> |
Add hidden API for whether permission review mode is on. am: 7b89a7b1f7 Change-Id: I925b6de9f79850dcc816a73357d1d589eeac6333
|
7b89a7b1f7c208eaac19290b34c5f505a9fd5eba |
27-Jan-2017 |
Paul Navin <paulnavin@google.com> |
Add hidden API for whether permission review mode is on. BUG: 34240393 Change-Id: I68e55767a7da1d457a6cedd210aac9e339fb996c
ackageManager.java
|
416903e7c456bbba14776602819c0f0011b6c75d |
27-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Unhide ApplicationInfo.volumeUuid."
|
eabc9e95768e7ac9acc3b32dc9ac2edf99c9e2c5 |
15-Dec-2015 |
MÃ¥rten Kongstad <marten.kongstad@sonymobile.com> |
OMS: introduce the OverlayManagerService Add a new system service to manage Runtime Resource Overlays. This will offload the PackageManagerService and allow administration of overlay packages while affected packages continue to execute. Overlays can be enabled or disabled during runtime. Running applications will re-create their ResourcesImpl objects and restart their activities via the usual activity life cycle. The order in which a set of overlays is loaded may also be changed during runtime. The underlying mechanics are the same as for when an overlay is enabled or disabled. When an overlay changes state, e.g. becomes enabled, the OverlayManagerService will broadcast one of the new intents android.intent.action.OVERLAY_ADDED, *_CHANGED, *_REMOVED or *.OVERLAYS_REORDERED. Clients that wish to read information about overlays for users other than themselves are required to hold the android.permission.INTERACT_ACROSS_USERS_FULL permission. This mirrors the protection level of PackageManager.getPackageInfo. Clients that wish to change the information are required to hold the permission android.permission.CHANGE_OVERLAY_PACKAGES. Each pair of overlay package and corresponding target package is respresented by a new OverlayInfo class. This class mirrors the existing PackageInfo class. Overlay packages are handled per Android user. The data is persisted in /data/system/overlays.xml. Co-authored-by: Martin Wallgren <martin.wallgren@sonymobile.com> Signed-off-by: Zoran Jovanovic <zoran.jovanovic@sonymobile.com> Bug: 31052947 Test: run tests from 'OMS: tests for OverlayManagerService' Change-Id: I15325e173193df3240b8dc0a58c852fd7a3d5916
ackageManagerInternal.java
|
6112860c5c0bc5ed49c3ecece6229a0db28ab80c |
27-Jan-2017 |
Jeff Sharkey <jsharkey@android.com> |
Unhide ApplicationInfo.volumeUuid. Apps need it to interact with the new StorageStatsManager APIs. Test: builds, boots Bug: 34723750 Change-Id: I274d5bd425cd401e10647959ba18f9956628d810
pplicationInfo.java
|
33d9bc529e4969444aca821190f16b565a7726a9 |
26-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Adding AppWidgetManager.isRequestPinAppWidgetSupported"
|
6ee80f3a652358e8297102ea855105aea05bedf8 |
26-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Change configuration's color mode based on the display's color mode"
|
bcf3b70371a98878bcad088914a886df4217f555 |
26-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Adding an api for apps to check whether they can install apps"
|
aef2513c7157a28236d097a81fe74d7ba6b710c9 |
24-Jan-2017 |
Suprabh Shukla <suprabh@google.com> |
Adding an api for apps to check whether they can install apps Some apps may want to check whether they are trusted to install apps on the device, so they can prompt the user to go to settings and mark them as trusted before they do an intensive operation like downloading an apk. Test: cts-tradefed run cts -m CtsExternalSourcesTestCases Bug: 31002700 Change-Id: Icd9d04daa157e6733decba245ec251ce4acd4122
PackageManager.aidl
ackageManager.java
ackageManagerInternal.java
|
408afbf06040ea29d1a9d60e9dc50d1923068de4 |
25-Jan-2017 |
Romain Guy <romainguy@google.com> |
Change configuration's color mode based on the display's color mode Bug: 32984164 Test: CtsContentTestCases Change-Id: Iedc7d1cc488b80718576082667b6e96956c4f847
ackageParser.java
plit/DefaultSplitAssetLoader.java
plit/SplitAssetDependencyLoader.java
|
35b79a7d44b816c6bdbde9de19e8a86f6f782b52 |
25-Jan-2017 |
Chad Brubaker <cbrubaker@google.com> |
Allow ephemeral apps to reach any CATEGORY_BROWSABLE Apps receiving browsable intents should already be prompting the user before taking any action/making any changes, which is what we want to ensure for ephemeral apps. This way we don't have to manually mark all such activities visibleToInstantApps. Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest Change-Id: Id64706f993a412f163e533fa85b83f5f466731f7
ackageParser.java
|
4e8628157ad0c8c52e74b720eb0328086272ffda |
22-Nov-2016 |
Adam Lesinski <adamlesinski@google.com> |
Add support for Split APK dependcies Apps can now declare in their base APK AndroidManifest.xml that they want to have their split APKs loaded in isolated Contexts. This means code and resources from the split get loaded into their own ClassLoader and AssetManager. <manifest xmlns:android="..." ... android:isolatedSplits="true" ... In order to make this more useful, splits can declare dependencies on other splits, which will all get pulled in to the Context and run as expected at runtime. A split declares its dependency on another split by using the tag <uses-split> in its AndroidManifest.xml: <manifest xmlns:android="..."> ... <uses-split android:name="feature_split_1" /> ... A split can have a single parent on which it depends on. This is due to the limitation of having a single ClassLoader parent. All splits depend on the base APK implicitly. PackageManager verifies that no cycles exist and that each dependency is present before allowing an installation to succeed. The runtime will then load splits based on the dependencies. Given the following APKs: base <-- split A <-- split C ^----- split B If an Activity defined in split C is launched, then the base, split A, and split C will be loaded into the ClassLoader defined for the Activity's Context. The AssetManager will similarly be loaded with the resources of the splits. A split can be manually loaded by creating a Context for that split, defined by its name: Context.createContextForSplit("my_feature_split_1"); All installed Activities, Services, Receivers, and Providers are accessible to other apps via Intent resolution. When they are instantiated, they are given the appropriate Context that satisfies any dependencies the split they were defined in stipulated. Test: WIP (CTS tests to come) Change-Id: I8989712b241b7bc84381f2919d88455fcad62161
pplicationInfo.java
omponentInfo.java
nstrumentationInfo.java
ackageParser.java
plit/DefaultSplitAssetLoader.java
plit/SplitAssetDependencyLoader.java
plit/SplitAssetLoader.java
plit/SplitDependencyLoaderHelper.java
|
9d3d90a22f0f64af71fb970e9a5ce75ac799fe3e |
25-Jan-2017 |
Ralph Nathan <ralphnathan@google.com> |
Merge "Add FEATURE_EMBEDDED to PackageManager"
|
7f7372ae2abeecb564d426ec3efbfa039c797885 |
24-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Adding AppWidgetManager.isRequestPinAppWidgetSupported Launchers can choose to implement support pin shortcut or pin appwidget or both by specifying different actions in the intent filter Test: Automated tests and CTS Bug: 34174006 Change-Id: I4456dbb943cfba11d465556f0732f0ed629ab3ba
ShortcutService.aidl
auncherApps.java
hortcutManager.java
hortcutServiceInternal.java
|
e84ad491c82168228f042644285a2581fc619baf |
25-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add color mode to activity/window"
|
4832745b84d6a358582f2264d22acacf25e01b07 |
24-Jan-2017 |
Romain Guy <romainguy@google.com> |
Add color mode to activity/window The color mode lets an application request a wide color gamut for a specific window. This will also be used in the future to request HDR. The color mode is currently either default (sRGB) or an undefined wide gamut color space chosen by the platform. These attributes could later be used to choose a specific color space if we deem this important or useful. This change also renames the various "colorimetry" attributes and constants to "color mode" for consistency. These symbols were added in O and can be safely renamed. Test: CtsColorModeTestCases Bug: 32984164 Change-Id: I4d4691dd12dbe3f3aa6a5cf893cff39aa16c739e
ctivityInfo.java
ackageParser.java
|
454a9777b84431ad0f3492477d197390eb491508 |
25-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Add client package name to WTF message"
|
b8e0dee9af9ab0d2243c15faf9edb81d5a83f3cf |
25-Jan-2017 |
Ralph Nathan <ralphnathan@google.com> |
Add FEATURE_EMBEDDED to PackageManager This CL adds FEATURE_EMBEDDED to PackageManager to identify Android Things devices. BUG: 34644059 Test: built using make update-api Change-Id: Ife4430e4a445f6afdd969e94db5fe5c9098ee145
ackageManager.java
|
6d2fe9e96d821f64537fb9af4ea407bfcbc657bc |
24-Jan-2017 |
Winson Chung <winsonc@google.com> |
Merge "Remove dependency on resizable activity to enter PiP."
|
5a5afca93618a3ea669693d231e050be595e7a94 |
24-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add versionCode"
|
3a2541e6daec72824f0f9f8c9cd81bacac263b5c |
24-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
Add client package name to WTF message Bug 34650921 Test: manual tests with GEL launcher with work profile Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsShortcutHostTestCases -t 'android.content.pm.cts.shortcuthost.ShortcutManagerMultiuserTest#testManagedUser' Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t 'com.android.cts.devicepolicy.LauncherAppsProfileTest' Change-Id: I68f72f0798b752690e4e8d32360fd1d15bedef31
LauncherApps.aidl
auncherApps.java
|
316c2f207914da455a8d610aee6e4bc60e5c8f3a |
24-Jan-2017 |
Todd Kennedy <toddke@google.com> |
Add versionCode We need to specify the version code to use when installing splits since the version on the device might be different from the latest on the server. Bug: 25119046 Test: manual Change-Id: I4ad21f9e5924fcf76a39780e6d98e8d7a1fef5d4
phemeralResolveInfo.java
|
d339538a67b7d6bb3d7ad73f31ad20ffc932f891 |
13-Dec-2016 |
Winson Chung <winsonc@google.com> |
Remove dependency on resizable activity to enter PiP. - Removing the requirement for activities to have both the resizeableActivity and supportsPictureInPicture attribute to enter PiP. The activity may still be resized when entering picture-in-picture. Bug: 34256643 Test: android.server.cts.ActivityManagerPinnedStackTests Change-Id: If6bd4721c53072e5518f554a8c7598705517c132
ctivityInfo.java
ackageParser.java
|
425a129f1b4c7d515c6f0d93c05a863afb94f2a3 |
24-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "add "splitName" attribute"
|
e9d0d2758ba2342d4d75086a5f839ab0e62237f1 |
23-Jan-2017 |
Todd Kennedy <toddke@google.com> |
add "splitName" attribute Attribute is availble on activity, provider and service components. Allows specifying which split contains that component. Test: built test app with attribute Change-Id: Ibc615321035f76a71d0dce5a6fae3f3ef4c3e762
omponentInfo.java
ackageParser.java
|
b16bddca89a423fe8b12c4dd727a8fe9d54acb07 |
23-Jan-2017 |
Jeff Schumacher <jeffschu@google.com> |
Merge "Opened some App Links APIs to @SystemApi"
|
308bcec713f1dc246388adadf3159c7d877eb426 |
23-Jan-2017 |
Polina Bondarenko <pbond@google.com> |
Merge "Make TelephonyManager#get/setAllowedCarriers system api" am: 6d064d8780 am: cf176500e6 am: b46a93ff04 Change-Id: I8f17bef7ccde5953f5b810bd806fc51a4c69e194
|
b46a93ff041f902a194eef36701cdd8772a0be4f |
23-Jan-2017 |
Polina Bondarenko <pbond@google.com> |
Merge "Make TelephonyManager#get/setAllowedCarriers system api" am: 6d064d8780 am: cf176500e6 Change-Id: Ic278e3a9bd7c9c99345150228c6e87343737079e
|
6788212d17f54475ca9c3dd689a863e031db868f |
12-Dec-2016 |
Svet Ganov <svetoslavganov@google.com> |
Platform support for static shared libraries This change adds support for static shared libraries that emulate static linking allowing apps that statically link against the same library version to share a common implementation. A library is hosed by a package in a standard APK. Static shared libraries have a name and a version declared by a dedicated manifest tag. A client uses also a new tag to refer to the static library it uses by specifying the lib name, version, and the hash of the signing certificate. This allows two apps to rely on two different library versions and prevents impersonation of the shared library by a side-loaded app with the same package name. Internally apps providing static libs use synthetic package name generated from the manifest package name and the library version. This allows having different "versions" of the same package installed at the same time. An application cannot be installed if a static shared lib it depends on is missing. A used shared library cannot be uninstalled. Shared libraries can rotate certificates like normal apps. The versions of these libs should be ordered similarly to the version codes of the hosting package. Such libs cannot use shared user id, cannot be ephemeral, cannot declare other libraries, cannot rename their package, cannot declare child-packages. They must target O SDK. Also they cannot be suspended or hidden or their uninstall blocked. Generally, speaking policy regarding code in static shared libs should be applied to the packages using the library as it could have just statically linked the code. We now have APIs to query information about the shared libraries on the device in general. To clients static shared libraries are presented as multiple versions of the same package which is how they are declared and published. Therefore, one can have two versions of the same package which means we need way to query for and uninstall a specific version of a package. Also static shared libs can depend on other static shared libs which are versioned packages. To ease representation we add the concept of a versioned package which should be used in the case of static shared libs. A client can see only the static shared libs it depends on and more specifically only the versions it depends would be retrieved by using the standard package manager APIs. There is a new dedicated API to get info about all shared libraries which would provide data about all static shared lib versions. Also these libraries must use v2 signing scheme. Test: CTS tests pass bug:30974070 Change-Id: I4f3d537ee7a81f880950377b996e1d9d4813da5c
pplicationInfo.java
PackageInstaller.aidl
PackageManager.aidl
ackageInfo.java
ackageInstaller.java
ackageItemInfo.java
ackageManager.java
ackageParser.java
haredLibraryInfo.aidl
haredLibraryInfo.java
ersionedPackage.aidl
ersionedPackage.java
|
9d8e0fc679ff6f2be8bd559443acaf0bf6532d86 |
21-Jan-2017 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Rename visibleToEphemeral to visibleToInstantApps"
|
75ca7b8eddd790d0117ff9573c44ce35be93e94c |
21-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Do not allow work profile apps to access main profile app."
|
907b467e91e6419e30a53902bea73a8625f4fd94 |
21-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Fixing dimensions for AppWidgetProviderInfo not getting updated properly for PinItemRequest"
|
417d30d88b7fef58a9b8765d712885cef2d3eb88 |
20-Jan-2017 |
Jiuyu Sun <jiuyu@google.com> |
Merge "Change the default behavior when MCC/MNC changes."
|
699c77102407c3b4eb5feceadd72c4be83724fea |
20-Jan-2017 |
Chad Brubaker <cbrubaker@google.com> |
Rename visibleToEphemeral to visibleToInstantApps Test: builds Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest Change-Id: Ia173af181ec6206dfa8d1956eb2c4894c43c059e
ackageParser.java
|
6fd90ed96190c0e8668cc001c8d79753065498b4 |
20-Jan-2017 |
Jeff Schumacher <jeffschu@google.com> |
Opened some App Links APIs to @SystemApi This change promotes some of the APIs that Settings uses for the "Open by default" screen from @hide to @SystemApi. GTS tests are added in ag/1811536. This change also changes the protection level for Manifest.permission.SET_PREFERRED_APPLICATIONS to allow package verifiers (e.g. the Play Store) to be granted it. This permission is used in the PM.updateIntentVerificationStatusAsUser() and PM.setDefaultBrowserPackageNameAsUser() APIs. Bug:31008483 Test: Patch in ag/1811536 and follow the test instructions there. Change-Id: I18b069de11eaa8fe97c151fb3cfb63854f1fd056
ntentFilterVerificationInfo.java
ackageManager.java
|
b6d7695cf2e7cec5c7b24e1b09e1f7d8f1788cb7 |
12-Jan-2017 |
Holly Jiuyu Sun <jiuyu@google.com> |
Change the default behavior when MCC/MNC changes. By default, we don't restart the activity when MCC/MNC changes even when they are not set in configChanges. If they want to restart, set mcc or mnc in the new attribute restartOnConfigChanges. Bug: 34258948 Test: Test in unit test(testGetActivityConfigChanges() in PackageParserTest.java) and on real device with changing the SIM card. Change-Id: Icd6899597c9b8f2e5706e74373a0280d19150092
ackageParser.java
|
22e1cbad24cdc7f207124221a8d169e8c7d680f7 |
20-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Make TelephonyManager#get/setAllowedCarriers system api"
|
aecbd037514af1bff0f5ca50932241776d6c5fc3 |
19-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
Do not allow work profile apps to access main profile app. Bug: 34340531 Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsShortcutHostTestCases -t 'android.content.pm.cts.shortcuthost.ShortcutManagerMultiuserTest#testManagedUser' Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t 'com.android.cts.devicepolicy.LauncherAppsProfileTest' Change-Id: I34e9f351d2a8addf65a5a928c3dd4363f08611dc
auncherApps.java
|
aaad776c2ce45b8caf629febea004c08eeebfd94 |
20-Jan-2017 |
Bartosz Fabianowski <bartfab@google.com> |
Merge "Allow system to retrieve persistent preferred activities"
|
444d64749df82407382184f580c4bd6518af4fd6 |
20-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "requestPinShortcut for pinned shortcut still notifies launcher"
|
a9da39cb645243e334505cd072488593521ea42c |
20-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add wide color gamut and HDR resource qualifiers"
|
4c0659f5313bcc70be704a3808af9e670f467ee6 |
20-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Enable background restrictions"
|
c9ba55902123be5abcf2dcda5af9995be0b8d3d8 |
19-Jan-2017 |
Romain Guy <romainguy@google.com> |
Add wide color gamut and HDR resource qualifiers Bug: 32984164 Test: Config_test, AaptConfig_test and aapt2_tests Change-Id: Ie9c82bfe2d36b1d6180ee223250ab5bb2ce90dd4
ctivityInfo.java
|
a2b1774d758b58fc5977f631eff76fa21d303906 |
20-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Grant access to ephemeral metadata"
|
54df14956eb890bcd92ffa1590705f8b417ccf5b |
20-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Disable moving 3rd party apps to internal if not allowed."
|
42a386b7717300bf6d75cbd3b4f7ad00f294be0d |
07-Nov-2016 |
Christopher Tate <ctate@google.com> |
Enable background restrictions Apps that target O+ are always subject to background restrictions. Legacy apps' background restriction is subject to the OP_RUN_IN_BACKGROUND app op. Apps with these properties are exempted from background restrictions: - persistent process - currently on the idle battery whitelist - global whitelist for things like bluetooth services Bug 30953212 Change-Id: Icc19b2fbc05f40dcf8c3fc4abf718c373dc8d4f6
ackageManagerInternal.java
|
0c280710320368e82c52c9b135e2ab3015d0c924 |
20-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
requestPinShortcut for pinned shortcut still notifies launcher Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests Bug: 34391829 Change-Id: Iac652790f2aa02dab6afbe52f2e40be99543f325
auncherApps.java
|
022b8eaa1def76dca0ac9b409065588f55c71597 |
16-Dec-2016 |
Yao Chen <yaochen@google.com> |
Disable moving 3rd party apps to internal if not allowed. ag/1633903 added config_allow3rdPartyAppOnInternal flag to specify whether 3rd party apps are allowed on internal storage. We need to respect the flag when moving apps between storages. Bug: 30980219 Test: Added ApplicationPackageManagertest Change-Id: I0f8e76467b5071d70f40da28c2087e689c049c06
ackageManager.java
|
0e989d00ed1e95be0ccb77c29846ee0b6ac33356 |
13-Jan-2017 |
Todd Kennedy <toddke@google.com> |
Grant access to ephemeral metadata When an ephemeral application explicitly accesses an installed application, it grants access to its package metadata. The ephemeral application effectively stays hidden if it doesn't explicitly connect to any activity, service or provider [i.e. implicit connections using an ACTION_VIEW/CATEGORY_BROWSABLE intent will not expose its metadata]. Bug: 34123112 Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest Change-Id: I7e1680902599b3ada0d4fba5998af30566017051
ackageManagerInternal.java
|
970d4b462652cab66ce34da551d089f385bf39d8 |
20-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing dimensions for AppWidgetProviderInfo not getting updated properly for PinItemRequest Test: Manually tested on device Change-Id: I7bbf7e93e052ef25c2a4a98ff0795ef500f68cc0
auncherApps.java
|
8f3b174d90e3bf2093751fb1a1bd0603adac0222 |
19-Jan-2017 |
Adam Lesinski <adamlesinski@google.com> |
Merge "Teach apps to refresh AppInfos without restarting"
|
80909ce33301499352e6274028f7389d67e904f6 |
12-Jan-2017 |
Polina Bondarenko <pbond@google.com> |
Make TelephonyManager#get/setAllowedCarriers system api Make TelephonyManager#get/setAllowedCarriers system api under PackageManager#FEATURE_TELEPHONY_CARRIERLOCK feature flag. Bug: 33480084 Test: cts Change-Id: I1ce77a9e3801bd4003b52887d0a36866e5a5b81a
ackageManager.java
|
d5cfe6cdf1290976158e55f39b95d082c56da56e |
12-Jan-2017 |
Polina Bondarenko <pbond@google.com> |
Make TelephonyManager#get/setAllowedCarriers system api Make TelephonyManager#get/setAllowedCarriers system api under PackageManager#FEATURE_TELEPHONY_CARRIERLOCK feature flag. Bug: 33480084 Test: cts Merged-In: I1ce77a9e3801bd4003b52887d0a36866e5a5b81a Change-Id: I1ce77a9e3801bd4003b52887d0a36866e5a5b81a
ackageManager.java
|
d9fa667e2db634ceedbbb793ab3210cb7b229920 |
18-Jan-2017 |
Bartosz Fabianowski <bartfab@google.com> |
Allow system to retrieve persistent preferred activities This CL allows system code to retrieve persistent preferred activities (default intent handlers set by a Device Owner or Profile Owner app). Settings will use this information to indicate which default apps were set by the admin. There is no public PackageManager API. Settings will call via the IPackageManager interface directly. Bug: 32692748 Test: Will be CTS-verifier-tested together with Settings Change-Id: Ibd0a39f13852a9117836ca75cc0882e4cbe0ec1d
PackageManager.aidl
|
9e83cbbc10014b3ed560b3181f594868cd89f9ae |
19-Jan-2017 |
Chris Tate <ctate@android.com> |
Revert "Enable background restrictions" This reverts commit 21f778060badb1e78bffde05e8de7662d275003d. Change-Id: I65586f9739da84fb32b51b0ea166b8288c41d1b3
ackageManagerInternal.java
|
6804d4de65cd5a30c4746c3e097b0713119c4e27 |
19-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Adding support for apps to return PinItemRequest to launchers as a result of Intent.ACTION_CREATE_SHORTCUT"
|
21f778060badb1e78bffde05e8de7662d275003d |
07-Nov-2016 |
Christopher Tate <ctate@google.com> |
Enable background restrictions Apps that target O+ are always subject to background restrictions. Legacy apps' background restriction is subject to the OP_RUN_IN_BACKGROUND app op. Apps with these properties are exempted from background restrictions: - persistent process - currently on the idle battery whitelist - global whitelist for things like bluetooth services Bug 30953212 Change-Id: Ib444829a2d222125f64ff19e8218823fa78373f9
ackageManagerInternal.java
|
a6be88a10d6f6391b09f626ead051d0c698fb2d1 |
13-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for apps to return PinItemRequest to launchers as a result of Intent.ACTION_CREATE_SHORTCUT > Adding API to allow launchers to query shortcut config activities in managed profiles. > Adding API to allow the default Launcher to start the shortcut config activity in managed profiles. > Updating the ACTION_CREATE_SHORTCUT documentation to represend changes in the expected result. Test: Manual tests and all the unit tests adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests ... to test10 Change-Id: I785c4f2fba782b864cc401ac7905330ea4498289
LauncherApps.aidl
ShortcutService.aidl
auncherApps.java
hortcutManager.java
|
49a4a1dfceeebc4b94022827b7e68cc971689c84 |
12-Jan-2017 |
MÃ¥rten Kongstad <marten.kongstad@sonymobile.com> |
Teach apps to refresh AppInfos without restarting Teach running applications to refresh already loaded ApplicationInfo objects without resorting to restarting the application process. Activities will be scheduled for restart via the regular life-cycle. This is similar to a configuration change but since ApplicationInfo changes are too low-level we don't permit apps to opt out. This change is intended to be used with runtime resource overlays and split APKs. Test: Manual - command to update application via ActivityManagerShellCommand Change-Id: Ice10a1691cced90eee95e3278fd784b8a9206d87
ctivityInfo.java
|
f5bda2874f353106bf86aaba77876590218f89bf |
16-Jan-2017 |
Narayan Kamath <narayan@google.com> |
Merge "PackageParser: Disable package cache on "eng" builds."
|
21a2838e3474c7b7918ca638be70aa1c27649117 |
13-Jan-2017 |
Narayan Kamath <narayan@google.com> |
PackageParser: Disable package cache on "eng" builds. - Catch a wider variety of exceptions from the package parse stage. Ignore and delete the cache entry if we catch *any* exceptions from deserializing the parse result. - Rename the system property pm.boot and not ro.boot, since the former needs less effort to change back and forth. - Finally, add a heuristic to wipe caches on non-numbered userdebug builds when changes to the system partition are detected. Also re-enable the cache by reverting commit 20274d15d8f40112dd13d01980c210b49f78cda9. Test: Manual Change-Id: I7b5b71ac60d8c438398c354be50b207e80550148
ackageParser.java
|
a34f53f61be31b7171d6cbcb12490ee143acffff |
11-Jan-2017 |
Bartosz Fabianowski <bartfab@google.com> |
Add install reason This CL allows a reason to be specified when installing a package. The install reason is a sticky piece of metadata: When a package is e.g. installed via enterprise policy and an update is then manually installed or sideloaded, the install reason will remain "policy." The install reason is tracked separately for each user. With this CL, two install reasons exist: "policy" and "unknown." Other install reasons will likely be supported in the future. Bug: 32692748 Bug: 33415829 Test: Tested manually with "adb install" / "adb uninstall" Change-Id: I0c9b9e1b8eb666bb6962564f6efd97e41703cd86
PackageManager.aidl
ackageInstaller.java
ackageManager.java
ackageUserState.java
|
0078e1b777fbd1b8d9e734632185851fee720cc9 |
12-Jan-2017 |
Jeff Sharkey <jsharkey@android.com> |
Add support for fallback categories. When an app doesn't define a category, look for a fallback category in a hard-coded list. This change only defines a fallback for a single package, but device-specific overlays can be used to provide more detailed fallback lists. The precidence order is: app manifest > installer hint > fallback Test: builds, boots, fallback categories work Bug: 33815939 Change-Id: I1f5ca76fb7e5743a4500c0a1230a754266f34d9e
allbackCategoryProvider.java
ackageParser.java
|
9bc89af3f1bce8003ee4f93b89a1770d8f5b9cc9 |
11-Jan-2017 |
Jeff Sharkey <jsharkey@android.com> |
Add API for apps to declare their "category". Upcoming platform features need to cluster apps together into broad categories to help summarize information to users. (For example, when presenting battery, network, and disk usage.) We are tightly limiting the set of categories to keep them easily presentable to users when summarizing information. This feature is not designed to be a general-purpose taxonomy, nor should it be allowed to become one. Older apps may not have defined a category in their manifests, so allow the installing app to define a category on their behalf. Test: builds, boots Bug: 33815939 Change-Id: I785b882ee7c18072ef47d56e0fc19ad72888e1b7
pplicationInfo.java
PackageManager.aidl
ackageManager.java
ackageParser.java
ackageUserState.java
|
7a36073c1493db30c6458a99234c08dded1a4daa |
12-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Unhide Wi-Fi Aware API (baseline)" am: dfe8f5dc13 am: 2a4e3bef2c am: b32dfa4ef5 am: 3fc5b186fa Change-Id: Ib668ed15ccf1f05c5ed31f700b69e1f3ab8b4cac
|
3fc5b186faea000a145a7ac57cd4b2d1e3c49b52 |
12-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Unhide Wi-Fi Aware API (baseline)" am: dfe8f5dc13 am: 2a4e3bef2c am: b32dfa4ef5 Change-Id: If2a6b632cd03984921572b190745865953a8e808
|
b32dfa4ef59e2cdf91360499ae80626fbe48340b |
12-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Unhide Wi-Fi Aware API (baseline)" am: dfe8f5dc13 am: 2a4e3bef2c Change-Id: I6f894d92451032657678639c3021eef07289a6a2
|
7f53ac150485c8178c14272a52e36f25d1578f53 |
11-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "Expose getApplicationInfo(UserHandle)"
|
458e54f00fba85825eca8b0640904323ab4c5e90 |
11-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
Merge "@hide RetentionPolicy.SOURCE annotation"
|
6a4b323f08cea4eb538883127ff07302c3b10c46 |
10-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Unhide Wi-Fi Aware API (baseline) Baseline Wi-Fi Aware API providing discovery and connectivity (data-path). Bug: 30983968 Test: unit tests + integration (sl4a) tests passing. Change-Id: Idd7c6a625f168717b083d5f13e291ce916571933
ackageManager.java
|
db3b10a95e18d918927e61fa983c30de7bf069a4 |
10-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
Update the javadoc on requestPinShortcut() about multiple... requests in a row form the same app. Bug 34175917 Test: Javadoc change only; presubmit test. Change-Id: Ibf33010dbd9080c557112e15efcadd30d95b121f
auncherApps.java
hortcutManager.java
|
f5663b13c54dad0c808057be1ad07a5681514e27 |
09-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
@hide RetentionPolicy.SOURCE annotation Bug 34094103 Test: Hiding an annotation only; "m". Change-Id: I7e0bec077a96024744977147c4b15cf2e3a1f309
auncherApps.java
|
4f6b884f8aabafe47114463146ac12463e514142 |
09-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
Expose getApplicationInfo(UserHandle) Test: The method already available; just making it public. Bug 33293439 Change-Id: Ic18eb254c185784ea9f16e0a8de6c62d6c1fe7bd
auncherApps.java
|
643ba812eb9a0deaad609c110c7d90505d44c302 |
07-Jan-2017 |
Stefan Kuhne <skuhne@google.com> |
Merge "Apps which do not support density cannot be resized"
|
9fd9019cf1f2c69c9bd1b9ea635a2605b3d9208f |
06-Jan-2017 |
Makoto Onuki <omakoto@google.com> |
Revert "ShortcutManager: Floating shortcuts shouldn't have target activities." This reverts commit 106ff7a0a1bef974ff04e9e79a25eb5e84555893. Test: All the unit tests (ShortcutManagerTest1*) CtsShortcutHostTestCases and CtsShortcutManagerTestCases Change-Id: Iadce2b3785cbf728daa60c4e2ff103e516d85896
hortcutInfo.java
|
7e85eb02783110f69343896083d8937c3ca00b03 |
04-Jan-2017 |
skuhne@google.com <skuhne@google.com> |
Apps which do not support density cannot be resized This is to prevent apps which do not support density (so essentially pre-Doughnut) from being resized and / or windowed in free form mode. These apps are rendered into a smaller sized buffer and then scaled onto the screen. Using freeform window mode with these apps uncovered many different problems. Bug: 33843467 Test: Pre-N as well as Pre-Doughnut applications are presented properly in free form mode. (Pre-Doughnut cannot be windowed / resized, many M apps can). Change-Id: I3c0eb3681486dc85ace15955432d79200743bce3
pplicationInfo.java
ackageParser.java
|
8af18a6fa31d7c8b926c1cbebcad293b103a02ce |
05-Jan-2017 |
Narayan Kamath <narayan@google.com> |
Merge "PackageParser: Add serialization mechanism for parse results."
|
243d13bd5c9cb36eb87847fa9722e654cb96883e |
04-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Require APK Signature Scheme v2 for ephemeral APKs"
|
abbc2badf5b8169f62fd725866c902f5b51b4cd5 |
04-Jan-2017 |
Alex Klyubin <klyubin@google.com> |
Require APK Signature Scheme v2 for ephemeral APKs This makes Package Manager require APK Signature Scheme v2 signatures for ephemeral APKs. This part of the effort to deprecate the v1 signature scheme based on JAR signing. Test: cts-tradefed run singleCommand cts --skip-device-info --skip-preconditions --skip-connectivity-check --abi arm64-v8a --module CtsAppSecurityHostTestCases -t android.appsecurity.cts.PkgInstallSignatureVerificationTest Bug: 33700225 Change-Id: I3b408487c07085c0a7924d3eca495bdcb344b32d
ackageParser.java
|
87a563e0707bb7e2be034c195e9827dfe3451cfd |
02-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
AppWidgetManager: direct add widget support. Test: Manual test and all the unit tests: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests ... to test9 adb shell am instrument -e class com.android.server.appwidget.AppWidgetServiceImplTest -w com.android.frameworks.servicestests Bug 32404406 Change-Id: Icd6d4cbd25d9cdf4508da725d95d6401cc3a46a7
auncherApps.java
hortcutManager.java
hortcutServiceInternal.java
|
fb2afbf7fa63e972e3de5a9ecf1e246019246792 |
24-Nov-2016 |
Narayan Kamath <narayan@google.com> |
PackageParser: Add serialization mechanism for parse results. Also adds unit tests that assert that the cached value is equivalent to the parsed value. bug: 30792387 Test: PackageParserTest Change-Id: Ibf6dfd1225243b436e3d7473170c2ccc31cfbbd7
ackageParser.java
|
e080da9ee027fcd030aa92ea26fd0ed9f031674f |
22-Dec-2016 |
Svetoslav Ganov <svetoslavganov@google.com> |
Settings recovery support This change allows the system to perform iterative reset of changes to settings in order to recover from bad a state such as a reboot loop. To enable this we add the notion of a default value. The default can be set by any package but if the package that set it is a part of the system, i.e. trusted, then other packages that are not a part of the system, i.e. untrusted, cannot change the default. The settings setter APIs that do not take a default effectively clear the default. Putting a setting from a system component always makes it the default and if the package in not trusted then value is not made the default. The rationale is that the system is tested and its values are safe but third-party components are not trusted and their values are not safe. The reset modes from the least intrusive are: untrusted defaults - reset only settings set by untrusted components to their defaults or clear them otherwise; untrusted clear - clear settings set by untrusted components (or snap to default if provided by the system); trusted defaults - reset all settings to defaults set by the system or clear them otherwise. Also a package can reset to defaults changes it made to the global and secure settings. It is also possible to associate a setting with an optional token which can then be used to reset settings set by this package and associated with the token allowing parallel experiments over disjoint settings subsets. The default values are also useful for experiment (or more precisely iterative tuning of devices' behavior in production) as the stable configuration can be set to the "graduated" safe defaults and set the values to the experimental ones to measure impact. Test: tests pass Change-Id: I838955ea3bb28337f416ee244dff2fb1199b6943
ackageManagerInternal.java
|
5be781d874198ed476da31e800a1354c826ca689 |
21-Dec-2016 |
Calin Juravle <calin@google.com> |
Merge "Report non-primary dex files loads to PM" am: f23ea2ca62 am: 78b3889804 am: 9947e79b26 Change-Id: I8ddb7756c0690584343cb026a298bc5f0b8d4e27
|
9947e79b263dbefcd760e0014d088db65f16eecd |
21-Dec-2016 |
Calin Juravle <calin@google.com> |
Merge "Report non-primary dex files loads to PM" am: f23ea2ca62 am: 78b3889804 Change-Id: Iaf17def2729170403fa61ce0e09ced4675a47191
|
82f4b263a09630b9937ecb2cc3dea5b21eaa7b8f |
19-Dec-2016 |
Alan Viverette <alanv@google.com> |
Add tests, refactor min/targetSdkVersion checks in PackageParser Tests were added and verified before refactoring to ensure no behavior changes. This is the first step in revising compat checks for O policy. Bug: 33455703 Test: PackageParserTest#testComputeMinSdkVersion Test: PackageParserTest#testComputeTargetSdkVersion Change-Id: I483b4d23945183702b7e077fa1bd6d3ab5065acc
ackageParser.java
|
9abb501075b1309ff6d238e42fc8cc87ce5c3bdf |
23-Nov-2016 |
Calin Juravle <calin@google.com> |
Report non-primary dex files loads to PM Scaffold for the reporting of non-primary dex files loads to the package manager. This will enable: 1) monitoring and compilation of secondary dex file 2) better way to track foreign dex file usage (used to determined the compilation filter of apks). Test: device boots Bug: 32871170 (cherry picked from commit 8d2a51f1b8fc35a1d4fda6b6cdfdf2754f1e1211) Change-Id: I61e65aee471798fbc7a18938647051274c3a058a
PackageManager.aidl
|
12e15a9c22cbd46e8d18b947b1b3434d5a27df8f |
19-Dec-2016 |
Calin Juravle <calin@google.com> |
Merge "Report non-primary dex files loads to PM"
|
10ec36772f43b8f53da68d5397af733116168e25 |
17-Dec-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Implicitly expose activities"
|
388eb8c4a292862c3c1219f84a48143c5e943cdf |
16-Dec-2016 |
Todd Kennedy <toddke@google.com> |
Implicitly expose activities Activities that have a browsable web intent filter [action.VIEW, category.BROWSABLE and http(s) scheme] are implicitly exposed to instant apps. Authors can explicitly hide these activities by using the attribute android:visibleToInstantApp="false". Bug: 25119046 Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest Change-Id: I88b277a719e7ecd5631f8cbd281757eb3e3d2ce6
ackageParser.java
|
de315b99dcaf7202898d6334570753ffee43c1f1 |
16-Dec-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManagre: foreground check, more tests."
|
624a821c8deee6872e75833533f5227a5864b2aa |
16-Dec-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix IntentFilter#getAutoVerify()"
|
2688cfcc4aedf2b9a1cde8dc6d77d92604fc8d3c |
16-Dec-2016 |
Tamas Berghammer <tberghammer@google.com> |
Merge "Install all files from the lib directory for debuggable apps" am: c0cc7c646c am: 736852e2c4 am: db274f7859 am: 362775ee20 Change-Id: I9194b856610e7b102bc46705fb2cb6937def7023
|
362775ee200bc63365c2b1affac1bdffeb816ca4 |
16-Dec-2016 |
Tamas Berghammer <tberghammer@google.com> |
Merge "Install all files from the lib directory for debuggable apps" am: c0cc7c646c am: 736852e2c4 am: db274f7859 Change-Id: I4bd6e3da9c41fcfb9a5d8f39c63da446515fc9ff
|
db274f7859c0f374423c9cd7df72b2ad55192afa |
16-Dec-2016 |
Tamas Berghammer <tberghammer@google.com> |
Merge "Install all files from the lib directory for debuggable apps" am: c0cc7c646c am: 736852e2c4 Change-Id: I0faa3ab541ca8d1400719653171b4bcafceada81
|
c0cc7c646ca5892f15d87a99b8fac47e7beb5fc6 |
16-Dec-2016 |
Treehugger Robot <treehugger-gerrit@google.com> |
Merge "Install all files from the lib directory for debuggable apps"
|
a01f4f03e920277a48369b06983c728a73b8dcd4 |
16-Dec-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManagre: foreground check, more tests. Test: Manual test and all the unit tests: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests ... to test8 Bug 32908854 Change-Id: I30ba421e9730741776c1936e40ccf7b7431289da
hortcutInfo.java
|
3decab60ac992093dbb731eb71588737e7d835da |
15-Dec-2016 |
Christopher Tate <ctate@google.com> |
Fix IntentFilter#getAutoVerify() Also fix the verification result display in dumpsys. Bug 21490494 Change-Id: I043bd9a7cc0dc6bf4490b5501682aef63cbe5c72
ntentFilterVerificationInfo.java
|
ab99c11c55c82e39a601a0b6f59005011f9fa109 |
15-Dec-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: direct pin shortcut support."
|
8d2a51f1b8fc35a1d4fda6b6cdfdf2754f1e1211 |
23-Nov-2016 |
Calin Juravle <calin@google.com> |
Report non-primary dex files loads to PM Scaffold for the reporting of non-primary dex files loads to the package manager. This will enable: 1) monitoring and compilation of secondary dex file 2) better way to track foreign dex file usage (used to determined the compilation filter of apks). Test: device boots Bug: 32871170 Change-Id: Ib0fe076af2c734dd054f092247a1ec7e2a74a70d
PackageManager.aidl
|
e093a98925307ef11d1cfa4a26ade534eceb464c |
14-Dec-2016 |
Michal Karpinski <mkarpinski@google.com> |
Merge "Fix javadoc for PackageManager#getNameForUid()"
|
d1c710d5cff55b632e91d95cdba158bbc3879bc8 |
14-Dec-2016 |
Michal Karpinski <mkarpinski@google.com> |
DO NOT MERGE [DPM] Management and retrieval of network logs am: 4c47adef60 Change-Id: I39486c9d6116023f1ee9bd576b7fcd0fe20023a1
|
58369e3d5363ef2895fa48254e517d8c50eadb7f |
14-Dec-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Prevent crash on uninstall. am: 12ab5e1d70 am: a1501095cf Change-Id: I62bbc3c8e228b6dcda8d8edcb22d29634cabf271
|
a1501095cfe4465fea75997629d8a6265b159432 |
14-Dec-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Prevent crash on uninstall. am: 12ab5e1d70 Change-Id: I8301d17bb0bbd16a4adeaadb7b7bd04ad7159407
|
cb67dc9eadf6c6aaa343f48e24b2b43914639c05 |
13-Dec-2016 |
Michal Karpinski <mkarpinski@google.com> |
Fix javadoc for PackageManager#getNameForUid() Change-Id: Ia4fbd6948ab0703c7df9dceae99170ffb8c96ddb
ackageManager.java
ackageManagerInternal.java
|
2d895c3efd625e09e9f2cc4d0c7131b34f52f154 |
03-Dec-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: direct pin shortcut support. Test: Manual test and all the unit tests: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests ... to test8 Bug 32908854 Change-Id: I11b81656959cccfb4efa83f08380b915e6eb84a6
PinItemRequest.aidl
ShortcutService.aidl
auncherApps.java
hortcutManager.java
|
4c47adef60ca0326bdbe124dfdd335382e5c0787 |
12-Oct-2016 |
Michal Karpinski <mkarpinski@google.com> |
DO NOT MERGE [DPM] Management and retrieval of network logs This CL follows up on ag/1530343 and adds: 1) Various network events. 2) Retrieval method in DPM and APIs in DeviceAdminReceiver. 3) Extension of NetworkLogger and it's NetworkLoggingHandler. Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/NetworkEventTest.java Bug: 29748723 Change-Id: I42a1a477e7c75c109a3982f809c22732b814e8b2
ackageManagerInternal.java
|
72d633f430264181baf93f3344dfbcf269cd7c62 |
12-Dec-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Scope package manager queries for ephemeral apps"
|
7bc3a70966f17bf16acbf4fe640dab0698866d72 |
08-Dec-2016 |
Todd Kennedy <toddke@google.com> |
Scope package manager queries for ephemeral apps Ephemeral apps can only see their own components or those components exposed via the "visibleToEphemeral" XML attribute. Normal apps can only see other normal apps. There is no way to expose ephemeral components to normal apps. Bug: 33458220 Test: Manually install ephemeral/normal apps and ensure they can only see appropriate components Change-Id: I6ae65fd2a6ddc9aa9691f02cd55d4953048966b0
ctivityInfo.java
ackageManager.java
ackageParser.java
roviderInfo.java
erviceInfo.java
|
e15e208ad0b25e3db095ab70ba336a5c7fcae695 |
09-Dec-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Make MATCH_ANY_USER system api"
|
b7717682495e51f602004dfbfabdf767d3fbf3de |
01-Dec-2016 |
Todd Kennedy <toddke@google.com> |
Add system API to install ephemeral apps Test: manual; install using "adb install --ephemeral" Change-Id: Idce214779fea5f3c4a0121542319044f9f0e0a42
ackageInstaller.java
|
475f9a3d424c5fe6de6a5c58f0b350ba9e289886 |
08-Dec-2016 |
Amith Yamasani <yamasani@google.com> |
Make MATCH_ANY_USER system api to allow for some privileged apps to use it. Also fixed the javadoc to mention the correct permission. Test: API already exercised by Settings and PackageInstaller Bug: 31000380 Change-Id: I5fc810dfe9f8d2b64d01bbaaa0bd26ebef4e8de1
ackageManager.java
|
322347ba58f02b960dc87eca3cb0ebe0455c9253 |
02-Dec-2016 |
skuhne@google.com <skuhne@google.com> |
Adding orientation preserving resizing Adding freeform resizing to activities which require a certain orientation. This is needed for e.g. ARC++. Bug: 33267688 Test: runtest frameworks-services -c com.android.server.wm.TaskPositionerTests Test: Visually on ARC++ Change-Id: If708c1602cb2ff464174389af4648ad767b0b079
ctivityInfo.java
ackageParser.java
|
988149c925b583f5c77f567fa622e39309bc4ae9 |
01-Dec-2016 |
Narayan Kamath <narayan@google.com> |
PackageParser: Add support for caching parse results on the file system. The exact scheme for serializing parse results is left undefined, and will be implemented in a follow-up change. Also adds a unit test for this functionality. Test: PackageParserTest Bug: 30792387 Change-Id: I5be6a3f97b5688d0a1aa9e024e946d590ad92c13
ackageParser.java
|
54365465897a0fbb2d61c3fb2460698384328ad4 |
02-Dec-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: Floating shortcuts shouldn't have target activities."
|
e8c963984f43e8e6952fc046fe46b3b139654f49 |
02-Dec-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Disallow sharedUserId in Ephemeral apps"
|
32d07dce7adc23723ca2b9f76d9542a35a5ffa6b |
02-Dec-2016 |
Chad Brubaker <cbrubaker@google.com> |
Disallow sharedUserId in Ephemeral apps Test: adb install --ephemeral apk fails with a shareduid defined Change-Id: I2e03d89b983b99e35ea799618f6830b309c09b49
ackageParser.java
|
106ff7a0a1bef974ff04e9e79a25eb5e84555893 |
01-Dec-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: Floating shortcuts shouldn't have target activities. Previously, even floating shortcuts (pinned but not dynamic nor manifest) had target activities. Now we're going to allow headless apps to have pinned shortcuts, in which cases shortcuts won't have target activities, let's just always remove target activities from floating shortcuts. Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests ... to Test8. Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsShortcutManagerTestCases Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsShortcutHostTestCases Change-Id: I10e5b87338cafb90e6566b3526f892c5330c73e9
hortcutInfo.java
|
0d1fd8d09163566d2c7eb72037f63b6404ada642 |
12-Oct-2016 |
Amith Yamasani <yamasani@google.com> |
Secure MATCH_UNINSTALLED_PACKAGES across users Introduce a new internal flag MATCH_ANY_USER for genuine uses of searching through all apps on the device. Some temporary accommodations for Launchers that reach across to the work profile until we have a new LauncherApps API to do that officially. Bug: 31000380 Test: CTS tests added Change-Id: I2e43dc49d6c2e11814a8f8d1eb07ef557f31af34
auncherActivityInfo.java
auncherApps.java
ackageManager.java
ackageParser.java
ackageUserState.java
|
02c8990bd6125f05cb32561727d559dc9327a601 |
15-Nov-2016 |
Kenny Guy <kennyguy@google.com> |
Allow overriding max profile in debugable builds. Support a system property on debugable builds to override the max number of managed profiles to allow easier dogfooding of multiple profiles. Support 3 different badge colours for managed profiles. Bug: 30473760 Test: runtest -c com.android.server.pm.UserManagerServiceCreateProfileTest frameworks-services Test: runtest -c com.android.server.pm.UserManagerServiceUserInfoTest frameworks-services Test: manual - attempting to create 2 profiles with adb fails, passes once I set the property. Change-Id: Ie7fb19048a04a01572666f229283152254d0ffc3
ackageManager.java
serInfo.java
|
b1df48d32632d0ba5a2389fb9fad2943dcb55562 |
23-Nov-2016 |
Baligh Uddin <baligh@google.com> |
Merge remote-tracking branch 'goog/cw-f-dev' into fix_merger Bug: 32849428 * goog/cw-f-dev: (98 commits) Revert "Catch KeyStoreException for setting profile lock" Fix createConfirmDeviceCredentialIntent for wear for CTS. Fix default dialog background colour for watch devices. Catch KeyStoreException for setting profile lock Add cross-links between FINE and COARSE location permissions. bug: 25371600 Fixed a bug with the emergency affordance in multi user Zygote: Additional whitelists for runtime overlay / other static resources. Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Zygote : Block SIGCHLD during fork. colors: add missing accent_material_{700,50} resources. Import translations. DO NOT MERGE Import translations. DO NOT MERGE Zygote : Block SIGCHLD during fork. DO NOT MERGE ANYWHERE Revert "DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous" ... Change-Id: I63468da5bfa21ed9ac5985bbdbf3a61d4c389aa0
|
4fe2517732bc39ed736b2451fc3399c010ff9380 |
21-Nov-2016 |
Ian Pedowitz <ijpedowitz@google.com> |
Revert "Lists returned from OS aren't mutable." This reverts commit 97449fa389dbc1ab872d63fde001bae7a659991b. Bug: 33034458 Bug: 33032977 Bug: 27856974 Change-Id: If913e587ce4a48b9ed1c7c0a811bc39ce4e31d3c
arceledListSlice.java
|
97449fa389dbc1ab872d63fde001bae7a659991b |
18-Nov-2016 |
Jeff Sharkey <jsharkey@android.com> |
Lists returned from OS aren't mutable. Data returned via ParceledListSlice is a snapshot of data from the system, and should not be mutated directly. In particular, this can cause developer confusion if they call Collection.remove(), which doesn't actually mutate the value in the system. There are other mutation APIs that developers should be using instead, such as JobScheduler.cancel(). Test: builds, boots, common operations work Bug: 27856974 Change-Id: I72528dee4d79e483aa295bd91d1ed80d0d72d21c
arceledListSlice.java
|
1133424c2bf28640299a6de375aaa19cfcb407b5 |
17-Nov-2016 |
Bartosz Fabianowski <bartfab@google.com> |
Wire up PM.getInstalledApplicationsAsUser(flags, userId) as hidden API Settings needs to access a variant of getInstalledApplications() which takes a |userId| argument. Since this is not currently exposed by PackageManager, Settings calls into PackageManagerService directly. This is ugly and breaks the regular abstraction layer hierarchy. The CL fixes the problem by exposing the required variant of getInstalledApplications() as a hidden API, analogously to what was done before with getInstalledPackages(). Bug: 32692748 Test: Will be CTS-verifier-tested together with Settings Change-Id: Id9c4e8e18524d312159821f1a4d5527263c7e950
ackageManager.java
|
3e12f413d40e55da3d8a964740bc2aa9899c622b |
17-Nov-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Implement 2-phase resolution"
|
da153f5af4612fb4ae8b5aa3324603e707e65658 |
16-Nov-2016 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Shift ApplicationInfo private flags"
|
26c48fac73cce07d0a41c567e97d9d3f02d3a5d3 |
16-Nov-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes I99813278,I6285042b * changes: Fix copypasta error. Aggressively clear cached data when forgetting.
|
a3a43b09fe54c7f72554d8b37e539629acf15132 |
16-Nov-2016 |
Jeff Sharkey <jsharkey@android.com> |
Fix copypasta error. Test: builds Bug: 29087651 Change-Id: I99813278bc37fa332730144f821b33ae6bd35650
pplicationInfo.java
|
2250d56a0b47b93016018340c8f4040325aa5611 |
08-Nov-2016 |
Sudheer Shanka <sudheersai@google.com> |
Rename MountService to StorageManagerService. Bug: 30977067 Test: Existing tests pass Change-Id: Ieac0f11c2b249dcd60441b14c1f391e6f8131d42
PackageManager.aidl
|
01ad0c7e403794b272494f187d91f57bdfa07c9d |
12-Nov-2016 |
Todd Kennedy <toddke@google.com> |
Implement 2-phase resolution Bug: 25119046 Test: build & install the sample resolver and run 'adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "https://www.tripadvisor.com/Tourism-g33020-San_Jose_California-Vacations.html"' Change-Id: I624b9028061aad35db80e0d51bfe0a39fb81806c
phemeralRequest.java
phemeralResolveInfo.java
phemeralResponse.java
ackageManagerInternal.java
esolveInfo.java
|
890a14d3995941e0dbde82b867e8952fbcc18dfe |
12-Nov-2016 |
Makoto Onuki <omakoto@google.com> |
App Shortcut: Clarify which attributes must be resources am: 104f805337 am: 2a3fe7d979 am: b0fd5ba122 am: 7e1b835a4e Change-Id: I767dcbe980a60af1a3076acdf9234f4241ab7ca1
|
7e1b835a4e7f3e8d29b1c294cbbd2ca1eeb2cfbf |
12-Nov-2016 |
Makoto Onuki <omakoto@google.com> |
App Shortcut: Clarify which attributes must be resources am: 104f805337 am: 2a3fe7d979 am: b0fd5ba122 Change-Id: I4780d09f8b692dbe76f1726a436f9693281fd488
|
12ab5e1d700714253fd05b8858bf4a3ec543afed |
11-Nov-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Prevent crash on uninstall. - Crash due to race between package removal and permission revocation. - Catch exception thrown by packagemanager. - Improve documentation of packagemanager methods. Bug: 32247014 Change-Id: Ie548c385e9e86418e7c4b87c571beebfcaeff353
ackageManager.java
|
e07641d4fbdd0528c18305213e861a6e1aff4a3b |
10-Nov-2016 |
Dianne Hackborn <hackbod@google.com> |
Start implementing background restrictions for eph apps. This implements the additional intended path for checking allowed background operations, APP_START_MODE_DISABLED, which doesn't allow an app to launch in the background at all. Also change the semantics of delivering broadcasts to manifest receivers to always restrict those, not changing based on whether the app is currently idle. This is the desired intended behavior for apps as they explicitly update to work with bg check. And now that we have ephemerality associated with the uid state in the activity manager, we can propagate this through the relevant callbacks in IUidObserver so things watching these changes can immediately determine whether they should do their more aggressive shut down work for the uid rather than having to walk through all their state looking for package associated with that uid and whether they should be shut down. Also remove the "lenient" bg check mode, since that was just an early experiment that we won't actually use. Add a new "make-idle" activity manager command to immediately put a uid into the idle state (if possible) to make it easier to test. Test: manually against an eph app Change-Id: I43a138ff281f69a9251d3f29ab6e13f48cff8ad6
ackageManagerInternal.java
|
d6dd6b8a613c9c91eeebde713f12f18e6cc43c1f |
07-Oct-2016 |
Tamas Berghammer <tberghammer@google.com> |
Install all files from the lib directory for debuggable apps This is required to support developer tools what want to install helper code (e.g. scripts, executables) into the apps lib directory. Test: manual - install debuggable & non-debuggable app Change-Id: Ibceb827f92a09735d7c605e689e23c0cd293a6fd
ackageParser.java
|
e5195dd17c5e1d8538049a5282c0d988988f63c8 |
20-Oct-2016 |
Todd Kennedy <toddke@google.com> |
Implement new API This is the first swack at the new, 2-phase API. Adds the new methods to the resolver service and makes the split name explicit on the installer intent. The 2nd phase will not yet be invoked; that's coming in a follow-on change. Bug: 25119046 Test: build & install the sample resolver and run 'adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "https://www.tripadvisor.com/Tourism-g33020-San_Jose_California-Vacations.html"' Change-Id: I2df6fa64d46f17a86a2e32b19417632c594fb10f
phemeralIntentFilter.java
phemeralResolveInfo.java
esolveInfo.java
|
a99a05982e181f079c0cdb63f753f1677bc55b4a |
06-Nov-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN-AWARE] Rename NAN to Aware" am: 74b1131cc8 am: 6571007101 Change-Id: Ief54b313dc5ca5d30645b55ed2ad0333036a1671
|
65710071018141fecd0346ed09e53c262939e54c |
06-Nov-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN-AWARE] Rename NAN to Aware" am: 74b1131cc8 Change-Id: I2e788e19a11f2709f2e542dbdc4b58433a3574bf
|
0849ded00879dc05175c079011aa038c5ba0770a |
26-Oct-2016 |
Etan Cohen <etancohen@google.com> |
[NAN-AWARE] Rename NAN to Aware ~Rename only (and any reformatting needed to pass lint) - no functional changes! Remove android.net.wifi.nan.STATE_CHANGED from manifest: redundant/remnant of an older configuration. (cherry-pick of commit a61b9fb569153917a650f1d48efa20ba8846a9f3) Bug: 32263750 Test: All unit tests and integration (sl4a) tests pass. Merged-In: Ie4ff675fa61041e8fcf6a9bf9900ea835d0a7614 Change-Id: I4206d2fd722dc7dec9df4aee5c818101d7f9dccc
ackageManager.java
|
3a1dd86ce48533055b062364a2bd567a259abf71 |
05-Nov-2016 |
Etan Cohen <etancohen@google.com> |
Merge "[NAN-AWARE] Rename NAN to Aware"
|
0413327d741fe7246f9d5bf508da6f6b6a6a7476 |
26-Oct-2016 |
Etan Cohen <etancohen@google.com> |
[NAN-AWARE] Rename NAN to Aware ~Rename only (and any reformatting needed to pass lint) - no functional changes! Remove android.net.wifi.nan.STATE_CHANGED from manifest: redundant/remnant of an older configuration. (cherry-pick of commit a61b9fb569153917a650f1d48efa20ba8846a9f3) (cherry-pick of commit b061f21e7e59a99834e163e2baa1c82229e419a6) Bug: 32263750 Test: All unit tests and integration (sl4a) tests pass. Change-Id: Ie4ff675fa61041e8fcf6a9bf9900ea835d0a7614
ackageManager.java
|
3e8431f1f223cb688f66da30816515d87f846d5b |
04-Nov-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Move IActivityManager to aidl."
|
4389c23b3581d35660f85f3a6c6d7c8ed4dfc17b |
04-Nov-2016 |
Chad Brubaker <cbrubaker@google.com> |
Shift ApplicationInfo private flags Move FLAG_EPHEMERAL (new in O) to the gap where the old unused FLAG_AUTPLAY was and then shift the remaining flags down. Test: Builds Change-Id: I9a159dd82a3eb104adc1e3985a15115e866fbda5
pplicationInfo.java
|
cbc59b8aa620ce6eea50bd787d2daa0d5232fe68 |
04-Nov-2016 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Move ephemeral apps into the ephemeral SELinux domain"
|
fc46e9b643881b7b2ab76854f3a0ac077e9def8d |
22-Oct-2016 |
Sudheer Shanka <sudheersai@google.com> |
Move IActivityManager to aidl. Bug: 30977067 Test: Existing tests are passing, dump commands still working. Change-Id: I9cf81c4d381ebce14a6c701e409cbb269f2ff1fb
onfigurationInfo.aidl
|
02e17d27b1d9289059fd18d512ae978f0dfd666e |
03-Nov-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "[DPM] Management and retrieval of network logs"
|
3c177282974f556c33cad7c470722989f06008de |
02-Nov-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Merge "Reuse single AssetManager for lite/full parses"
|
d3986be5e40115158cb3e41f251cad41cf08eeab |
01-Nov-2016 |
Tony Mak <tonymak@google.com> |
Add javadoc for profileGroupId According to the implementation of getProfileParent, profileGroupId == parent user id. And we have already assumed this is true in some part of code in DPMS. Test: Javadocs change Change-Id: Ie48fdf24fb0428d4ee3f09bed2ac26cb17e1ced9
serInfo.java
|
f77ee4f1b79929a77f603e5e879f3616ae464e3e |
12-Oct-2016 |
Michal Karpinski <mkarpinski@google.com> |
[DPM] Management and retrieval of network logs This CL follows up on ag/1530343 and adds: 1) Various network events. 2) Retrieval method in DPM and APIs in DeviceAdminReceiver. 3) Extension of NetworkLogger and it's NetworkLoggingHandler. Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/NetworkEventTest.java Bug: 29748723 Change-Id: I42a1a477e7c75c109a3982f809c22732b814e8b2
ackageManagerInternal.java
|
965fa697c96d00ec16847adcd4e0618844cddd2c |
29-Oct-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Reuse single AssetManager for lite/full parses parseClusterPackage/parseMonolithicPackageLite now share a single instance of AssetManager, avoiding loading resources twice. Test: manual Bug: 29273545 Bug: 30792387 Change-Id: I2209cf6f09886d444dc62993aace00c356718cdb
ackageParser.java
|
006b53a68149d22dc8174ed6c46175967e6f0764 |
31-Oct-2016 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Add ephemeral protection level"
|
104f8053370f9e01ac2e8e23bc31d128e5fcc00b |
28-Oct-2016 |
Makoto Onuki <omakoto@google.com> |
App Shortcut: Clarify which attributes must be resources Test: javadoc only -- m -j32 offline-sdk-docs Bug 32495737 Change-Id: I4c3884172761b128d07f1c2948ab7ccc53951a7e
hortcutManager.java
|
c19706a937abc5d025a59b354b3a0d89e7d62805 |
14-Oct-2016 |
Chad Brubaker <cbrubaker@google.com> |
Add ephemeral protection level Ephemeral applications will only be able to be granted permissions that have the ephemeral proteciton level, this allows us to tighly define what behavior is OK for ephemeral applications. This includes an initial small whitelist of permissions for ephemeral apps, it may be expanded later. Test: adb install --ephemeral, verified against both runtime and install time permissions Test: cts-tradefed run cts -m CtsPermission2TestCases Change-Id: I854c44cf7a293d484b674cdd4fb5141e362a2f1a
ackageParser.java
ermissionInfo.java
|
0f5d753972ca784cd9335e27ae5ec0865ee89063 |
18-Oct-2016 |
Robert Carr <racarr@google.com> |
Allow specifying rotation animation in manifest. In the case where activity launching may trigger orientation changes we may wish to run the rotation animation with a starting window, in which case the app won't have had time to set the rotation animation on the window yet, so we desire a way to specify it for the whole activity. Test: Run RotationAnimation activity from API Demos and verify default animation is crossfade Bug: 29940147 Change-Id: I5deae6c6a32ee51a0a5409d38f0e5d15ca464a1b
ctivityInfo.java
ackageParser.java
|
b881803ef2c891595cdb36006eca40b760430c1c |
20-Oct-2016 |
Kevin Hufnagle <khufnagle@google.com> |
docs: Updated ShortcutManager and ShortcutInfo class references. am: 68d699d100 am: 38138600d2 am: cc93c4d247 Change-Id: Idc65cf4ce396728840a81893b2e078af6152cddc
|
cc93c4d24754606adca6085b144182156cb8543e |
20-Oct-2016 |
Kevin Hufnagle <khufnagle@google.com> |
docs: Updated ShortcutManager and ShortcutInfo class references. am: 68d699d100 am: 38138600d2 Change-Id: I5545ca14cebb7ff1d38f03d329c3a0dd1f329390
|
68d699d100584b7e5c76ac69737e717f3c6a88d4 |
15-Oct-2016 |
Kevin Hufnagle <khufnagle@google.com> |
docs: Updated ShortcutManager and ShortcutInfo class references. Bug: 32074598 Change-Id: I168d49a8542b411a074dc6e9120b0f08f72a829a
hortcutInfo.java
hortcutManager.java
|
df241e97715abf10fc043233d18ac4cdd5c0f889 |
14-Oct-2016 |
Wale Ogunwale <ogunwale@google.com> |
Allow home activity to be resizeable if it explicitly wants to be. We previously didn't allow home activities to be resizeable due to not fully understanding how the UX would work. We now have a better idea of how the UX will work. However, since this is a behavior change for home activities we require them to explicitly say they want to be resizeable vs. the framework assuming they can be resizeable based on their target sdk. Bug: 30982291 Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts Change-Id: I41aefc8c3b3da4c2cf66be81835222196df3ef26
ctivityInfo.java
|
72a73e347352302c72a4ef701bcba91336db22a9 |
13-Oct-2016 |
Wale Ogunwale <ogunwale@google.com> |
Track making activity resizeable based on sdk version separately. To support resizeable home activities we need to make the home activity resizeable only when the app explicitly says it is resizeable. To be able to do that we need to track if we are allowing the app to be resizeable due to the sdk version it is targetting separately from it explicitly setting it so that activity manager and window manager can make the right choices in a follow-up CL. Bug: 30982291 Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts Change-Id: I10f53ee9e57a41a3edece91cf68c5e8ef4bf4489
ctivityInfo.java
pplicationInfo.java
ackageParser.java
|
3eadad75664e71519deebcf7a978b492952616ff |
13-Oct-2016 |
Wale Ogunwale <ogunwale@google.com> |
Removed ActivityInfo.RESIZE_MODE_CROP_WINDOWS and related code. The 2-finger gesture feature which this code is used for never shipped and was removed from the code base. Test: Existing tests pass. Change-Id: I1540c8729fe87fef8e39b41747438557a8da2fa6
ctivityInfo.java
ackageParser.java
|
5cde9305e4f318d58666939b36a2e019317b3b0c |
12-Oct-2016 |
Chet Haase <chet@google.com> |
Fix small typo in ShortcutManager header docs am: c158431f8e am: 5aa0dfcc0a am: 3267a2462d Change-Id: I9417c0a15bbc2125dd0c370bc09b2315706005f1
|
3267a2462d98e10aad264b6c5b4658e708709f54 |
12-Oct-2016 |
Chet Haase <chet@google.com> |
Fix small typo in ShortcutManager header docs am: c158431f8e am: 5aa0dfcc0a Change-Id: Ia3a1a14cf561e6846245fa8265e96e954d8a185d
|
c158431f8ed027de30d715cfefd70315d1f3828a |
11-Oct-2016 |
Chet Haase <chet@google.com> |
Fix small typo in ShortcutManager header docs Bug: 32093275 fix typo in ShortcutManager javadocs Test: no test, just words in the header docs Change-Id: Icd33481a7f285686429d908cf92de0f6f886f962
hortcutManager.java
|
45abcf44c5a1735905ec5a481dd396ef3fad6c54 |
07-Oct-2016 |
Chad Brubaker <cbrubaker@google.com> |
Move ephemeral apps into the ephemeral SELinux domain This also removes AutoplayApp which was the previous (ununsed) N domain and flag for ephemeral apps. Test: Ephemeral apps now run in ephemeral_app Change-Id: Ie339885c3996acbdcfe12452daa1d5edb3b93cda
pplicationInfo.java
|
700e1e7ee8e4ed491768a35ed692a4e8f0ff0d4b |
28-Sep-2016 |
Nicolas Prevot <nprevot@google.com> |
Don't allow the shell to change admin-locked app permissions. BUG:27432532 Change-Id: I67f8794ea923edb5024033bb2a4474a1fb6d5fd9
ackageManagerInternal.java
|
9dc7f07f263118fb3fc6bf98974de47137de534f |
27-Sep-2016 |
Kevin Hufnagle <khufnagle@google.com> |
docs: Adjusted return value desc. for getApplicationEnabledSetting am: 5add769f59 am: 1fb3dec4be am: 5ca3c61069 Change-Id: I4bc998a8b1848068d030b3c826189836de3c7375
|
bec2e99f95329ebf76af5a8ec0ee2fbed2fd1085 |
27-Sep-2016 |
Kevin Hufnagle <khufnagle@google.com> |
docs: Adjusted return value desc. for getApplicationEnabledSetting am: 5add769f59 am: d23fc43965 Change-Id: I27847f0935c047e74ab986c501fce160679a80d7
|
5ca3c61069f9bc7742d0101155d6c25b71fe50a5 |
27-Sep-2016 |
Kevin Hufnagle <khufnagle@google.com> |
docs: Adjusted return value desc. for getApplicationEnabledSetting am: 5add769f59 am: 1fb3dec4be Change-Id: I0137a54c007b590891486fbb5a4c167b2fd52961
|
d23fc4396503d74f9ecd02261e1d3c7717d067db |
27-Sep-2016 |
Kevin Hufnagle <khufnagle@google.com> |
docs: Adjusted return value desc. for getApplicationEnabledSetting am: 5add769f59 Change-Id: Ic0566aa6e2764a9d0db58c6f66ad028229a8fdca
|
1fb3dec4be945965d5e1066ae77f4047a9c0f5dd |
27-Sep-2016 |
Kevin Hufnagle <khufnagle@google.com> |
docs: Adjusted return value desc. for getApplicationEnabledSetting am: 5add769f59 Change-Id: Ibffca6373a01e74bc25a4f44afbc7c4463810124
|
973edd19db752483f5958f974068c89fead1371b |
09-Sep-2016 |
Svet Ganov <svetoslavganov@google.com> |
Don't show account access request UI until app launched. Sync adapters that don't have account access cannot run until the user explicitly approves in the UI. This is spammy given the user may not use the app right away. This change doesn't show the notificaiton until the app has run. bug:31162498 Change-Id: I1f4f2d2e9426f78763590e8aa542b94d6e93e488
ackageManagerInternal.java
|
944b003747f7475ac7b81820f49d17693799f33e |
14-Sep-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Support for specifying orientation in WindowContainer"
|
83a219be68a9a8ba6e715cfb9faf792ea315ceef |
14-Sep-2016 |
liulvping <liulvping@xiaomi.com> |
Merge "fix NullPointerException in RegisteredServicesCache" am: 4b1a8f46d6 am: 506bf0741a am: 5f4f8d2441 am: 9eadea585c Change-Id: I928d9cccf7c99f36540dcde1cf31c4e35b3d79ff
|
5136249a7147fb205e1b861c1d42a7d1f13b73cc |
09-Sep-2016 |
Wale Ogunwale <ogunwale@google.com> |
Support for specifying orientation in WindowContainer Also, - Fixed failing tests when they are ran as a package vs. individual classes due to multiple window manager instance. - Correct some isVisible logic to so a window container that is invisible is not said to be visible, because one of its children is visible. Bug: 30060889 Change-Id: I1bb8730361be2a9f5ce88cd59b7d57d5a459bde6
ctivityInfo.java
|
9eadea585ce0e5eb6b47243ac635ce4b4afbae57 |
13-Sep-2016 |
liulvping <liulvping@xiaomi.com> |
Merge "fix NullPointerException in RegisteredServicesCache" am: 4b1a8f46d6 am: 506bf0741a am: 5f4f8d2441 Change-Id: Iedcf57ee7856fb9abac459230e686a351370543d
|
5f4f8d244123622865e0d767dcce7bace74ddc3c |
13-Sep-2016 |
liulvping <liulvping@xiaomi.com> |
Merge "fix NullPointerException in RegisteredServicesCache" am: 4b1a8f46d6 am: 506bf0741a Change-Id: I0ec538fc78a512441517d1205ac3d34232ce992e
|
c78be8772a88c9c39c3c67a8336fafafbad38a99 |
10-Sep-2016 |
Svet Ganov <svetoslavganov@google.com> |
[DO NOT MERGE] Don't show account access request UI until app launched. am: d63cde7ba4 am: 99d29ddf42 Change-Id: I1e6977d2478bf695d9840a72cba6e0e1b600b1e6
|
d63cde7ba4a96d5a07efd48d67e552cadb45d9ce |
09-Sep-2016 |
Svet Ganov <svetoslavganov@google.com> |
[DO NOT MERGE] Don't show account access request UI until app launched. Sync adapters that don't have account access cannot run until the user explicitly approves in the UI. This is spammy given the user may not use the app right away. This change doesn't show the notificaiton until the app has run. bug:31162498 Change-Id: I1f4f2d2e9426f78763590e8aa542b94d6e93e488
ackageManagerInternal.java
|
bf76ee74c77da42b2d5f9dc18ab3c4588d298d3e |
08-Sep-2016 |
liulvping <liulvping@xiaomi.com> |
fix NullPointerException in RegisteredServicesCache https://code.google.com/p/android/issues/detail?id=221932 Change-Id: I67c0b799d10f4b9c8fa0779069d23cc49916b395 Signed-off-by: liulvping <liulvping@xiaomi.com>
egisteredServicesCache.java
|
2a04b0876f3923a0c3acd0a2bfda1b2016351b10 |
06-Sep-2016 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Add new flow to OtaDexoptService am: d15300cf38 am: 32a092adf3 Change-Id: I7a49f0732cf24c2a86f798c6725a664e93092d7b
|
82f8ebc2b7654e6d9147efaa60db681e81a25cc6 |
06-Sep-2016 |
Andreas Gampe <agampe@google.com> |
Otadexopt: Expose progress percentage am: ff8ab4c9fa am: 630a372a1d Change-Id: I25937bf6a90076b37c5c322ccc8335fef3a9e6ee
|
d15300cf38ae3840309dc6cb6c093b17713fc277 |
24-Jun-2016 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Add new flow to OtaDexoptService Add functionality to capture/intercept installd communication, and use this to return the full communication for dexopt. These parameters can be used to drive otapreopt_chroot directly. Keep the old direct invocation alive until devices have transitioned to a service that exposes this API. In preparation for renaming of A/B OTA artifacts to include target slot names. Bug: 25612095 Bug: 28069686 Change-Id: I14728ee1266f3882cada8f08dd21891ed5f7a0cb (cherry picked from commit cc241a580cb9b753d0dde0cea578feb74ad517e7)
OtaDexopt.aidl
|
ff8ab4c9fade0dd95bac6df6506e1ce14dbd8e42 |
11-Jun-2016 |
Andreas Gampe <agampe@google.com> |
Otadexopt: Expose progress percentage To be able to report progress of an A/B OTA dexopt, expose a progress function that the script can query. Bug: 25612095 Bug: 29223204 Change-Id: Ie8162946d18f6fa78649a40ad5d3949d31a181cd (cherry picked from commit bf06232f4d440ced8230662a77ca0e8ece6383ca)
OtaDexopt.aidl
|
722de5f9d0bbac21fb0d132669fcc317e2c6703f |
30-Aug-2016 |
Mitchell Wills <mwills@google.com> |
DO NOT MERGE Manually merge commit 'f28778064383821ccf48c9570191f34a24aa513f' into nyc-mr1-dev-plus-aosp Change-Id: I7cb1f97a5b931c2057a811d7947f47ad7320ef1c
|
f28778064383821ccf48c9570191f34a24aa513f |
30-Aug-2016 |
The Android Automerger <android-build-merger@google.com> |
Manually merge commit 'b0b6afc' into nyc-dev-plus-aosp
|
5add769f59c76dc30f881eb6c7b66076e7baf081 |
30-Aug-2016 |
Kevin Hufnagle <khufnagle@google.com> |
docs: Adjusted return value desc. for getApplicationEnabledSetting The return value now references ApplicationInfo instead of ComponentInfo. Bug: 18123642 Change-Id: I595befe62dbce997becb689362abe5e4483b82c4
ackageManager.java
|
b0214c4cd56e26a26c2bec61c287fc008ed3e551 |
18-Aug-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Udpate NAN API documentation, clean-up visibility Change-Id: I951340eebab35c10efe98dab86b58fe8efada169 (cherry picked from commit 2e37b06dde2dff019b9143fc6b61021dab79bda3)
ackageManager.java
|
357773aa629cde25c60a27be69dd0d81fc02b7e2 |
29-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add KeyAttestationApplicationIdProviderService to SystemServer"
|
0f149f412b5491911ec975c051f8cf76d02c4e2c |
26-Aug-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Update services info before returning authenticators am: 814464894c am: 7540b79fee am: 69192b00e6 am: 44811aba74 Change-Id: Ie65a1d569c78860b4f5212ddf257408328267398
|
6485f6eddf2b318a7efbbad31dc632f30a7e8ff4 |
26-Aug-2016 |
Todd Kennedy <toddke@google.com> |
Implement new ephemeral resolver design am: fea1b776e9 Change-Id: Ied8a583de6247a5d826805dfbb5e8edbecdcdb27
|
80855e154e04977f2f9db8d080fee6e4b4abd83c |
26-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Implement new ephemeral resolver design" into nyc-mr1-dev
|
814464894c16cc53bae7ba80b784bd3179123847 |
24-Aug-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Update services info before returning authenticators Added RegisteredServicesCache.updateServices method which allows callers to request an update to services for which package has been updated. Added a call to updateServices in getAuthenticatorTypesInternal Test: Manually tested update flow on test authenticator with an artificial delay in broadcast handling Bug: 30979262 Change-Id: I499b2ee0be53fed01201c56068d929b6d621a78e
egisteredServicesCache.java
|
d64d0f9e83733800e2d8f8d485709efae2f5bf3c |
23-Aug-2016 |
Todd Kennedy <toddke@google.com> |
No need to check package name am: afb5269ad6 am: b9de7e33a3 am: 8860c34b32 Change-Id: If42958ce2661e7516a245954daa6da4a6897c2a2
|
ef8d8ea24ab3b2319ac1eed1c67ebacb0a6c726e |
23-Aug-2016 |
Todd Kennedy <toddke@google.com> |
No need to check package name Change-Id: I8c403ca2bc38f2c7191b6e9a709286ac7e450ac4 Fixes: 30958291 (cherry picked from commit afb5269ad6a507a3230b519b3156ac0bcc5fc3a0)
ackageParser.java
|
fea1b776e96d10879769d3a3c17f297146605062 |
28-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Implement new ephemeral resolver design In the new design, the ephemeral installer can be returned from queryIntentActivities which means any intent resolution could potentially return the installer. Additionally, the new design calls for a platform defined broadcast receiver that receives the status from the ephemeral installer. This receiver then starts the final intent -- either to launch the ephemeral application or to launch the fallback. For more detail, see go/ephemeral-design Bug: 30805203 Bug: 30273584 Change-Id: I6644bbb4f180d2d22c63af04b9857577516344a9 (cherry picked from commit 8e2d9d1d9050e93b15c54e992698325c7d4aa57c)
esolveInfo.java
|
afb5269ad6a507a3230b519b3156ac0bcc5fc3a0 |
23-Aug-2016 |
Todd Kennedy <toddke@google.com> |
No need to check package name Change-Id: I8c403ca2bc38f2c7191b6e9a709286ac7e450ac4 Fixes: 30958291
ackageParser.java
|
5782aae1bed7dd6beb11fb18bdee02ce56f31317 |
20-Aug-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Udpate NAN API documentation, clean-up visibility am: 2e37b06dde Change-Id: Iba3682d9ce1a3d2d1bd07636ef7c633d8e7ed847
|
2e37b06dde2dff019b9143fc6b61021dab79bda3 |
18-Aug-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Udpate NAN API documentation, clean-up visibility Change-Id: I951340eebab35c10efe98dab86b58fe8efada169
ackageManager.java
|
8ff1e193acc1d9946f877332547c7706cfcf12f4 |
03-Jun-2016 |
Janis Danisevskis <jdanis@google.com> |
Add KeyAttestationApplicationIdProviderService to SystemServer Add getKeyAttestationApplicationId and the Parcelables KeyAttestationPackageInfo and KeyAttestationApplicationId, needed by keystore. Bug: 22914603 Change-Id: I89a88cd9cd80e9b132ca67fc452e9cae8b8ad241
ignature.aidl
|
53f7d933be4e618a2ac61a67dd64b2b3a7ba80ea |
15-Aug-2016 |
Todd Kennedy <toddke@google.com> |
Merge "More settings cleanup"
|
788c8423d19972389b82a23dec297eb27d819c86 |
10-Aug-2016 |
Todd Kennedy <toddke@google.com> |
More settings cleanup * While parsing the packages.xml file, don't call getPackagesLPw(); we'll never find a package unless something has gone horribly wrong. Instead, build the PackageSetting like a sane person and add it to internal structures. * Add methods to create a proper copy of the PackageSetting object and not just the data from one class in the middle of the hierarchy. * Stop converting Sets into Lists back into Sets when creating IntentFilterVerificationInfo objects * Remove the name argument when adding a package setting; it should always be the name in the package setting Bug: 30219944 Change-Id: I7fa2c540621fb5d70a59b15919bfd31d8465e25d
ntentFilterVerificationInfo.java
|
3dc99ea200e3d877af03bf2e67f00b173ee34222 |
04-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Break out static update method"
|
13715d521f340d24f1de6e06ceaaf2a945910c0d |
01-Aug-2016 |
Todd Kennedy <toddke@google.com> |
Break out static update method Simply getting package settings could changes stored state. Break out the majority of the method to modify local variables and not change any stored state. The top-level getPackageLPw() method will still mutate stored state. This will be changed in a future CL. Also add a set of tests to verify the behaviour of updatePackageSetting() Bug: 30219944 Change-Id: I3360a36ce238e816246ee8ca7ecabfbbcdf0b89d
ackageParser.java
ackageUserState.java
|
3242a9a7fd2109404160305764e2eba11eb0e416 |
04-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Remove another fw.show_hidden_users"
|
434a74f5589844987048cf51e05cc20e5321a2a2 |
04-Aug-2016 |
Robin Lee <rgl@google.com> |
Remove another fw.show_hidden_users We've finished developing managed profiles now. Change-Id: Ic587fce990e06c676d0819c63439a31b9ca07dcb
serInfo.java
|
391dfcfa6838c3b573e28fe22beca30ac5e34370 |
03-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Revert "Add per-user versions of set{Component,Application}EnabledSetting.""
|
38c67d3c0fdd27282d30a23784f98a3df704d6a9 |
03-Aug-2016 |
Sudheer Shanka <sudheersai@google.com> |
Revert "Add per-user versions of set{Component,Application}EnabledSetting." This reverts commit 0e6bfff6c1ec17cf8f3cfb6e4853d3c0fa3ffb73. Change-Id: I4eafa9fc052e9eba9e26fd32c09b5e759fe63b00
ackageManager.java
|
b3941d2aee8f562a5d16818cfdca7b45dd5e0749 |
02-Aug-2016 |
Makoto Onuki <omakoto@google.com> |
LauncherApps should also throw when user is locked am: 02f338e23d am: 897a4f84d0 am: 88870a84ed Change-Id: I5f098c71a128c9e51b957e5b391b2d57eca663f9
|
02f338e23d06499790c6948709afb1587416eb40 |
29-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
LauncherApps should also throw when user is locked otherwise it'd be racy. Bug 30406401 Change-Id: I953eb6ae58e029d254d9fdbd5d05a0090b8d2391
auncherApps.java
|
a31a6f9f271af7baf4bae1bb1504470e24d3c2d7 |
02-Aug-2016 |
Makoto Onuki <omakoto@google.com> |
Revert \\"LauncherApps should also throw when user is locked\\" am: 2ec16b08ac am: e330d59c2e am: 685091f203 Change-Id: Iacfdd622ce04a86f0f5f573a9e11dc7d1cccc932
|
2ec16b08accd254b6c64f7b632575d07981380f1 |
01-Aug-2016 |
Makoto Onuki <omakoto@google.com> |
Revert "LauncherApps should also throw when user is locked" This reverts commit bc4ad85d29cd4490ba71baaad58e2f4d68b7d325. Will retry when the updated launcher is in. Change-Id: I428dc93132615480df70aeca7977089af008c041
auncherApps.java
|
07996bce98e5cda7623f722edb5de5eca74b9bc3 |
31-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
LauncherApps should also throw when user is locked am: bc4ad85d29 am: 5ec63fc3c7 am: 3b5920b2a1 Change-Id: I60beb409a55297a9a2adaaf52f1ea1e185668c88
|
bc4ad85d29cd4490ba71baaad58e2f4d68b7d325 |
29-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
LauncherApps should also throw when user is locked otherwise it'd be racy. Bug 30406401 Change-Id: Id6b0295933c5639fa23c56d737a7f0199cbd7497
auncherApps.java
|
347117f556afe91e943d1139867c33d964d94b43 |
29-Jul-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "fix javadoc for grantRuntimePermission"
|
a8eb6a89d6bf39e1826971ff16f8bd5e29b86a68 |
29-Jul-2016 |
Todd Kennedy <toddke@google.com> |
fix javadoc for grantRuntimePermission javadoc and implementation were out of sync. Change-Id: I53b50ac999134d3f10557cc3b2c3e2586aaa48de fixes: 30119755
ackageManager.java
|
4830a0c5cabdd8f2c983c3d7c20df5d440fc09ec |
29-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Prevent shortcut access when user is locked am: 9c850012ca am: cab2462e38 am: 890f85d70f Change-Id: Ie6653dcc55b37598a45987d938f07ba31e173ef5
|
9c850012cacf0af4a392294566a8c7c897dc8771 |
27-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Prevent shortcut access when user is locked Also add some test utility methods that'll be used by CTS. Bug 30406401 Change-Id: I9396acebbdb3cbe64f6e85877ee62a2131cd6e61
auncherApps.java
hortcutManager.java
|
21e778192d70359f46e1d2319612b097ed62e160 |
26-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Update ShortcutManager javadoc am: fe9c9669a4 am: d09c33f32c Change-Id: I14fdc704a54e4b8e148b9bcd4127cadf7e89eec1
|
fe9c9669a4d727a99e78db73ce8708c7505a3b70 |
26-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Update ShortcutManager javadoc Bug 30359231 Change-Id: I01f1987416fa1ac3f0669afa1f15f88ff2dd1631
auncherApps.java
hortcutInfo.java
hortcutManager.java
|
7a39181c6c7542ebfe914a3ce54052f123df9ee4 |
23-Jul-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Implement new ephemeral resolver design"
|
8653659cbe7ca57183704b6126916e22b7e0817d |
22-Jul-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Add more tracing"
|
df4e733bf729ec74757dd24c2a24867444fa01db |
22-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Follow-up to multiple intents support am: 0eed441c0c am: b6ed7b7552 Change-Id: I1034eaa7670c7fa983ddffcce295979ec86bde89
|
8e2d9d1d9050e93b15c54e992698325c7d4aa57c |
28-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Implement new ephemeral resolver design In the new design, the ephemeral installer can be returned from queryIntentActivities which means any intent resolution could potentially return the installer. Additionally, the new design calls for a platform defined broadcast receiver that receives the status from the ephemeral installer. This receiver then starts the final intent -- either to launch the ephemeral application or to launch the fallback. For more detail, see go/ephemeral-design Change-Id: I6644bbb4f180d2d22c63af04b9857577516344a9
esolveInfo.java
|
cd029da32165f4a348431d825d2bbaa46282710f |
21-Jul-2016 |
Todd Kennedy <toddke@google.com> |
Add more tracing Allows us to track PackageManagerService startup Bug: 30272038 Change-Id: I56fa7480fe640f4444d09a657889ec83685a7570
ackageParser.java
|
0eed441c0cf3bd03b8ac780e62fbeae5d7fcac4b |
21-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Follow-up to multiple intents support - More unit tests - LauncherApps.startShortcut() now supports sourceBounds (again) - Updated the javadoc. Bug 30218829 Change-Id: Iae208ffd4911d149246ccfd0c4380544c2aafffc
hortcutInfo.java
hortcutManager.java
|
de1e6e4d2d37ceb736d6849b0caa8efe9fad66dc |
21-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Support multiple intents in ShortcutInfo\\" into nyc-mr1-dev am: b84ce2e034 am: 9a6109f284 Change-Id: I0f1caf54cc544db0b73f8e3275005923904f57a8
|
440a1ea8e2204ecb171e0187318beb2f08f6012c |
20-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Support multiple intents in ShortcutInfo Also fix b/30230996. TODO: Support the sourceBounds argument to LauncherApps. startShortcut(). Bug 30218829 Bug 30230996 Change-Id: Ibb6c59d5b7c0a320c21d09436d016d0eac94644f
hortcutInfo.java
hortcutServiceInternal.java
|
c5837520ba94ced2a71809343a1e43329a0c3eaf |
20-Jul-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add per-user versions of set{Component,Application}EnabledSetting."
|
0e6bfff6c1ec17cf8f3cfb6e4853d3c0fa3ffb73 |
20-Jul-2016 |
Sudheer Shanka <sudheersai@google.com> |
Add per-user versions of set{Component,Application}EnabledSetting. Change-Id: Id63b233308e92a4c360f38d4728c519ac2131ff0 Fixes: 30230444
ackageManager.java
|
e1f90ac94a2648cc3dfef5e12676f2343fa97edf |
20-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Stop adding FLAG_ACTIVITY_RESET_TASK_IF_NEEDED when...\\" into nyc-mr1-dev am: ceadb1a86a am: c74ed0d6dc Change-Id: I0c66444e1352af26bf7c039271a5bee952eb5e52
|
347a6bd82059bc7581b1dcd229228f622c5cfca1 |
19-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Stop adding FLAG_ACTIVITY_RESET_TASK_IF_NEEDED when... starting a shortcut. - Also add API surface to support launching multiple intents - Also add SM.isRateLimitingActive() which was supposed to be added but was not due to a bad rebase. Bug 30218829 Change-Id: I82d60ec0df1e2b889538705f9f8870ee727dd55d
hortcutInfo.java
hortcutManager.java
|
35dcfebd1ee3e451a870633110c86ba77ff254df |
16-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Fix the allowed icon type error message\\" into nyc-mr1-dev am: fd57d549cf am: 3e3f0f1ba8 Change-Id: Iaa3eb26436dfa339ee7e095562344394dcd56b53
|
a97256b793a9ad9d6958645f098cff0b6e8918b1 |
15-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Fix the allowed icon type error message Bug 30162778 Change-Id: I925c563c1924c6525fe17afc44626d62864ba7e1
hortcutInfo.java
|
6a8581339ba4ac35f55906b9d55bf21a1e7c23ce |
15-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Handle locale change and pacakge change in different way\\" into nyc-mr1-dev am: 83fa7a8255 am: 22963b8937 Change-Id: I39da795eeed8bb3d0e53b0ed02663cce1088cabf
|
4e6cef49ef11bbb5bfc0e9f0fb865188492d88b0 |
14-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Handle locale change and pacakge change in different way - Stop using a custom callback from AM to detect locale changes and use the LOCALE_CHANGED broadcast instead. - This would open up a chance where a publisher app fetches its won manifest shortcuts after a locale change but ShortcutManager hasn't updated string resources. - So instead, at every entry point from ShortcutManager, check if the locale has changed, and if so, update all resources (and reset throttling). - Do the same for package change events too. At every entry point from ShortcutManager, check if the caller package has been updated, or any target activities have been disabled. If so, rescan the caller package. - We do *not* do the same check at the LauncherApps entry points, because the launcher should use the callback to listen to shortcut changes. - Also stopped using PackageMonitor for now because we want to set a higher priority and changing PackageMonitor at this point seems too much for DR. Bug 29895275 Bug 30123329 Change-Id: Ib4a2f626a936c7328e2cc032324f5c3d1c3b9122
hortcutServiceInternal.java
|
c7b4815f232b3bf3dd19e1f8f164303ebcb4692a |
13-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Revert \\"Revert \\"Revert \\"Handle package broadcasts before apps do\\"\\"\\"\\" into nyc-mr1-dev am: 6eefe67b2c am: a74fce83ae Change-Id: I8dcd074a8075e38416da0d6e3570545f17d6bc15
|
f34c308dfd9cdda428b8ead8bf655de1608501a9 |
13-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Revert "Revert "Revert "Handle package broadcasts before apps do""" This reverts commit 886ba78dfb105eb45416587b73b6c6b336448de5. With the tests updated. Change-Id: I162e6ca23c667f90feddc1e9f42b554a416295cf
hortcutServiceInternal.java
|
2adc0c392e3e98e8fccb16f219acbd8b8a3585e2 |
13-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Revert \\"Revert \\"Handle package broadcasts before apps do\\"\\"\\" into nyc-mr1-dev am: 98802f6007 am: 80dd14e061 Change-Id: I32fcfdc3fb90fe7b0ac14239a721769234c7cb2f
|
886ba78dfb105eb45416587b73b6c6b336448de5 |
13-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Revert "Revert "Handle package broadcasts before apps do"" This reverts commit efbbe7ea9db8adab6bff407db1d7fc54bbaf31ee. Change-Id: I3dbb080db5121307f533a7d411f4f5d47225500e
hortcutServiceInternal.java
|
d0866414f962267ba2cee2f06cce70df4ff9568c |
13-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Revert \\"Handle package broadcasts before apps do\\"\\" into nyc-mr1-dev am: 7f3187bb0d am: 5f18bbe034 Change-Id: I05af5e8eb457c19e3dbce414e0e2351c936703ff
|
efbbe7ea9db8adab6bff407db1d7fc54bbaf31ee |
12-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Revert "Handle package broadcasts before apps do" And fix b/29939691 (don't try to load locked users) in a different way Bug 29939691 Bug 29895275 Change-Id: Ib55f9c5d5547c54daa4e05c1e50bf4bbceaf1991
hortcutServiceInternal.java
|
be0e56e9d2b7c81852f81584e654de23d165f25c |
12-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Throw ActivityNotFoundException when failed to launch shortcut\\" into nyc-mr1-dev am: 50752f7391 am: b1e0982173 Change-Id: I466a7c5985cb080e6e2780cfbafa3bb90cc58dbf
|
2afa465e2c718e63d33fd49e2cdef64c8214f057 |
12-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Handle package broadcasts before apps do\\" into nyc-mr1-dev am: ae13eee9c6 am: fcf7db9eed Change-Id: Idfe3e8ed29c9a5fe8870527e5c5d7470455f4989
|
5ddf5109467df37074eb69726cc1a61db1538b06 |
12-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"ShortcutManager javadoc\\" into nyc-mr1-dev am: 3746d2224d am: d4255a9c95 Change-Id: I689bbc294005276c0680d8bb664980553fb48341
|
83f6d2da372de339dc563d6a7786be3facc52e76 |
11-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Throw ActivityNotFoundException when failed to launch shortcut Originally the code used IIntentSender, but I had to switch to calling startActivitiesInPackage() directly, because sendIntentSender() does not support returning errors. Bug 30035853 Change-Id: I5d7669c96a2f1805373c71aebf45b97ac1d01ff6
LauncherApps.aidl
auncherApps.java
|
a2241834a54dc91e2eef858741f1a56a743c27b2 |
06-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Handle package broadcasts before apps do - Have PM to call the shortcut manager directly before sending a pacakge broadcast. - The shortcut manager will enqueue a task to handle a package broadcast, which will be executed on Handler. - At the entry points of all external facing methods, block until all pending tasks are finished. Bug 29895275 Change-Id: Ib29fa3c9c8d9b9e0ca5c8f1e9da2a390324960a4
hortcutServiceInternal.java
|
4a91096a4ccdeeccfbd96da4bc88d874ec0bf451 |
07-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager javadoc Bug 29515722 Change-Id: If4805a7f28a2ee602094fca06eb1ff30f258dc1e
auncherApps.java
hortcutInfo.java
hortcutManager.java
|
ae76412b9918ee6845b3a1c7910a354071e8f0fb |
08-Jul-2016 |
Todd Kennedy <toddke@google.com> |
Merge \\"Add values to ApplicationInfoFlags\\" into nyc-mr1-dev am: 6ac6ceb28b am: 296b9edfb5 Change-Id: Icb86b109bb55500ad8f0f0768a5e8e8b04147bab
|
6ac6ceb28bf8871db213cbccfb966c8e6040738e |
08-Jul-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add values to ApplicationInfoFlags" into nyc-mr1-dev
|
5a32c6c290aa7643cfb34973a0b30e39930ad811 |
07-Jul-2016 |
Todd Kennedy <toddke@google.com> |
Add values to ApplicationInfoFlags Need to add MATCH_DISABLED_UNTIL_USED_COMPONENTS [and the deprecated GET_DISABLED_UNTIL_USED_COMPONENTS] since those are used when building the ApplicationInfo object. Bug: 29824931 Change-Id: I09b24427222fed082f0946717826d2e0db857c7a
ackageManager.java
|
fd949c63e440e3c55e78f344fdb9978a88561663 |
07-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Hide more shortcut APIs\\" into nyc-mr1-dev am: 07e234c9d7 am: 639a862315 Change-Id: I215b00bae0bb6f9f6c44c23a713f69988f9ec9df
|
f805b43da7f6d9b12993f9320d80587bc0d0d16a |
07-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Hide more shortcut APIs Change-Id: I911b4963b878e67ad2084190ac080e8555ba63c0
hortcutManager.java
|
c48903b7e9ab79a18b71c1f937a4e31fe088307c |
07-Jul-2016 |
Dave Langemak <dlangemak@google.com> |
Merge \\"Hide APIs that shouldn\\'t have been public\\" into nyc-mr1-dev am: 8317f93012 am: d34da3b659 Change-Id: I49e9fc1f0f58db9f6200b954b5b639ac263ca8da
|
598aca467283ed6be082fb240171bc3073ed720d |
07-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Hide APIs that shouldn't have been public Change-Id: I40f1c8e9c6fe991e782bf3dd772f305df641b267
hortcutInfo.java
|
b8e1286605042da38891bf1ed5fe7db0fc63d2cc |
01-Jul-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Start shortcuts as if publisher apps did using PendingIntent\\" into nyc-mr1-dev am: 60efbf2586 am: 20a9ca9311 Change-Id: I3bb569bb53b95176dc5e3b19f4122cf75511ac1e
|
ea11db15bd0cfe6ecbc44dd80a988ddf0e8c1ce7 |
25-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Start shortcuts as if publisher apps did using PendingIntent Bug 29639471 Change-Id: I2aad115669b431cbea785ba92040b1958117ab47
LauncherApps.aidl
|
0ba4ec6b9243789c22f9017da1076ec3d582b02c |
30-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \"Merge \\"Address API council feedback (continued)\\" into nyc-mr1-dev am: 01e51e59dd\" into nyc-mr1-dev-plus-aosp am: bd7d03ab6a Change-Id: I4a2dd860bdf4ebdcc6ab420d162579307734fa6f
|
01e51e59dda2253dbbb2ab7eb3f951bf5fa940be |
30-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Address API council feedback (continued)" into nyc-mr1-dev
|
d6880797f72e1e397e18c6e709c0125f795c7d2e |
29-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Address API council feedback (continued) Got a second set of comments. Bug 29757958 Change-Id: Ib3a3ffd28bc3e35eb0218b0819870eb5c6ebadb5
ShortcutService.aidl
auncherApps.java
hortcutManager.java
|
71e4da01a63fe6bc27f0c2d47bf36fd5f7ef8750 |
28-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Merge \\"Define deprecated fields in IntDef\\'s\\" into nyc-mr1-dev am: 23bc74a8d5 am: c3575b2149 Change-Id: Ic1d2ac7e3cdb06ce1b01661dac1981aafc05b260
|
23bc74a8d5c9086b3bddccc4b7554840e585fced |
28-Jun-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Define deprecated fields in IntDef's" into nyc-mr1-dev
|
e6c821a81266cea26a3e95ff4dc44681eb3cdece |
28-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Merge \\\"Default minSdkVersion to \\\'1\\\'\\\" into nyc-dev am: a98e3e3ede am: a1066ed6c2 am: e3cc3d8ad4 Change-Id: I42b6c96d661f4f8b3036513303f319c010c00485
|
a1066ed6c20015db7acd2eae06d23687f1869077 |
28-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Merge \"Default minSdkVersion to \'1\'\" into nyc-dev am: a98e3e3ede Change-Id: I8d2b7205f80b3cae5dce04839890df6aafa8449e
|
1f397f4e7bedd65e81d1269927e88cd071a046f1 |
28-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Define deprecated fields in IntDef's Tools need all of the valid constants to handle legacy apps; even though we want developers to use the new constant names. Bug: 29824931 Change-Id: I5f8055d50d1d3f32cfbed7459d8a497cfbd3661e
ackageManager.java
|
4f6570878c206b3ee7781ca4341d52c93b812f7b |
28-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Default minSdkVersion to '1' Exception when targetSdkVersion is a letter API [eg 'N']. While this is technically not according to the external docs, it's the behaviour with prior platforms. Bug: 29817839 Change-Id: I8382909dbe62de7b2ddfb7995ce11d5c2f43372e
ackageParser.java
|
1a0a502d4788b3e71de6788ec369d67a98f5856e |
28-Jun-2016 |
Andreas Gampe <agampe@google.com> |
Merge \"Merge \\"Frameworks/base: Add new flow to OtaDexoptService\\" into nyc-mr1-dev am: d06f87399b\" into nyc-mr1-dev-plus-aosp am: 8299d7156e Change-Id: I61e73af556b718e58b14a7fed707c7520e3673d9
|
d06f87399be44995fbe4690d7c7e73f41424fa2e |
28-Jun-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Frameworks/base: Add new flow to OtaDexoptService" into nyc-mr1-dev
|
cc241a580cb9b753d0dde0cea578feb74ad517e7 |
24-Jun-2016 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Add new flow to OtaDexoptService Add functionality to capture/intercept installd communication, and use this to return the full communication for dexopt. These parameters can be used to drive otapreopt_chroot directly. Keep the old direct invocation alive until devices have transitioned to a service that exposes this API. In preparation for renaming of A/B OTA artifacts to include target slot names. Bug: 25612095 Bug: 28069686 Change-Id: I14728ee1266f3882cada8f08dd21891ed5f7a0cb
OtaDexopt.aidl
|
4eefd6801c5955a3017ff80f7bf61dd71a50b1a8 |
27-Jun-2016 |
Steven Ng <stevenckng@google.com> |
Merge \\"Disallow disable / hide device provision app\\" into nyc-mr1-dev am: dc52eaaa98 am: 8b764a81ef Change-Id: Id04c937ce560d0446037a495394ec168875782cb
|
dc52eaaa982f59e6c3369f3a485a4fd8e05253c1 |
27-Jun-2016 |
Steven Ng <stevenckng@google.com> |
Merge "Disallow disable / hide device provision app" into nyc-mr1-dev
|
a9d2a39bb1f2482b03bc8e8473d16b8471c5286e |
24-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Shortcut: Only \\"main\\" activities can have shortcuts.\\" into nyc-mr1-dev am: 1af9a58956 am: 312933e043 Change-Id: I26419c323a33bf26f2dea4666e07c64a4e7d6254
|
b08790c3b2f3bdb0c2e2f7ff46e4584fb1127769 |
23-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Shortcut: Only "main" activities can have shortcuts. - Don't publish shortcuts when their target activities are not main. - Only scan manifest shortcuts for main activities. - When an app is updated, remove shortcuts that no longer belong to valid main activities. - Also re-publish manifest shortcuts after 'clear data' - Also listen to PACKAGE_CHANGED and disable/re-publish shortcuts properly. Bug 29355786 Bug 29582255 Bug 29601844 Change-Id: I6c701ce669cf30a227bc2af4aa01de467ef73e3a
hortcutInfo.java
|
9d48a731d0a7c016b58bc9c1afc4acd94200650f |
24-Jun-2016 |
Steven Ng <stevenckng@google.com> |
Disallow disable / hide device provision app + Rename functions in ProtectedPackages. + Add a Set in ProtectedPackages to store protected package. Bug: 29116229 Change-Id: Ib7dd93a158c09ebbf70f4d57c1afbd2c5102edbd
ackageManagerInternal.java
|
02f355df6b9da34d8e9345d66126058cb2abf88e |
22-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \"Merge \\"Shortcut Manager: Address API council feedback and fix TODOs\\" into nyc-mr1-dev am: 3c67b3e47c\" into nyc-mr1-dev-plus-aosp am: 24c52732d7 Change-Id: Ib54aff79c823b6819d94ef0ef6194e4541bf734f
|
3c67b3e47ca680d9e1b0aff69e8a8ea796dedaae |
22-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Shortcut Manager: Address API council feedback and fix TODOs" into nyc-mr1-dev
|
b5a012fd6f088629746057a3902b5926f9fe8e08 |
21-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Shortcut Manager: Address API council feedback and fix TODOs Bug 29515722 Bug 29516909 Bug 29515090 Bug 29516954 Bug 29515088 Change-Id: Ibe1d27033cbd0fd50d37e3d9945b47551211c568
ShortcutService.aidl
auncherApps.java
hortcutInfo.java
hortcutManager.java
|
6b2df04ce4b230cd4d8e6b9fd8b30f2e4626fc46 |
21-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Merge \\"Change prefix based upon mask\\" into nyc-mr1-dev am: 1dffcfdd7b am: 322bb3fd0a Change-Id: Ib2a7aee7e2d2dd7195a7a4d4e7c8c0b03885d25b
|
409b0a13e1f2f3f62e4827b835700c4cf2b77f06 |
21-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Change prefix based upon mask The mask may not be all F's. Change-Id: I50ff4e4fb95af2037b84a1531b60dd9c0986bf86
phemeralResolveInfo.java
|
7e346ef8532c28d691236015dba9a79750d326a0 |
20-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Launcher shortcut callback should deliver manifest shortcuts too\\" into nyc-mr1-dev am: 901c03faba am: c07a7518d6 Change-Id: Ibc270d83d7c8544195ce1f6e9eee245db7e095f5
|
901c03faba8c73194e694222477ce8d2c594d324 |
20-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Launcher shortcut callback should deliver manifest shortcuts too" into nyc-mr1-dev
|
7182948b567ac493598ee078c1737eb178033add |
20-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Merge \"Merge \\"fix resolver\\" into nyc-mr1-dev am: acc21f572d\" into nyc-mr1-dev-plus-aosp am: 3e68026036 Change-Id: Ie4f8397a0511c527cfa46b2c04c888e7d0141847
|
acc21f572dfb88f8fa08ea95c77c5ce212b86efb |
20-Jun-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "fix resolver" into nyc-mr1-dev
|
958b3410bf9d5a9c8afdc7571d514b242926101e |
20-Jun-2016 |
Todd Kennedy <toddke@google.com> |
fix resolver Change-Id: I31649d0f85b7b6553a6ecf38fd7c08279b85a0a6
phemeralResolveInfo.java
|
4d6b87ffdf06df3303239130ced685bc1a3fae50 |
17-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Launcher shortcut callback should deliver manifest shortcuts too - Also include "activity" in the key fields, as this is now an important field. - Also optimize ShortcutInfo parceling for the "key field only" case. Bug 29394043 Bug 29451629 Change-Id: I61b2bc2f61ad6ebdcbaf6d02f1bd88777c45a7f0
auncherApps.java
hortcutInfo.java
|
cb0f366fe21c8fd4fd52cd853dce8bfa3affdbf9 |
17-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Update manifest shortcut XML schema\\" into nyc-mr1-dev am: a65d8b6609 am: 5a533c9ae3 Change-Id: If46b8c1763b3682c780dcbaef1a790c1a5b9ded6
|
df6da040e00cba255cad64d2d231aae62928607a |
16-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Update manifest shortcut XML schema Use the standard <intent> tag instead of custom tags. - Also fix setDynamicShortcuts(), which was broken in the previous CL. - Also tolerate runtime exceptions while parsing XMLs - Also fix b/29422018 while I'm at it Bug 29390156 Bug 29077932 Bug 29422018 Change-Id: I2756c9d66c6d7b2962a982d9e57a7d84a5755b28
hortcutInfo.java
|
092d4e91e8723e6d3cd5df9a8bc5683e2d5c1fc4 |
16-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Shortcut: Reset throttling upon inline reply\\" into nyc-mr1-dev am: 489bafbb4b am: 58b2258506 Change-Id: I7034cc9ef130c9dccfa35a8cb75940d717a2a15d
|
489bafbb4ba53fd104c898975cf48c8815a1cb59 |
16-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Shortcut: Reset throttling upon inline reply" into nyc-mr1-dev
|
a8607b119d1816b5e251e83f0f2120dc139ba81e |
16-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"ShortcutManger: Auto-adjust ranks.\\" into nyc-mr1-dev am: 70a91541e9 am: 35f77b2b74 Change-Id: If3e4a6387085b6a58154619af326e39f497158db
|
70a91541e9eb2acc6ee5a34785abdc420127a5ec |
15-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManger: Auto-adjust ranks." into nyc-mr1-dev
|
9e1f5595bd7ffe3af6ca35b3235dfca0ecd07978 |
08-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManger: Auto-adjust ranks. Spec: go/shortcutmanager-spec-ranks Bug 28984376 Bug 28536066 Change-Id: Ibffb92233c62792af06eeadc5a9a6379d0506a3c
hortcutInfo.java
|
20c0209e2f2b54a412331a673eb728ed6e03ed6a |
15-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Merge \\"New API w/ multiple prefixes\\" into nyc-mr1-dev am: d07b87cb1c am: 162b74a6fd Change-Id: I81d79930c6d3d42be61a9ab1cdb5f29d677cd3de
|
a97045b2456b63a9c699a8cc8af66b0e8e95c519 |
11-Jun-2016 |
Todd Kennedy <toddke@google.com> |
New API w/ multiple prefixes Use the new API that contains multiple hash prefixes and a mask. Also do some small refactoring necessary to handle multiple prefixes and use a common implementation of the hash generation Change-Id: Ib52f767ea6aadc30c67c5bdee949e9f9c5f04e44
phemeralResolveInfo.java
|
d6e1f3bec18167f726ccc20f9bcbc6526dfc78fe |
14-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Shortcut: Reset throttling upon inline reply When the user does an "inline reply", we consider the notification publisher app is "activated" and reset the shortcut throttling. Bug 28705275 Change-Id: Ic9ffa13635274ead7e9d1e832cd31dea997830aa
hortcutManager.java
|
eacbc45469f7670900457d539f8394802064910a |
14-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \"Merge \\\"Push DO/PO package names from DPMS to PM\\\" into nyc-dev am: f419bd9e03 am: 93322e6818\" into nyc-mr1-dev-plus-aosp am: 1dc43402e9 Change-Id: I6621d43fdebb9f7b76d9c2f49a77ec626642f8da
|
31a5d3affa89b9ac95ecf55d4abc64bdce1a2a74 |
14-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Push DO/PO package names from DPMS to PM\\" into nyc-dev am: f419bd9e03 am: 93322e6818 Change-Id: I4fd9877c9e6adcdeeb17a9a5a2e70731f6e0b596
|
78f16950c62c68ccc6a5547f7388afd9b1c77fde |
13-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \"Push DO/PO package names from DPMS to PM\" into nyc-dev am: f419bd9e03 Change-Id: Ic3071f3a712da72fd141ef37ac6aabe6dbd09355
|
f419bd9e03574d63581694f646f1b1136e7574d8 |
13-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Push DO/PO package names from DPMS to PM" into nyc-dev
|
3196999a505c77f1c9f136092f2ee9f97e090782 |
13-Jun-2016 |
Andreas Gampe <agampe@google.com> |
Merge \\"Otadexopt: Expose progress percentage\\" into nyc-mr1-dev am: b71c36b000 am: cda39b3af7 Change-Id: I34b02aca376561622ce51a7b061978bcf9cd4257
|
b71c36b000ac5757cf6d5fc3d560afb95e16852a |
13-Jun-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Otadexopt: Expose progress percentage" into nyc-mr1-dev
|
8aabf5e997a6143f08345f5b1231cfc36cf03480 |
13-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"Fix some exception messages and enhance unit tets\\" into nyc-mr1-dev am: 5b8f5fd38b am: 1c14929ae8 Change-Id: I29fe2b8c212d8447792b5c721fd794933ae14a96
|
5b8f5fd38be1ea9aa3202f747d14f3b8f4b61c01 |
13-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Fix some exception messages and enhance unit tets" into nyc-mr1-dev
|
a1d38b3c95cd6a38ee7336fd90729d3b3be6ae25 |
11-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Fix some exception messages and enhance unit tets Bug 29275393 Change-Id: Idaa8564d41f86de2a2cbefa4ff3c08b89a3a6dd2
hortcutInfo.java
|
bf06232f4d440ced8230662a77ca0e8ece6383ca |
11-Jun-2016 |
Andreas Gampe <agampe@google.com> |
Otadexopt: Expose progress percentage To be able to report progress of an A/B OTA dexopt, expose a progress function that the script can query. Bug: 25612095 Bug: 29223204 Change-Id: Ie8162946d18f6fa78649a40ad5d3949d31a181cd
OtaDexopt.aidl
|
a62547849de29d961bf793f83aa3bc599028c1bd |
10-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Merge \\"fix prefix generation\\" into nyc-mr1-dev am: 0f8427773e am: db6cd50708 Change-Id: Iec8b0587af5a0487bd67a7b12e0c3eb017258348
|
e2e1ef0581c188014a0b11bbf46325b82d959720 |
10-Jun-2016 |
Todd Kennedy <toddke@google.com> |
fix prefix generation when performing bitwise operations, java promotes byte's to int's. this is normally okay except when the value is negative. in that case, java extends the sign bits. this means that after shifting, all of the upper bits are most likely going to be all f's. instead, undo the sign extension by pulling out just the 8 bits we're interested in. Change-Id: I89f7244f6b675be2cca4a185a7002b5f8a6eece1
phemeralResolveInfo.java
|
a3d4c84311e9bd03c5813f7512a48922986ec99c |
09-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Merge \\"make round icon usage configurable\\" into nyc-mr1-dev am: 7b52b2eccd am: ca251e5325 Change-Id: Icdf6c4c97c8ef7601f64e920623b47d215efa9d4
|
a83bfca63fdc0304c69e080395aeee815fc1f2fe |
03-Jun-2016 |
Todd Kennedy <toddke@google.com> |
make round icon usage configurable We want to only use round icons for Nexus devices, so, add a configuration boolean to control it. By default we will use the legacy, rectangle icons. Bug: 28981414 Change-Id: Ib6448bc09287de852a48a943461a6882bd890a30
ackageParser.java
|
4258617146280eee5cd232378ab4330215878505 |
09-Jun-2016 |
fionaxu <fionaxu@google.com> |
Merge \\\"resolve merge conflicts of afed6f8 to nyc-dev\\\" into nyc-dev am: 0c4f1c7e5c am: bee500e374 am: e9819bae1a Change-Id: I21ab89b4b9277fbb846c5232d7fbb2b47d4df7ef
|
e9819bae1a175768153166204d59b6807b0ce35f |
09-Jun-2016 |
Chen Xu <fionaxu@google.com> |
Merge \\"resolve merge conflicts of afed6f8 to nyc-dev\\" into nyc-dev am: 0c4f1c7e5c am: bee500e374 Change-Id: I7c1ad4e3fa9b1bab21ab931be6ccaae33e89f20b
|
e285ab3aaeed9345b3a43d0a931c46ff326aba26 |
09-Jun-2016 |
fionaxu <fionaxu@google.com> |
Merge \"resolve merge conflicts of afed6f8 to nyc-dev\" into nyc-dev am: 0c4f1c7e5c Change-Id: I46be8494c88f03768e20bb702383f78cf38c1115
|
79781477712b846dc5b05102141704f6b563942a |
09-Jun-2016 |
fionaxu <fionaxu@google.com> |
resolve merge conflicts of afed6f8 to nyc-dev Bug: 28557603 Change-Id: Icb19f3d031cce2d846d5f6e9ad4d28d002db6bac
|
c29f62c7388f550da2c7368c5dbc0aec7d1564fe |
07-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Push DO/PO package names from DPMS to PM Bug 29126573 Change-Id: I95ea1559f6acf5d2f0e1b0953568cdfc938e83b9
ackageManagerInternal.java
|
c4e64bc449475f16c0ef3afa76ca168ac24a9a41 |
08-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge \\"ShortcutManager: deal with changing resource IDs on app update\\" into nyc-mr1-dev am: 3bb4366006 am: a3a56ab9d1 Change-Id: Id5e39a35db803223a89100a8e23a7b3309cd9dd3
|
c95d552de089a70526416d771df456566b60da2d |
08-Jun-2016 |
fionaxu <fionaxu@google.com> |
resolve merge conflicts of 2c53526 to lmp-mr1-dev am: c196526f8e am: 1e8fe12f4e am: 965084dd0c am: 698e044717 Change-Id: I5a00c0b206cae8a13f860783756ffa66c08db65d
|
698e044717e1106bbd8a63798b062a9d31e9ddb1 |
08-Jun-2016 |
fionaxu <fionaxu@google.com> |
resolve merge conflicts of 2c53526 to lmp-mr1-dev am: c196526f8e am: 1e8fe12f4e am: 965084dd0c Change-Id: I1db27bacdfc0c66ddc28c3d656f1f5cfb98894a8
|
965084dd0cc643713afe6cebe47cc519e9ffcf84 |
08-Jun-2016 |
fionaxu <fionaxu@google.com> |
resolve merge conflicts of 2c53526 to lmp-mr1-dev am: c196526f8e am: 1e8fe12f4e Change-Id: I3122c1d81dde1088990bcbd2aff7eea478ead4fc
|
c196526f8e33b745b8d515df46b003ef44114135 |
08-Jun-2016 |
fionaxu <fionaxu@google.com> |
resolve merge conflicts of 2c53526 to lmp-mr1-dev Change-Id: I4fe45fae0a98934ac9b0f6f48c8cab8546392641
|
2c53526b4b2d89d453ecf89548ed94427424d1ec |
08-Jun-2016 |
fionaxu <fionaxu@google.com> |
Backport loadSafeLabel changes am: be2865a60a am: 4c50846519 am: 9a825b0fd5 Change-Id: Ie3042058420fbd3018ae238dab4129de58ec69c8
|
9a825b0fd50537f49057f7e1c9f91fc071c584c4 |
08-Jun-2016 |
fionaxu <fionaxu@google.com> |
Backport loadSafeLabel changes am: be2865a60a am: 4c50846519 Change-Id: Ia31592def4d88a3a9e92a7e0c9126691c64a5fc4
|
157b1628fd84dc3ef0355fddd8d281618f94d33e |
03-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: deal with changing resource IDs on app update - When an app is upgraded, all the resource IDs may change. So if a shortcut is previously published with an icon for res ID 100 and the publisher is upgraded, resource #100 may refer to something different. - So now the service also remembers resource names for icon resources, as wells as string resources. When an app is updated, the service fetch the updated resource IDs by name. - Also extract all string resources when a shortcut is published and persist them, so that even when the original string resources are removed from the app, the launcher can still show the extracted strings. - When the system locale changes, re-extract all string resources. - Also really hide the constants in ShortcutInfo that were accidentally made public. Change-Id: I23c29b45c1de5d76175229190a1533c9c62c5960
hortcutInfo.java
|
be2865a60a470c6248bdd7155f79d57239baa0f1 |
03-Jun-2016 |
fionaxu <fionaxu@google.com> |
Backport loadSafeLabel changes Bug:23531798 Bug:28557603 Change-Id: Iee49f7c37d6a42fe74077bb15ed47919d351d172
ackageItemInfo.java
|
cffb6041d258fff79dd3d4f9ea989d13a8ee43c9 |
03-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: Implement usage report API" into nyc-mr1-dev am: 37087ad710 am: 51c7ce7531 * commit '51c7ce7531f5c1fc1ae442b1c6f206735599cea2': ShortcutManager: Implement usage report API Change-Id: Ia713dbbb510d2f848b8866a4d0dc692f67803522
|
37087ad710087755786c115508b14e053c47f882 |
03-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: Implement usage report API" into nyc-mr1-dev
|
d2bbc1e2a0aa608a67ab169adab7cd15e6fa9e0d |
03-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Round icons" into nyc-mr1-dev am: 7d64d64269 am: a84b5d0ebd * commit 'a84b5d0ebdeb7d4d5670d490380f5a7a48282b90': Round icons Change-Id: Iff9a17b9f826053c31aaa6ada8fb167f8e4520b5
|
bb8a42da707c503b6d048728472f09b8601fd7dc |
02-Jun-2016 |
Todd Kennedy <toddke@google.com> |
Round icons Allow applications to specify "android:roundIcon" in all places they can already specify the rectangular "android:icon". Bug: 28981414 Change-Id: I167163d650db80f4949274d365e7fee9aceacb3a
ackageParser.java
|
ac042501c816fa9a65aed005060ebdcfc0a0f3b2 |
21-May-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: Implement usage report API Bug 28536054 Change-Id: I293e8eaad523e3b0d76d562fc381601633451ed3
hortcutManager.java
|
9a968df82804dc9f12289546f50afcfe36c1b4da |
02-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: API rename" into nyc-mr1-dev am: 60585d12e7 am: facbcba617 * commit 'facbcba617766402b03c2b1ecc889dfc0fd9c4a2': ShortcutManager: API rename Change-Id: If7da8f53354762bb7e035ab8a9c66e73886545ec
|
f8b6855dcafe65920ec8900352b1be9a424dffea |
02-Jun-2016 |
David Sehr <sehr@google.com> |
Merge "Merge "Installer connection support for dump_profiles" into nyc-dev am: 7c5bcfc21a am: fc536cb862" into nyc-mr1-dev-plus-aosp am: ad63ea9962 * commit 'ad63ea9962f300a1a660c4b565c29357460d678a': Installer connection support for dump_profiles Change-Id: Ia332553255b7ca91e6d53e819a04ce90d0e669a7
|
facbcba617766402b03c2b1ecc889dfc0fd9c4a2 |
02-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: API rename" into nyc-mr1-dev am: 60585d12e7 * commit '60585d12e717d6dd02c89cf177159dbb1c7b4fc9': ShortcutManager: API rename Change-Id: Ieca236424835edf8b141706733b3bc98657547ab
|
4fa0e171832c937def4dc71fb638421527669af0 |
02-Jun-2016 |
David Sehr <sehr@google.com> |
Merge "Installer connection support for dump_profiles" into nyc-dev am: 7c5bcfc21a am: fc536cb862 * commit 'fc536cb862c67d91eaa7fa94557cdc2f0f415678': Installer connection support for dump_profiles Change-Id: I6f8dbd362f6accc2d90409b91e96efed531820d9
|
2855609944f0683efec2985f88ee167c9b7941d9 |
02-Jun-2016 |
David Sehr <sehr@google.com> |
Merge "Installer connection support for dump_profiles" into nyc-dev am: 7c5bcfc21a * commit '7c5bcfc21ac87c56c57b1929ce04481fa0e116c7': Installer connection support for dump_profiles Change-Id: I6cf3d4fe88577ef1d149c3c4b1c3ee7160d9c7e6
|
60585d12e717d6dd02c89cf177159dbb1c7b4fc9 |
02-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: API rename" into nyc-mr1-dev
|
7c5bcfc21ac87c56c57b1929ce04481fa0e116c7 |
02-Jun-2016 |
David Sehr <sehr@google.com> |
Merge "Installer connection support for dump_profiles" into nyc-dev
|
8882cf98b990d3436e548d7780d3e72713cccb78 |
01-Jun-2016 |
fionaxu <fionaxu@google.com> |
Merge "trim and strip html tags for load safe label name" into nyc-dev am: c16bc88fc9 am: 36befb2dbc am: d97994962d * commit 'd97994962d0d5e691d4f1df51623685c2af1341a': trim and strip html tags for load safe label name Change-Id: I569bea23e9b867fa84c456accb7d24fd03853970
|
eddbfecb8dd751161339a9ed16d07ce2e108a575 |
01-Jun-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: API rename The words "title" and "text" implies that "text" is a secondary label that's shown with the title, but it turned out the launcher would show only one of those depending on how much space it has. So now we change them to "shortLabel" and "longLabel" Note we're only changing the API surface -- in order to mimimize the impact to the code, internally we'll keep using the old names. - Also remove "shortcutRank" while I'm here -- it should be implied from the order of the XML elements. Bug 29057378 Change-Id: I3203f63b0318c7462c1c61fef43cf9755fa8c008
hortcutInfo.java
|
36befb2dbce9b05ce1cf26ee9aef5c268d6c7266 |
01-Jun-2016 |
fionaxu <fionaxu@google.com> |
Merge "trim and strip html tags for load safe label name" into nyc-dev am: c16bc88fc9 * commit 'c16bc88fc99a6446c77d0b075f242c042bb31ded': trim and strip html tags for load safe label name Change-Id: Ic79f077813fcf2124fe1cbf031cb4e0770a02a51
|
c16bc88fc99a6446c77d0b075f242c042bb31ded |
01-Jun-2016 |
Chen Xu <fionaxu@google.com> |
Merge "trim and strip html tags for load safe label name" into nyc-dev
|
a87770828637813dacd176ba3c8d3810f7ed6ab8 |
25-May-2016 |
David Sehr <sehr@google.com> |
Installer connection support for dump_profiles Bug: 28748264 Change-Id: I22322b5a0716a030d9873edcc6dfd7f3ef2d3bca
PackageManager.aidl
|
e630f353222509474c8aa739e00bacfc3d906663 |
31-May-2016 |
fionaxu <fionaxu@google.com> |
trim and strip html tags for load safe label name Bug: 28557603 Change-Id: I30b6c1d32e97c1fb71ba83c2845c310fe3b7f579
ackageItemInfo.java
|
f95fb4fb17dc7dd423503272160ab076766f814a |
31-May-2016 |
Nicolas Geoffray <ngeoffray@google.com> |
resolve merge conflicts of 4b092e4 to master Change-Id: I29a92ce3afe3a7b2851126a921879631e9846a40
|
4b092e47ac856c5567ff5126fd795e2695c38e6f |
31-May-2016 |
Nicolas Geoffray <ngeoffray@google.com> |
Merge "Cleanup performDexOpt with instruction sets." into nyc-dev am: 89f4bff149 am: 0063f2c80b * commit '0063f2c80b1d9512fd77ca71faa85737c1fd2424': Cleanup performDexOpt with instruction sets. Change-Id: If15ee5ff3e58d3bf0226bea94707e228c77fbf08
|
ff078da846a8d719d2724bd035d987d8e943afbe |
31-May-2016 |
Nicolas Geoffray <ngeoffray@google.com> |
Merge "Cleanup performDexOpt with instruction sets." into nyc-dev am: 89f4bff149 * commit '89f4bff149c62baf8371118aed2c4e6ac29976c5': Cleanup performDexOpt with instruction sets. Change-Id: Id973c65cbe87f54a743bfcb89fbe7e4aea45d1c8
|
53da7b9ee393abf0a75317a90b1374ec65e15c86 |
28-May-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: Implement get-drawable APIs" into nyc-mr1-dev am: 5b11a81f9f am: 451afea589 * commit '451afea5892454be029910b18a73d27bf41ad5bd': ShortcutManager: Implement get-drawable APIs Change-Id: I6f72f51bbfed601c3ab087921e8de9a64ad785ee
|
09c66122884a5bfd083740ed44ea6837e957de23 |
28-May-2016 |
Makoto Onuki <omakoto@google.com> |
resolve merge conflicts of 8de7c95 to master Change-Id: I04447215323c7582554dc5f6ae8b105308c6f623
|
04b9aab94576411b9f59aa49d87080976ee6fa46 |
24-May-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: Implement get-drawable APIs Bug 28594168 Change-Id: I750e800b59dca56877ba78baac808aff93acd19d
auncherApps.java
|
22fcc68e6be0edaa98f3dacf79d580a5e5d50005 |
17-May-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: Support manifest shortcuts - Now apps can publish shortcuts via AndroidManifest.xml (Sample: I5b127150) - Rename some APIs per API council feedback - Publishers can now "disable" shortcuts. (https://docs.google.com/presentation/d/1raUn1QBURDb1yrd6mSmVxII9ezNh3MWukODdtufJ29U/edit#slide=id.g13ef592464_7_39) Bug 28785283 Bug 28536066 Change-Id: I4a126841e43e40139bb4baa6d0f98ad7b3a75ac1
ShortcutService.aidl
auncherApps.java
hortcutInfo.java
hortcutManager.java
|
fb6cf77a6721f2af4df09b33d649f66ad79559f6 |
27-May-2016 |
Nicolas Geoffray <ngeoffray@google.com> |
Cleanup performDexOpt with instruction sets. Always use the packages' derived instruction sets. This fixes a bug where otas and background dexopt would only look at one instruction set. bug:28994818 Change-Id: I730b59d24943c71de30adb485a823fd79c6806a6
PackageManager.aidl
|
9e2c7ecf64e11e69dceb40fba6fd740e41a32417 |
23-May-2016 |
Jiaquan He <hejq@google.com> |
Add support for android.R.attr#onTopLauncher This allows a launcher activity to always stay on top of all other activities. Bug: 28425537 Change-Id: Iad39a076b1e8c6a8304c3b218883a172c913a602
ctivityInfo.java
ackageParser.java
|
532bbd243899f520aa1319753c6c2e42430ed18b |
23-May-2016 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Use an attribute for the network security config resource" into nyc-dev am: 6812bdf387 am: 76d3d8590d am: be04f7247a * commit 'be04f7247a5835bcba2f598e9d47e0a07d08af3d': Use an attribute for the network security config resource Change-Id: I5c2213114bf26a4506a64c5a5a8a2e592610783d
|
be04f7247a5835bcba2f598e9d47e0a07d08af3d |
23-May-2016 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Use an attribute for the network security config resource" into nyc-dev am: 6812bdf387 am: 76d3d8590d * commit '76d3d8590d1fb9a9c341159fbc06914ef19bdb8d': Use an attribute for the network security config resource Change-Id: I15da47a2cd78dc37019bd20847d13248612c77f5
|
c6a49bb008068eaa53ce308ffa4abaa2924c69ea |
23-May-2016 |
Chad Brubaker <cbrubaker@google.com> |
Merge "Use an attribute for the network security config resource" into nyc-dev am: 6812bdf387 * commit '6812bdf38797101d3744befe70f3501b75f01ce6': Use an attribute for the network security config resource Change-Id: I470b8e991d590135223066d18b49ff123e0b1f6e
|
c845b2a21cedda4dd221fcf01aae74706ecade94 |
13-May-2016 |
Chad Brubaker <cbrubaker@google.com> |
Use an attribute for the network security config resource Originally we went with the meta-data approach to make unbundling easier, however with the amount of platform changes that the config ended up relying on it would be better to focus on exposing it through the platform. Bug:28763009 Change-Id: Iaf80001b1980220cd2e1e05faf2dc86af41700e1
pplicationInfo.java
ackageParser.java
|
5a3ff142250d6e97e0f5f598016fb25492c52092 |
19-May-2016 |
Andrii Kulian <akulian@google.com> |
Merge "Workaround for ignored resizeableActivity param" into nyc-dev am: 005f9a73fb am: 6b21f45add am: e78cbe1770 * commit 'e78cbe1770ffee7d9f24c8f1126fb1592c9ad1c3': Workaround for ignored resizeableActivity param Change-Id: I36d934ec2aea69156680d9b9e55584ce12d76b60
|
e78cbe1770ffee7d9f24c8f1126fb1592c9ad1c3 |
19-May-2016 |
Andrii Kulian <akulian@google.com> |
Merge "Workaround for ignored resizeableActivity param" into nyc-dev am: 005f9a73fb am: 6b21f45add * commit '6b21f45add49cdacaad9e75cbba332fa3b63522c': Workaround for ignored resizeableActivity param Change-Id: Ia8dc3606ff13b1358d657a8280820ed542cb4781
|
ede05733f0c02f16324b71311397db5e680f607b |
19-May-2016 |
Andrii Kulian <akulian@google.com> |
Merge "Workaround for ignored resizeableActivity param" into nyc-dev am: 005f9a73fb * commit '005f9a73fbecdb8d0d05eb699d0f02d745110495': Workaround for ignored resizeableActivity param Change-Id: I93844e807cbedc50b26f98916fe3e79e0ef9afa2
|
005f9a73fbecdb8d0d05eb699d0f02d745110495 |
19-May-2016 |
Andrii Kulian <akulian@google.com> |
Merge "Workaround for ignored resizeableActivity param" into nyc-dev
|
ebf7a56e695c5a5107fee8135768039ee1c5b2ea |
19-May-2016 |
Andrii Kulian <akulian@google.com> |
Merge "Rename minWidth/Height attributes" into nyc-dev am: 42b3acf9d3 am: 81ce16a2e6 am: c59e70d520 * commit 'c59e70d52015a73fb7607ae71d2a45e00776ac26': Rename minWidth/Height attributes Change-Id: I3ecfd0db6eaa56f1ef3e39cb1b76f62f03074b35
|
c59e70d52015a73fb7607ae71d2a45e00776ac26 |
19-May-2016 |
Andrii Kulian <akulian@google.com> |
Merge "Rename minWidth/Height attributes" into nyc-dev am: 42b3acf9d3 am: 81ce16a2e6 * commit '81ce16a2e690fbe808ae4546e0c9b814a7ff2e3d': Rename minWidth/Height attributes Change-Id: I927c32ddf2522de03c6b5a75aa6b80537adf1d38
|
1699b51cbe80dbf9e5e496732a7c970d049613a2 |
19-May-2016 |
Andrii Kulian <akulian@google.com> |
Merge "Rename minWidth/Height attributes" into nyc-dev am: 42b3acf9d3 * commit '42b3acf9d3eed15324bfa67e92ad751a10e45718': Rename minWidth/Height attributes Change-Id: Id7d89884ea46b3900459af10f5b4a4b32139ddd8
|
3f8dc1586146ea3cea0b6b25970e2bb51c0e590e |
18-May-2016 |
Andrii Kulian <akulian@google.com> |
Workaround for ignored resizeableActivity param If <uses-sdk> tag is below <application> in AndroidManifest.xml then, when activity is parsed, targetSdkVersion param is not yet set correctly. Because of that we're defaulting to RESIZE_MODE_FORCE_RESIZEABLE and the param resizeableActivity will be ignored. This CL checks if resizeableActivity was set explicitly when targetSdkVersion is less than N (or not set). Bug: 28020462 Change-Id: I099f6c00dd50547ddea873e47dbb447869d0be6f
ackageParser.java
|
a3d46611e3679371c69b9771f0c676e90ee94a05 |
18-May-2016 |
Amith Yamasani <yamasani@google.com> |
Merge "Retail mode flag and some clients for it" into nyc-mr1-dev am: dbf0dbd8c2 am: 1ab19ea6e6 * commit '1ab19ea6e6575a578244eecbae61d46150bec392': Retail mode flag and some clients for it Change-Id: I08eb3539db3fd29403d05d8ef1124862a78d1acc
|
eb437d4dffb310857e19bb619778dc5b6b7febff |
29-Apr-2016 |
Amith Yamasani <yamasani@google.com> |
Retail mode flag and some clients for it Bug: 27280140 Change-Id: Ide33e941b9c71eb925b5977d0b0d62198537ca14
serInfo.java
|
f66a83db41711ebd1187bf9e99d0b21e428075f5 |
17-May-2016 |
Andrii Kulian <akulian@google.com> |
Rename minWidth/Height attributes Rename WindowLayout#minimalWidth and #minimalHeight to #minWidth and #minHeight to be consistent with other APIs. Bug: 28775586 Change-Id: Ib7dc26318c4391693ef23f908b4d6090138dd0d7
ctivityInfo.java
ackageParser.java
|
1b537cc6233a83b2e210e4021418a2369a3aea37 |
17-May-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: API changes for DR" into nyc-mr1-dev am: 8295332d83 am: 37d5cb3181 * commit '37d5cb3181b4fc94b5e180f1a011330b893fcd84': ShortcutManager: API changes for DR Change-Id: Id585b05388cb487aba19f5c7fee3e13bd467e808
|
bb803cf2f602d2b1302d0ce33a8066ac30aa471b |
17-May-2016 |
Xiaohui Chen <xiaohuic@google.com> |
pm: query both direct boot un/aware activities Bug: 28762791 Change-Id: I64009c75ae7ac8784e739349b70d0413f0b4681a
ppsQueryHelper.java
|
20c95f854e54b71caa49f0efe07d47d1e6afd435 |
12-May-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: API changes for DR See https://goto.google.com/shortcutmanager-spec-dr for the details. This CL contains changes to ShortcutInfo and all the new API entry points, but not the implementation of the new APIs. - ShortcutInfo.activityComponent is now mandatory. - Publishers can now disable shortcuts. ShortcutInfo can now have "disabled message". - ShortcutInfo now supports string resources for all the String fields. -> When launcher fetches shortcuts, ShortcutService will automatically load resources and expose as strings. - LauncherApps now supports getShortcutIconDrawable() and getShortcutBadgedIconDrawable() to be consistent with LauncherActivityInfo. - ShortcutInfo.weight is replaced with "rank". - Added ShortcutManager.reportShortcutUsed(), which will be used for usage tracking / suggestion. Bug 28536054 Bug 28536066 Bug 28564134 Bug 28594168 Change-Id: Ib8245b39bb1e753991a9de89c0b73accacd90355
ShortcutService.aidl
auncherApps.java
hortcutInfo.java
hortcutManager.java
|
538c440c33fc2b9e0bf0c680ddbb14f9a079ff6a |
11-May-2016 |
Makoto Onuki <omakoto@google.com> |
Remove ShortcutManager Bug 28704708 Change-Id: If7b739adeec38d81d554fc1cf34c81194f5d67b9
auncherApps.java
hortcutInfo.java
hortcutManager.java
|
d2ebc5e3ab900905b4b14de55e4be9d0e70c51d6 |
11-May-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Fix secondary ABI instrumetion" into nyc-dev am: f09f069936 am: fc7701c569 * commit 'fc7701c56923369bb30eae6559dfbc100a174477': Fix secondary ABI instrumetion Change-Id: I88afbda2d0b4f87f03b9806ff6de9a4066bd4dac
|
9580593e5d031296ce64697cb382d2cc457c2676 |
11-May-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Fix secondary ABI instrumetion" into nyc-dev am: f09f069936 * commit 'f09f0699369c02a6a46fbff68c02b00a7c703697': Fix secondary ABI instrumetion Change-Id: I0ad719338b8cbcf9cf90526d2e0196aa25ff07ad
|
e713efcac103f3d8083ec9d5b00c528af7266b21 |
10-May-2016 |
Todd Kennedy <toddke@google.com> |
Fix secondary ABI instrumetion When installing an APK that supports multiple ABIs, the ABI installed can be forced to the secondary ABI [i.e. On devices that support both 32 and 64 bit variants, the 32-bit version can be forced when it's the secondary ABI.] In this case, instrumenting the class always tried to use the primary ABI. Instead of blindly using the primary ABI and dropping the secondary ABI, we propagate both ABIs and make a decision on which one should be chosen. Bug: 28406240 Change-Id: I7ebb2fd264d2281912afd30f6d73ccb460f9cf85
nstrumentationInfo.java
|
c51b2876ec5c0af449469a0f76bb38c51cfcff04 |
05-May-2016 |
Makoto Onuki <omakoto@google.com> |
Refactoring ShortcutManager + bug fixes. - Don't pass the ShortcutService instance as an argument. This tiny optimization is no longer meaningful now that PackageShortcut and PackageLauncher have reference to ShortcutUser. - Rename mLauncherComponent to mDefaultLauncherComponent for clarity. - Don't instantiate ShortcutPackage instances when not needed. - Don't allow intents with a null action. - Also improve javadoc. Bug 28592642 Bug 28474517 Bug 28557169 Change-Id: I8790d3494bf3b92c143c02824b0ed0e514504baa
hortcutInfo.java
hortcutManager.java
|
17f3a406457c461a3629e012604f38ceb2296d30 |
05-May-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Merge "Update VR API docs." into nyc-dev am: 01d232988a * commit '01d232988a69dfdee7f90cebf560686e458849e4': Update VR API docs. Change-Id: I1b2cc88ca390c90d42cae3736aaf986e6c0e9396
|
01d232988a69dfdee7f90cebf560686e458849e4 |
05-May-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Merge "Update VR API docs." into nyc-dev
|
85694526039fb0a80ab74b2dc3ab17bacc1a4a59 |
04-May-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManaegr: bug fixes Fixes 28590035 Fixes 28586105 Change-Id: Ia11d29e4996ad5b47b279a3c04d9586695cdc0a5
auncherApps.java
|
7d164d35a41d2aa351f0a27faf05fc67ba262c07 |
03-May-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: finishing touches" into nyc-dev
|
927d3453d39a9048c41eddf2418a97562757e930 |
03-May-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Update VR API docs. Bug: 28526281 Change-Id: Iff48d02a2fee542c5ded7fc8cd6cf74957eb738c
ackageManager.java
|
d4d1512b64df37157f3fa9c205f1dd3738b47e21 |
03-May-2016 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Disable unused features" into nyc-dev
|
a7532cfa46bc0c0a795aaaafe89d0727927b3cd7 |
02-May-2016 |
Svet Ganov <svetoslavganov@google.com> |
Disable unused features The multi-package APKs feature was not validated and is now disabled. Also the ephemeral work was postponed which requires disabling of the ephemeral cookie APIs. bug:28514747 Change-Id: Iab7f11c503a76bcc414408dfebdf200843db814e
ackageParser.java
|
6e2e7f585ba74213fde92bd23150949f76335fba |
02-May-2016 |
Todd Kennedy <toddke@google.com> |
use 'int' for min sdk version per api council Change-Id: Id3c1191534f61a0d511a6e9932f50ee613830999
pplicationInfo.java
ackageParser.java
|
4d36b3a8c5ba1289d851ef337e46709bba333100 |
27-Apr-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: finishing touches - Change back the throttling quota to 10 calls / day - Foreground apps are no longer throttled, and when an app comes to foreground the call counter will be reset. - When the system locale changes, reset throttling for all packages for all users. See LocalService.onSystemLocaleChangedNoLock() for how it's performed. Because the reset must happen before any other apps have a chance to publish shortcuts, the logic is not straightforward. - Added an internal API to reset the throttling upon inline-reply from a notification. - Stop supporting icons from "content:" URIs - Improved javadoc on several APIs. Also internal refactor needed to this: - ShortcutUser.getAllPackages()/getAllLaunchers() are no longer accessible to outer code to prevent accidentally adding/removing the content. Outer code should use forAllPackages() / forAllLaunchers(). Bug 27923857 Change-Id: I002511193d1d33718163bb1dabe77610bde58198
ShortcutService.aidl
hortcutInfo.java
hortcutManager.java
hortcutServiceInternal.java
|
4e4fca43b0fb1320ce0265640d33b700cd886da8 |
02-May-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Restrict updates of system packages" into nyc-dev
|
8f6c925ae751e06232cfc636949eef74852cfbec |
30-Apr-2016 |
Wale Ogunwale <ogunwale@google.com> |
Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default Previous assumption was ActivityInfo was completely initialized in PackageParser, but that isn't the case with the ResolverActivity whose ActivityInfo in populated in PackageManagerService. This was causing the device to exist multi-window mode since the default ActivityInfo.resizeMode was 0 (RESIZE_MODE_UNRESIZEABLE). Bug: 28378995 Change-Id: I46e58d434f2a0274c461a8ff00b59ed3d2a1dd52
ctivityInfo.java
|
fdd241a1e026afeeb68d30cb3d999ee9506769ce |
28-Apr-2016 |
Todd Kennedy <toddke@google.com> |
Restrict updates of system packages By declaring a <restrict-update> tag in its manifest, a system package can restrict its update to be the singular package that has the same given hash. An update's hash is the SHA-512 across all its APKs [i.e. for splits, the SHA-512 is calculated over the concatenation of the base plus all splits]. The restriction only applies to system packages. Bug: 28398205 Change-Id: Iec493fc8ef27edee53f1d437cb0caaa78782f329
ackageParser.java
|
07318065b22ba13ae003d7803a3e48e441f9f6e5 |
28-Apr-2016 |
Chris Tate <ctate@android.com> |
Merge "Make sure FIRST_LAUNCH is after PACKAGE_ADDED" into nyc-dev
|
5cf5578a457e448dda9fd47943e91f0f3b67690f |
26-Apr-2016 |
Christopher Tate <ctate@google.com> |
Make sure FIRST_LAUNCH is after PACKAGE_ADDED If an app undergoes restore during install, it is considered 'started' and the FIRST_LAUNCH broadcast needs to go out. However, this must not take place until after the restore operation has fully completed, in order to avoid publishing the app's existence while it may still be in an incoherent state. We now make this broadcast part of POST_INSTALL in the restore case. Bundled apps are in the 'started' state regardless, so no FIRST_LAUNCH broadcast is ever sent for them -- this CL does not change that existing behavior even in the case of setup-time data restore of factory-installed packages. Bug 28173625 Change-Id: Ibcc3758576662dc447b75476173a0d008a9fe4da
PackageManager.aidl
|
97ef0e77afa3be6255b70c8567843ac298386251 |
27-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Don't override pre-release target sdk" into nyc-dev
|
b1072718130b998e6d25bc3358eefa62b4fa5a2d |
27-Apr-2016 |
Todd Kennedy <toddke@google.com> |
Don't override pre-release target sdk If a package targets a pre-release SDK [eg a letter version] it should not be allowed to be upgraded by a release SDK [eg a number version]. If one absolutely must upgrade to a release SDK, use the "--force-sdk" option during install. Bug: 28345311 Change-Id: Ic9fb209968e7c5da2c80c5ca4c0f44f5125f610a
ackageManager.java
ackageParser.java
|
f84b3e0e2fe11c8ee1d86ad44236ba4129fc3ae1 |
27-Apr-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Merge "Add manifest attribute for VR activities." into nyc-dev
|
90e269917e1d8f9fadb12c3528b8c360b2271e82 |
18-Apr-2016 |
David Brazdil <dbrazdil@google.com> |
Change app selection policy for post-OTA verification Changes the policy for selecting packages which will be pre-verified during post-OTA boot animation. For Nx to Ny, an app is pre-verified if used in the foreground in the last 7 days, or if its APK was loaded by other apps. For M to N (or early N builds without detailed stats), an app is pre-verified if it has any recorded use in the last 7 days. Bug: 27902702 Bug: 27350503 Change-Id: I2b38daf017ecd0e5aa5ed596ed9351cffa03dbcb
ackageParser.java
|
f56c9f432bafda9765f5ffcb25be5259645e121d |
23-Apr-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Add manifest attribute for VR activities. - Allow jank-free VR->VR activity transitions, even during long activity transitions. Bug: 28115931 Change-Id: I1e3fd1a5245bac3433ea6282cb1c7a71f0e0266f
ctivityInfo.java
ackageParser.java
|
0c9c09ccff72c9a017e6c7da3aef8738eea5f176 |
25-Apr-2016 |
Rubin Xu <rubinxu@google.com> |
Merge "Regenerate ApplicationInfo if package suspend state is changed." into nyc-dev
|
ae0e03a9e03de34e37b768b971d7596d7220a053 |
26-Feb-2016 |
Svet Ganov <svetoslavganov@google.com> |
Cleanup of the PackageInstaller API - Frameworks 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: I9814eafd0b22ae03b4b847a7007cdbf14c9e5466
ackageManager.java
ermission/IRuntimePermissionPresenter.aidl
ermission/RuntimePermissionPresentationInfo.aidl
ermission/RuntimePermissionPresentationInfo.java
ermission/RuntimePermissionPresenter.java
|
5a91b615232374084a45752d7c09c25265e263ed |
22-Apr-2016 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Disallow disable of the system shared libs." into nyc-dev
|
ca82e616d3131570bf2ee29778f4796f343720d5 |
20-Apr-2016 |
Brian Carlstrom <bdc@google.com> |
Add reasons to notifyPackageUse calls This is so we can record more specific times in PackageUsage. If file with only one timestamp per package is found, the value is copied to all usage slots. Bug: 27902702 Change-Id: I8affe43c735e54620a9204433aad367cfddfded7
PackageManager.aidl
ackageManager.java
ackageParser.java
|
59c9a93fc268e226495d4ee8cf7c507c2ea2c433 |
20-Apr-2016 |
Trevor Johns <trevorjohns@google.com> |
Merge changes from topic 'merge_docs_nyc-dev' into nyc-dev * changes: Remove links to createAndInitializeUser() and createUser() Resolve merge conflicts of a5060ee to nyc-dev
|
bf67c9c1164bffa1dbaaaf72233e8ab5a1d2fd67 |
20-Apr-2016 |
Rubin Xu <rubinxu@google.com> |
Regenerate ApplicationInfo if package suspend state is changed. Bug: 28184597 Change-Id: Ie3d50630b8946299128d599f77dce31150bc7a6c
ackageParser.java
|
f720a9d91eb964b7772e3d42aae6bef83f531aac |
15-Apr-2016 |
Todd Kennedy <toddke@google.com> |
Always perform has code check Move code checking from the package parser and into the block where we implement policy. Bug: 28132476 Change-Id: Ie5cacacbf80289ff8d85acc5b57e58ea7216859c
ackageParser.java
|
682c24e22811d4ee17ae1cd61bf255c3f7e722b7 |
12-Apr-2016 |
Trevor Johns <trevorjohns@google.com> |
Resolve merge conflicts of a5060ee to nyc-dev This undoes the automerger skip which occured in commit e740c84dc32180214a7fd157105d6c18d30408ee and replays it as a standard (NOT -s ours) merge. Change-Id: If5a47be26f73d6a0735c425cd66310a3e2a89086
ackageManager.java
|
e54b4397d37e12daa4d068feb61f9532afa6930e |
18-Apr-2016 |
Craig Donner <cdonner@google.com> |
Merge "Replace CTS with CDD in comment for FEATURE_VR_MODE_HIGH_PERFORMANCE" into nyc-dev
|
be73a8068ff3babe5b0a4f12656731ba8eea6149 |
15-Apr-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: Categories should be Set, not List. Bug 27923857 Change-Id: Ife859da8e66478174f6c4463316886a23e5aa4e0
hortcutInfo.java
|
d022ac21ebcb441314b80b6d8f0656939f2480e5 |
13-Apr-2016 |
Todd Kennedy <toddke@google.com> |
Fix parse flags Setting PARSE_IS_SYSTEM to the parse flags happens long after the APK is actually parsed. So, we fail to pick up the boot aware and protected storage attributes. Instead, always pull them from the manifest, but, remove the flags if the package is not actually a system package. Also, we were incorrectly skipping certificate verification if the flag PARSE_IS_SYSTEM was set. However, this flag is used for _any_ system package -- whether it's physically on /system or if it's an unbundled update. Instead, we should only skip this step if the flag PARSE_IS_SYSTEM_DIR. We can implicitly trust any APK actually stored in /system. On a different note ... At some point, we will break apart the parse flags into actual parse flags [i.e. those that change physically parsing an APK] and policy flags [i.e. those that change the interpretation of the APK contents]. Bug: 28116074 Bug: 28088617 Change-Id: I85246b0cb18fb5647df3618107910e288137fbc7
ackageParser.java
|
8819c9d2ffff44098843e7380dff16e4ed640110 |
15-Apr-2016 |
Craig Donner <cdonner@google.com> |
Replace CTS with CDD in comment for FEATURE_VR_MODE_HIGH_PERFORMANCE Bug: 27532416 Change-Id: I303d63d5b70434019acd77e8d82abcbabb1a85c1
ackageManager.java
|
25c43b78d11f74e98ba9d5f541647aa5ed44ebce |
14-Apr-2016 |
Bernard Chau <bernardchau@google.com> |
Merge "Includes both direct boot aware and unaware apps in Apps default view" into nyc-dev
|
a9c2500a6863dabdd786f17a25ce0bf3683109a2 |
14-Apr-2016 |
Svetoslav Ganov <svetoslavganov@google.com> |
Disallow disable of the system shared libs. bug:28173410 Change-Id: If731f2d90312a083bb940f83431ba3eccf213947
PackageManager.aidl
ackageManager.java
|
186f29b6d8f00dfc16288b4972d43e874a805229 |
13-Apr-2016 |
Bernard Chau <bernardchau@google.com> |
Includes both direct boot aware and unaware apps in Apps default view The view should be showing a combined list of "downloaded" + "visible in launcher" apps. However, if FBE and work callenge are enabled, after a reboot the direct boot unaware apps are filtered. Reason is that PackageUserState#isMatch assumes at least one of the flags are specified and expects system to derive the aware/unaware flags according to the user's lock state if neither of them is specified. Bug: 28004355 Change-Id: Ia05edb0530023597fd219eb5e59cd71752efd279
ackageUserState.java
|
0a6a6dbe9107a3e31d74293f853b46ae0e5b9e7b |
13-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Added api to delete cache files for a given user" into nyc-dev
|
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
PackageManager.aidl
ackageManager.java
|
1d616f0d880d0a4109e811221f3c3ff2e016013b |
13-Apr-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: Address API review feedback." into nyc-dev
|
1fe7dfa66aaf37045c62094438ab3db2ee5403c5 |
12-Apr-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Changing LauncherApps to resolve activity by component name" into nyc-dev
|
e341ddfa05e61d7ef937d6b3fd21a2bf4fa903fd |
12-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Document when usesCleartextTraffic is ignored." into nyc-dev
|
2df5ba777a6ad271b1af6d9ef18d79e2aca5f105 |
11-Apr-2016 |
Chad Brubaker <cbrubaker@google.com> |
Document when usesCleartextTraffic is ignored. In N and above when using an Android Network Security Config the cleartext configuration from that is used and android:usesCleartextTraffic in the manifest is ignored. Bug:27596429 Change-Id: I50ec765cead6cfd6bbaec585723f99d72e0fd945
pplicationInfo.java
|
b6d3523dfb5d73ddda4b750a82c059cdc42acf8e |
05-Apr-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: Address API review feedback. - "delete" -> "remove" - add/deleteDynamicShortcut() now takes a list. - Throttling default settings is now 2 calls / hour. - Add categories to ShortcutInfo. - getIconResourceId() is now public Bug 27923857 Bug 27548047 Change-Id: I8457b30e4b2f7c63ab2988648b37178fd16ea45b
ShortcutService.aidl
auncherApps.java
hortcutInfo.java
hortcutManager.java
|
45d3e977487da262a58bbfc5650c99a2d94aba9f |
31-Mar-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Changing LauncherApps to resolve activity by component name This makes the behavior of resolveActivity similar to isActivityEnabled. Not that starting this activity may still fail due to other reasons. Bug: 27549770 Change-Id: I924d7aa2305c64fd319ca1e38058f9f956c0c256
LauncherApps.aidl
auncherActivityInfo.java
auncherApps.java
|
5ba0d3e3a3035b67d2ce3a59975145b1e0061ef4 |
11-Apr-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: First cut of CTS Bug 27548047 Change-Id: Idd7a768ea4fee44c2cf6e3bd473cea9e67f5f7cd
auncherApps.java
hortcutManager.java
|
390a81302f13a0285e58e550cf786255ce5f8bd8 |
11-Apr-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Add UserHandle to ShortcutInfo, and simplify LauncherApps APIs." into nyc-dev
|
4288419787120ce85a241a4b315d7d2123aa2d4a |
10-Apr-2016 |
Jeff Sharkey <jsharkey@android.com> |
Use inode numbers for CE storage. Certain operations, such as clearing/destroying app data, or just counting on-disk size, require us to know the CE storage directory of a particular app. To facilitate these operations, offer a method to get the inode of a CE directory, and accept that inode number for later operations. Collect and store the inode number in PackageUserState for future use when that user's CE storage is still locked. This design means it's safe to clear/destroy app data in both CE/DE storage at the same time. Move most installd-related methods to a uniform calling convention that accepts a single parent PackageParser.Package, and internally fans out to handle all "leaf" packages under that parent. In previous releases, we started installing apps using a new directory-based layout, where all app code, unpacked native libraries, and optimized code is bundled together. So now we only have a single path to measure for code size. This fixes several outstanding bugs that were causing sizes to be miscounted for apps supporting multiple architectures. Fix a subtle bug in PackageSettings that would cause "notLaunched" to be parsed incorrectly. Bug: 27828915, 27197819 Change-Id: Ia582cf3550553292bde4bb4313367111332913ec
ackageUserState.java
|
abe8442951ff88aa01ed882adb54fb1b3472ca3e |
07-Apr-2016 |
Makoto Onuki <omakoto@google.com> |
Add UserHandle to ShortcutInfo, and simplify LauncherApps APIs. - Also fixes the bitmap recycle bug in the service. Fixes 28053541 Change-Id: I2b244feda0f85c60e2c15af427fcad95ad5e6da5
LauncherApps.aidl
auncherApps.java
hortcutInfo.java
hortcutServiceInternal.java
|
cff102508cf4cf1d2f298ebdba663bd27c458520 |
07-Apr-2016 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Clarify version docs." into nyc-dev
|
e721615f431d0799175ed40a9519edd4f1c355d7 |
07-Apr-2016 |
Jeff Sharkey <jsharkey@android.com> |
Clarify version docs. Change-Id: I64cc9e5e51f12d33e770e73734efd89df20c8504
eatureInfo.java
|
d9d438ac4e851275abb4ddc6671f74701e07b4fc |
06-Apr-2016 |
Todd Kennedy <toddke@google.com> |
Only parse an APK once During package installation, we were parsing the APK twice; once in the context of the PackageInstaller and once in the context of the PackageManager. Instead, the installer should just pass the certificates to be used further in the process. If the PackageManager doesn't receive certificates [or, if there's an error using them], it will fallback to re-parsing the APK. Bug: 27502465 Change-Id: I94ce551af54eaa9916228e933134debe50867d21
ackageParser.java
|
0f4bc2b8002b927290dc84403bb0255e4c4a9079 |
06-Apr-2016 |
Todd Kennedy <toddke@google.com> |
Move cert tracing to PackageParser Tracing for cert collection in PackageManagerService was only catching one of a couple usages. Move tracing lower in the call stack to ensure tracing exists for all calls. Also added a new tag to differentiate between verifying v1 & v2 signatures. Bug: 27502465 Change-Id: Ie29f326e44f32cdbea1572714689c82f07ca12ba
ackageParser.java
|
3ccb35421d642e96048d5cdeb60043634933267d |
01-Apr-2016 |
Russell Brenner <russellbrenner@google.com> |
Merge "Add new protection level for setup wizard" into nyc-dev
|
02424676c68e23f44432ef0e379d65ddd9c3a786 |
01-Apr-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Allow retrieving info /system components" into nyc-dev
|
b23346639b66783c1662fd8ffa5345ef5cef336c |
23-Mar-2016 |
Russell Brenner <russellbrenner@google.com> |
Add new protection level for setup wizard Adds PROTECTION_LEVEL_SETUP, a privileged permission for use only by the setup wizard. Bug: 20016740 Change-Id: Ib95e349c54d5d12465bf43162975dfb628ef2434
ermissionInfo.java
|
d6ee0ba57906f83f45ca2a2cd835d7ff6e7a88df |
01-Apr-2016 |
Todd Kennedy <toddke@google.com> |
Allow retrieving info /system components Generally we return info for the latest installed package; which could either be a built-in [i.e. on the /system partition] package or a user updated package. In certain circumstances, we want to be able to get the version on the /system partition regardless of whether or not the user has updated it. We do this by passing MATCH_FACTORY_ONLY to getPackageInfo(). Bug: 27469181 Change-Id: I8dd1d110e2d72e5c6f024812d0b5d15d8b217347
ackageManager.java
|
56d3dd8af70f2b24aa7f2cabae025c5fea06a1c8 |
31-Mar-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Chaning LauncherActivityInfo to return a density specific non-badged icon" into nyc-dev
|
2c0ae91f2d22b2c9a3b506d3a7f60bc31f72c57d |
31-Mar-2016 |
Jeff Sharkey <jsharkey@google.com> |
Merge changes Ifecff4f1,Ia302de46 into nyc-dev * changes: Make preferred activities direct-boot aware. Make Parcelable classes final, API cleanup.
|
70168dde6e1da06042818350fc6e258188d001ae |
31-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Make Parcelable classes final, API cleanup. Remove some Context methods that leaked through. Add lint rule to recommend using List<? extends Parcelable> instead of Parcelable[]. Bug: 27932224, 27930145, 27932911 Change-Id: Ia302de46cdb0c5101fa175a09316df91aeefcf0d
hortcutInfo.java
|
bc48d8c6a8189c7043b47f629aab71d09d567388 |
31-Mar-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Chaning LauncherActivityInfo to return a density specific non-badged icon Bug: 27877821 Change-Id: I57c39c197b2480d9620a1719ace076cc6c936652
auncherActivityInfo.java
|
0e65d36607abd3d3c2315184bd8c46a77a271c1e |
29-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Clean up javadoc. Bug 27548047 Change-Id: I10410c969136db634bb98687710d011d159bca07
hortcutInfo.java
hortcutManager.java
|
ca0ee285bb28ee5698d7cf2680e2fa6ca337cefd |
30-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: Support secondary text field." into nyc-dev
|
f5c444ffd4fdce4fab939fcd88f163288dc804c5 |
30-Mar-2016 |
David Brazdil <dbrazdil@google.com> |
Move OTA package update before fstrim, hide "Optimizing apps" dialog This patch moves the updating of packages before performing fstrim, which runs asynchronously anyway, and stops showing the UI dialog. Bug: 27350503 Change-Id: I6fceda10d7696f9badb97978fb9dc7927d698a4b
PackageManager.aidl
|
e3ae7ec14a3204ee502219b6bb46dc9ab8e24a36 |
30-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: Support secondary text field. Bug 27548047 Change-Id: I2d184bab2c26e351b7326945fa0cacf826f16d1e
hortcutInfo.java
|
d5b745a9e64734483bc43c781ad809b2a75bd1ba |
30-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "ShortcutManager: proper work profile support" into nyc-dev
|
9da23fc6ac565b38129d52f4f8f174c833a9bd01 |
29-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: proper work profile support Bug 27548047 Change-Id: I8acea3355f8974a551f53814624dec30732f7b2f
ShortcutService.aidl
|
53937849fcb4f2e33072997bd8a7cee40137495c |
29-Mar-2016 |
Michal Karpinski <mkarpinski@google.com> |
Merge "Moving app process logging from AMS to PMS" into nyc-dev
|
b52a461851f322b0edf3cb9383da5f449b533311 |
21-Mar-2016 |
Michal Karpinski <mkarpinski@google.com> |
Moving app process logging from AMS to PMS Bug: 26796347 Change-Id: I21894c2edb41929f6ecd3880667c53e00acef677
PackageManager.aidl
|
d99c6f04bbb68f8be78f2c3ca625a3a8d5645275 |
28-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: Fix work profile - Pinned shortcuts need to know not only which package has pinned them, but also on which user's, due to work profile. - Launcher can always launch shortcuts that it has pinned. Bug 27548047 Change-Id: I23b4e7dfbb6ecc42099d31008bcfd61d44e2c7fb
hortcutServiceInternal.java
|
47869bd446e0de36bdb4848d3c286a15fc3fdbf7 |
28-Mar-2016 |
Andrii Kulian <akulian@google.com> |
Merge "Update ActivityInfo#WindowLayout apis (1/3)" into nyc-dev
|
2e751b8c778fd991fcdcec3bc2d1f32a722f436b |
17-Mar-2016 |
Andrii Kulian <akulian@google.com> |
Update ActivityInfo#WindowLayout apis (1/3) Adds documentation, renames Layout to WindowLayout and splits #minimalSize to #minimalWidth and #minimalHeight. Bug: 27528326 Change-Id: Idb440cb081a14ccdc83309284e906454633c4504
ctivityInfo.java
ackageParser.java
|
bd91e2f3f6aca512a02be645b2515b5e3331e177 |
22-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Update PRE_BOOT_COMPLETED for FBE. Now that CE data isn't available until after a user is unlocked, we need to delay the PRE_BOOT_COMPLETED broadcasts. This is done by adding a new RUNNING_UNLOCKING user state to the UserController lifecycle. We now track the last fingerprint a user was logged in under, and we dispatch PRE_BOOT receivers when that fingerprint changes. To work around battery pull issues, we only persist the updated fingerprint once all PRE_BOOT receivers have finished. This is less granular than the original solution, but it's still correct. We only consider a user as "logged in" once it transitions into the RUNNING_UNLOCKED state. When starting a process, track if the user was "unlocked" when started, so that we only spin up unaware providers in processes started before user unlock. Add generic IProgressListener to communicate PRE_BOOT progress and strings up to lock screen. For now, LockSettingsService just blocks until finished, but it could display these strings in the future. Bug: 27220885 Change-Id: I349439776b885acd32f6a578d8951ffd95640be2
serInfo.java
|
e60d72f49a10ba8d51fd184ed5604ca4d8225552 |
24-Mar-2016 |
Alex Klyubin <klyubin@google.com> |
Merge "Ignore signature stripping protection for preinstalled APKs." into nyc-dev
|
9b59bc459b4cb5415909641bd1e981100bfafb2b |
24-Mar-2016 |
Alex Klyubin <klyubin@google.com> |
Ignore signature stripping protection for preinstalled APKs. The current build process may currently strip APK Signature Scheme v2 signatures from prebuilt APKs to be installed on the system or vendor partitions. However, it leaves intact the signature scheme rollback protections introduced by APK Signature Scheme v2. Due to a bug, when the system extracts signer certificates from preinstalled APKs, it encounters the rollback protection and aborts the extraction process. This manifests itself as some preinstalled packages not appearing as installed. This change makes the system ignore signature scheme rollback protections when extracting certificates from preinstalled APKs. This is fine because the process of extracting certificates from preinstalled APKs does not care about validity/integrity of signatures and the APKs. It only cares about extracting signer certificates. Bug: 27829513 Change-Id: I3bed463e776b057e93a0fce915db4014946be1f9
ackageParser.java
|
a7f2bccca3f27a2ad12397ffb52d47fceea76018 |
24-Mar-2016 |
Andreas Gampe <agampe@google.com> |
Merge "Frameworks/base: Refactor package manager" into nyc-dev
|
bdd30d86ef98456161069d11481b2ccd25a11b4e |
20-Mar-2016 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Refactor package manager Introduce a mapping between dexopt reasons and compiler filters. Use reasons in package manager and other classes, where possible. Change PackageDexOptimizer to accept a compilation filter. Adapt for the split-out profile merging. Pass compilation filter to installd. Bug: 27689078 Change-Id: I8c0ea6f10fbfdbd096adecc52abfd2466d048fdc
PackageManager.aidl
|
6f48d6ef35df55e092d18619fe1f92a2593682d4 |
23-Mar-2016 |
Amith Yamasani <yamasani@google.com> |
Localize owner's name to current locale until changed Don't set a name for the system user and always return a localized name until the user explicitly sets a name. Bug: 27814125 Change-Id: I7972a45d77c07d9efbd67d5b360bacee46247a66
serInfo.java
|
2a4e495448a048bef9d3b2a756816a622abd57b0 |
18-Mar-2016 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Update direct boot related documentation." into nyc-dev
|
cf3f0a11a83e7a798e0586a78efdafc82a7f3d08 |
18-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Update direct boot related documentation. Also hide a few APIs as requested by council. Add a method to easily determine if a given File would already be encrypted at rest by the OS. Bug: 27531029 Change-Id: Icad5f1cd56411ad3ac707db85fd7449acdcc4b94
ackageManager.java
|
45c1827c37ba9d8ed3c644aee89e993e4e5288b1 |
18-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Improve ShortcutSrvice" into nyc-dev
|
a0a58a2fd5cbc1bb8056227bb04f276b364c6e96 |
17-Mar-2016 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Refactoring FBE APIs based on council feedback." into nyc-dev
|
aa8b94aa79df94d77d0f7698ce532ac98f197a99 |
17-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Improve ShortcutSrvice - Delayed save - Reset logic update Bug 27548047 Change-Id: Ibd52f90a7986991974301b7ff1f1d8520f9ef0d9
auncherApps.java
hortcutInfo.java
|
8a372a0a280127743ce9a7ce4b6198c7a02d2a4f |
16-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Refactoring FBE APIs based on council feedback. Mostly consists of removing the word "encryption" from most APIs, since we can't actually make promises about the data being encrypted. Bug: 27531029 Change-Id: Iace9d7c4e64716abf86ed11847c40f3947e1d625
pplicationInfo.java
omponentInfo.java
nstrumentationInfo.java
ackageManager.java
ackageParser.java
ackageUserState.java
egisteredServicesCache.java
|
fb3f3f5b283095cff67ce78b554700958543d4f5 |
17-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Support multi-launcher" into nyc-dev
|
ce71deefca1f5fe53457f6092cda788023669693 |
17-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Merge "update "dont kill" api" into nyc-dev
|
f9124ecad9ec20f572df8cdca6f985ef3f97210d |
17-Mar-2016 |
Benjamin Franz <bfranz@google.com> |
Merge "Flush package restriction changes for a user." into nyc-dev
|
1b21124d126792e77cdac40c7342adb3486f004b |
17-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Add "pm set-home-activity"" into nyc-dev
|
24ca5c6d7da534dd529421ccdb45447c90063108 |
16-Mar-2016 |
Todd Kennedy <toddke@google.com> |
update "dont kill" api * update the name to be more consumer friendly * expose it as a system api [so zapp can use it] Change-Id: I11062e360bfd709dd5568409934fec539f64b863
ackageInstaller.java
|
4828a59d68570270875d43d29b1ee25b799a923d |
16-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Add "pm set-home-activity" This is needed to change the default launcher on CTS for ShortcutManager. - When the default set with DPM.addPersistentPreferredActivity() is still stronger. - Ideally we should unify the code with HomeSettings, but I couldn't find a good way to do this. - I didn't make it to work to set the default for any intents because building an intent filter from a command line would be painful. Bug 27548047 Change-Id: I66b153c20c7796147f77214b483112629f9d80c5
PackageManager.aidl
|
237db27c58069d7b15d1b0ec22b4a99acaa3e561 |
10-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Remove references to Google packages. Bug: 26441633 Change-Id: Iba6566215e2b6d224fd3b9c11d086f5c2db87dca
ackageInstaller.java
|
4dc008cda2980fabb6acbf8a3b7096d1090ee36f |
16-Mar-2016 |
Tony Mak <tonymak@google.com> |
Fix NotificationListenerService fail to mirror work notification 1. Instead of getting application info in runtime, just retrieve the one in the context to avoid cross user operation. 2. Functions in PackageManager that retrieve badged icon now return badged icon if the targer user is managed profile instead of checking whether target user is a managed profile of the user in mContext. 3. Relax the restriction of getUserInfo, if the caller is asking a user in the same profile group or having the manage user permission, we let it go. Bug: 26469166 Change-Id: Ia1ffc5743f7d94bd489cdb7571eaed51499ebdd9
ackageManager.java
|
bbb3ff2b2a29d42771a9ce2fe2d6f576cff62617 |
09-Jul-2015 |
Sudheer Shanka <sudheersai@google.com> |
Flush package restriction changes for a user. Change-Id: I7c4481f820b6b368487d00de6c783e64cec99f4b
PackageManager.aidl
ackageManager.java
|
de66737ae9c5d5c94155820fad65224a83d04c3d |
15-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Support multi-launcher Each launcher can have its won set of pinned shortcuts. - Shortcuts pinned by others should look like not pined to this launcher. This affects how ShortcutQueryFLAG_GET_PINNED works, as well as what ShortcutInfo.isPinned() returns. - When pinning a shortcut, it should be a visible one to itself -- a non-dynamic shortcut that's pinned by another launcher but not by the caller is not visible, so this launcher cannot pin it either. - Also clean up the dynamic shortcut adding. Bug 27548047 Change-Id: Ia478a2ea19b7d35557ec6ea42384c79a84d6b8de
hortcutInfo.java
|
4dbe0ded4ae9faaef580be80184fca0749e27198 |
15-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Fix launcher side callback - Fix crash in work profile case - Calculate shortcuts for each caller - Add tests Bug 27548047 Change-Id: I1a5b6a96956abac75d01eb5cc1cec9a9e8e379a3
LauncherApps.aidl
auncherApps.java
hortcutServiceInternal.java
|
49f6fbcd1f516ec543ada6aeab62eb51a3cdf712 |
14-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Implement the launcher side permission." into nyc-dev
|
2d5b465fa9235e66ec176f6d6ffaaa0c18143e41 |
12-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Implement the launcher side permission. Only the default launcher can call the LauncherApps shortcut APIs. Bug 27548047 Change-Id: I6d597fcad80c5201a2f93b8cbecd567fc79926d8
LauncherApps.aidl
auncherApps.java
ackageManagerInternal.java
hortcutServiceInternal.java
|
791a1546484f643e98a4bb245c3b7c302b894f78 |
14-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Fix API" into nyc-dev
|
948b702f39935fc856bca913714e489dcd67239b |
14-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Fix API change name and allow passing in a boolean Change-Id: I29b9765fedbd6b49878bb75df782012ad87a6866
ackageInstaller.java
|
781fbf28c70868d803a6caf13a2209c785fa4fce |
14-Mar-2016 |
Alan Viverette <alanv@google.com> |
Merge "Ensure all Java-side usages of config flags are using Java flags" into nyc-dev
|
ac85f90466dd60d2af8ffc3942d503a0de606726 |
11-Mar-2016 |
Alan Viverette <alanv@google.com> |
Ensure all Java-side usages of config flags are using Java flags Previously we were using native config flags in some places that expected Java flags, and vice-versa. All usages of config flags are now annotated to ensure we're using the right type. Cleans up annotations on most methods that were touched. Bug: 21161798 Change-Id: Ifd87dfb12199fc8258915d8a510e03ddb681ca89
ctivityInfo.java
|
b0f6e311ce19add792048db855844e542e808dd6 |
11-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Allow app downgrades" into nyc-dev
|
c84d1ab11a5b9d0dc81b673e382e804cc70f35a4 |
11-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Allow app downgrades only system apps can do this Change-Id: If0947f13f5c447f9396690bfda3ad40b07fbbb6b
ackageInstaller.java
|
1374af2c7be265701b9b402b7d4749ffe716ef01 |
11-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Add minSdk to dumpsys" into nyc-dev
|
89d60189cd53a7f0e20c23bb42d4cd4c3dbc20b4 |
11-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Add minSdk to dumpsys Bug: 27526333 Change-Id: I0148275013ebab899bcb63c07d71a840539c1863
pplicationInfo.java
ackageParser.java
|
7a6a05f0ccc8c57496d0a1e2b0882ab7de3175e5 |
11-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Test for ShortcutManager.updateShortcuts(), also ... fix bugs Bug 27548047 Change-Id: Ia55d35521912dcba2fb1bb9c20588a83d1a2d004
hortcutInfo.java
|
ab750d283aca3dcfa8178589ca64e8be819f848b |
10-Mar-2016 |
Kenny Guy <kennyguy@google.com> |
Merge "Update docs to make suspend then uninstall clear." into nyc-dev
|
23ca16865ae63a482f8725f663231389a7984202 |
10-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Merge "fix docs" into nyc-dev
|
1ed6b876346b60cbe429955a022c86c02e43e280 |
10-Mar-2016 |
Todd Kennedy <toddke@google.com> |
fix docs No code change; just doc clarification per API Review Council suggestions Bug: 27531045 Change-Id: Ib1eef9635d68d44be596888b46de0650883d118c
ackageInstaller.java
|
39ceeb5472d920a6d5f6ddc1effdb9c4fedda4dd |
10-Mar-2016 |
Jesse Hall <jessehall@google.com> |
Refer to hasSystemFeature(String, int) in Vulkan feature docs Bug: 27531286 Change-Id: Ifb32ae519fc8118923d6216e1d574cbbf83dfd23
ackageManager.java
|
871f3ebb56b5c9219ff3f9cf7bab98038a7b7a5a |
09-Mar-2016 |
Kenny Guy <kennyguy@google.com> |
Update docs to make suspend then uninstall clear. Update docs to say suspending then unintalling an app unsuspends the app. Point out admin can block uninstall if they want. Bug: 26935242 Change-Id: I4390fa20c9d8954b36ff80fc449b62891eee598c
ackageManager.java
|
f96eee36df0cc987bafd1f01ce69504191efb8b8 |
10-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Merge "remove splits" into nyc-dev
|
eb9b05392ad047863244f9e07a3b10e9c0561e39 |
08-Mar-2016 |
Todd Kennedy <toddke@google.com> |
remove splits Individual splits can now be removed for an application. The application will be terminated if it's running when a split is removed. To remove a split, either use either "uninstall": $ adb shell cmd package uninstall <PACKAGE> <SPLIT> or "install-remove": $ adb shell cmd package install-create -r -p <PACKAGE> $ adb shell cmd package install-remove <SESSION> <SPLIT> $ adb shell cmd package install-commit <SESSION> For "install-remove" you must use '-r' and '-p' when creating the session. Bug: 27547051 Change-Id: I4d71a19ad45e39f6622d9ab6791ea8c4230a79e0
PackageInstallerSession.aidl
ackageInstaller.java
|
5504622fb01ab9774b5e73d05f86ee03a8b68ab7 |
08-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: add remaining APIs. - Icons are now persisted. (under /data/system_ce, as PNGs) - the "load icon" APIs in LauncherApps are supported. - Implement updateShortcuts() - Addressed all the comments on the previous CL - @hide the newly added constructor for PersistableBundle - Enhance incoming shortcut validation - A lot of internal clean-up. Bug 27548047 Change-Id: I8e3c1ccd3e0a997a6d271c84d81170f0c022b60e
LauncherApps.aidl
ShortcutService.aidl
auncherApps.java
hortcutInfo.java
hortcutManager.java
hortcutServiceInternal.java
|
43204b8357d781f284037fb8b7b7050ed04a2103 |
09-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Implement LauncherApps.startShortcut(). Bug 27548047 Change-Id: I357732e22be0959fb573fd6cdaee7c6b439ef7c4
LauncherApps.aidl
auncherApps.java
hortcutServiceInternal.java
|
ed58f5f0aa580dd4a6dc0fd5dc957862309db8d9 |
08-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "Introducing ShortcutManager" into nyc-dev
|
9aa6db03f0a317b8414af760b8b1ee6331bedc46 |
08-Mar-2016 |
David Brazdil <dbrazdil@google.com> |
Add option to clear profile data to 'cmd package compile' Adds an option which clears all profile data of a given package. Bug: 27516490 Change-Id: Ie83ef1f06ca47d35ffb206c29341dc68166afeb3
PackageManager.aidl
|
990fb6b5c91be62078a698ee1c01e24d33364c85 |
01-Mar-2016 |
David Brazdil <dbrazdil@google.com> |
Add option to compile all packages with 'cmd package compile' To help investigate performance regressions, an option is added to 'adb shell cmd package compile' to compile all packages with the given mode. Bug: 27391290 Change-Id: I70a3a518e08b54535bb34f13f0cedda3a1f7085f
PackageManager.aidl
|
fdc5ba8f43e09cfbc8f5de0bf819b7684094953e |
05-Mar-2016 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Move more PM calls to ParceledListSlice." into nyc-dev
|
d5896630f6a2f21da107031cab216dc93bdcd851 |
05-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Move more PM calls to ParceledListSlice. Since the data returned by these calls can grow unbounded based on various GET flags, we need to switch 'em over. Bug: 27391893 Change-Id: Ie849ca30dbaaa91158da4c83675657715629a0ee
ppsQueryHelper.java
PackageManager.aidl
|
6f7362d92573e4ae693bc513dca586d6a4eb087b |
04-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Introducing ShortcutManager What's supported: - Most APIs are implemented, except for SM.updateShortcuts(), the icon APIs in LA, and LA.startShortcut(). - Persisting information, except for icons - Throttling In addition, now PersistableBundle has a public copy constructor from a Bundle. (Do we want to @hide it?) TODOs: - Add icon support - Implement missing APIs - Listen to PACKAGE_* broadcasts and do clean-up - Support multi-launcher apps (pinned shortcuts per launcher) - Dev option to reset throttling - Load throttling config from Settings - Backup & restore - Figure out LauncherApps permissions (BIND_APPWIDGETS??) - Other minor TODOs in the code - Better javadoc Note: This requires Idf2f9ae816e1f3d822a6286a4cf738c14e29a45e Bug 27325877 Change-Id: Ia5aa555a4759df5f79a859338f1dc5e624cd0e35
LauncherApps.aidl
OnAppsChangedListener.aidl
ShortcutService.aidl
auncherApps.java
hortcutInfo.aidl
hortcutInfo.java
hortcutManager.java
hortcutServiceInternal.java
|
40a6e6a10e0b411fd7434d586f2323674b11b757 |
04-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Merge "dump apk signing version" into nyc-dev
|
66c5553c2e418724ea20b2234a8590e889f0ffe4 |
27-Feb-2016 |
Todd Kennedy <toddke@google.com> |
dump apk signing version bug: 26905579 Change-Id: I5c2682904f2fb83ffce572fe2eb35c38e1b72f01
ackageParser.java
|
dfa93abf2f64237007af8e72c4a4114a5258e858 |
04-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Fix javadoc Make referenced constants @SystemApi and change argument name to match its actual meaning. bug: 25441401 Change-Id: I4277799b95f394edb4305be05f57437717a86691
ackageManager.java
|
e8498cd0066113068f2b0294144837546f213bd1 |
03-Mar-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Splits without restart" into nyc-dev
|
0c9ef61944e883219dd167f765a504ab8cdb7710 |
03-Mar-2016 |
Calin Juravle <calin@google.com> |
Merge "Better handling of various types of compilation in DexOptimizer" into nyc-dev
|
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
ackageManager.java
|
693f997cc8b8c2ba8d3ed29627b2641dd86392a5 |
25-Feb-2016 |
Calin Juravle <calin@google.com> |
Better handling of various types of compilation in DexOptimizer From the runtime perspective extract-only/profile-guide-compiled/fully- compiled oat files are up-to-date and don't need dex2oat. However, wihout knowing the exact "class" of the aot file we are not able to do a full compilation of something previously only-extracted, or limit profile-guide compilation to only previously profile-guide or extract- only oat files. GetDexOptNeeded now accepts a mask of desired types of compilation that the runtime takes into account when advising what's needed. This CL adds the necessary handling in DexOptimizer. Also: - removes the contraint to use extract-only oat files only when profiles are enabled. - removes mDexOptPerformed which interfere with the different types of compilation and only saved a call to GetDexOptNeeded. Bug: 27189430 Change-Id: Iced2bdcc3aa7866ff888a3bace43f4b71fffb353
ackageParser.java
|
39bfee5e3674faea992c32204abc1c03429b8cda |
24-Feb-2016 |
Todd Kennedy <toddke@google.com> |
Splits without restart In specific cases [as determined by the installer], we can install splits without restarting the application. The split must be purely additive [i.e. it should not modify class(es)/resource(s) defined in the base or other splits. Otherwise, the behaviour could be inconsistent [e.g. if a modified class was already loaded, the modified version won't be loaded until the process is restarted]. The platform does not perform any verification that the split is purely additive. Bug: 26463098 Change-Id: I3526c3b1b847a8e0afabc7a4787fa770422196b7
PackageManager.aidl
ackageInstaller.java
ackageManager.java
ackageManagerInternal.java
|
093622f089a84298b5cfaab839eef6678292de5d |
02-Mar-2016 |
Vadim Tryshev <vadimt@google.com> |
Revert "Adding getManagedUserBadgedDrawableForDensity() to PackageManager." This reverts commit 9f68f41a5866e1feb810b16c769705c10e850d5d. Caused breakage. Change-Id: I441737f61f6f38ed9f440211b52bbac0f74982e3
ackageManager.java
|
9f68f41a5866e1feb810b16c769705c10e850d5d |
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: I20ca2d7265cbc3a47c050a72ec1843cc0a481c74
ackageManager.java
|
6cc1ba8e174935aeaf5e6da20cb8aeb243c2f08c |
02-Mar-2016 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "API for safe label to present in the UI" into nyc-dev
|
aa8b0d74f4f4e14c3591582bad7baead0d30e655 |
01-Mar-2016 |
Svetoslav Ganov <svetoslavganov@google.com> |
API for safe label to present in the UI bug:23531798 Change-Id: Ic3e0ed3db11445dbc5e562ca1a91b181ec5f2553
ackageItemInfo.java
|
a67932374dbbfbe4c6440d223fc7922b313dd957 |
24-Feb-2016 |
Todd Kennedy <toddke@google.com> |
Revert "Revert "Remove deprecated methods / classes"" This reverts commit 5cbeb5902633646fbc0a1be252081e77aaaee7b4. Change-Id: Id96010364d65e6131221ebbcc8ce5889a2da256c
ontainerEncryptionParams.java
PackageManager.aidl
ackageManager.java
erificationParams.aidl
|
b77f9ec93a11841aacb72d4fecd1bf56f6253254 |
29-Feb-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Merge "Revert "DO NOT SUBMIT: Hide VR features for preview."" into nyc-dev
|
e5d76e827600c44657e328599ffc9d0e8a258e58 |
29-Feb-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Revert "DO NOT SUBMIT: Hide VR features for preview." This reverts commit cfa66a2a45c3cec6c338d0d83806fb33d63cfd44. Change-Id: Ibf36092205b14c29935d1f28be5f5b5f64b1d16c
ackageManager.java
|
8ccb68af89c68e32b908652436acfa339e034bcc |
29-Feb-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Merge "DO NOT SUBMIT: Hide VR features for preview." into nyc-dev
|
f8880561e67e1da246970b49b14285efd4164ab1 |
26-Feb-2016 |
Jeff Sharkey <jsharkey@android.com> |
When system server goes down, crash apps more. Similar to first patch, but now using new "rethrowFromSystemServer()" method which internally translates DeadObjectException into DeadSystemException. New logic over in Log.printlns() now suppresses the DeadSystemException stack traces, since they're misleading and just added pressure to the precious log buffer space. Add some extra RuntimeInit checks to suppress logging-about-logging when the system server is dead. Bug: 27364859 Change-Id: I05316b3e8e42416b30a56a76c09cd3113a018123
auncherApps.java
ackageInstaller.java
|
cfa66a2a45c3cec6c338d0d83806fb33d63cfd44 |
27-Feb-2016 |
Ruben Brunk <rubenbrunk@google.com> |
DO NOT SUBMIT: Hide VR features for preview. Bug: 26945446 Change-Id: I37e2f9f6ffc65be60bcbef4bdf87da89561ef313
ackageManager.java
|
921dd754ab49df0cd580ff96503f7616c4c85f4a |
24-Feb-2016 |
Alex Klyubin <klyubin@google.com> |
Disallow downgrading of non-debuggable packages. An attacker could downgrade a package to an older version with known security vulnerabilities and then use some of the vulnerabilities to access the application's data. This would constitute a bypass of Android Application Sandbox. Thus, downgrading while keeping application data is no longer permitted. To help developers debug their apps, packages marked as debuggable can still be downgraded while keeping their data. This does not put the installed base at risk because, as a security measure, most application stores reject packages marked as debuggable. To downgrade a non-debuggable (i.e., release) package, uninstall the package (thus wiping its data), then install the older version of the package. Bug: 27327503 Change-Id: Iac75ed3c3831b5d925dfd8b660527cfa95813da8
ackageManager.java
|
1ddda4793c26fd249590fd3549cf060ecb7c157b |
12-Feb-2016 |
Lenka Trochtova <ltrochtova@google.com> |
Prevent ephemeral user from being re-entered after stop. Once the ephemeral user stops, the user's deletion is scheduled. It takes a while before the user actually disappears and it is not desirable for the user to be re-entered in the meantime. Mark the user as disabled on stop and check this flag in the activity manager to prevent the user from being switched to again. Also hide the user from user-switching UI. BUG: 26795729 BUG: 26780152 Change-Id: I83a61674958954b5a210114b88ffa5ae55922c1f
serInfo.java
|
791a7df8b2d4cef843b109aa98a0a9e2ff429462 |
23-Feb-2016 |
Jesse Hall <jessehall@google.com> |
Merge "PackageManager: add Vulkan system features" into nyc-dev
|
5cd52bee32250e14f5eca14d9e82535a0f2f4f87 |
23-Feb-2016 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Expose removed permissions flag as system API" into nyc-dev
|
2a1376d9dfb362a18ba110d8e172f96021f1d879 |
23-Feb-2016 |
Svet Ganov <svetoslavganov@google.com> |
Expose removed permissions flag as system API 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: I10f442dfc09a299ddc5480d8bf2db0bd786aec62
ermissionInfo.java
|
f77a34fa17d64fad80f423aa8a86e781a7441b9e |
05-Feb-2016 |
Jesse Hall <jessehall@google.com> |
PackageManager: add Vulkan system features FEATURE_VULKAN_HARDWARE_FEATURES describes the feature set supported by the device hardware and driver. FEATURE_VULKAN_HARDWARE_VERSION describes the Vulkan API version supported by the driver, which may be lower than the API version supported by a particular Android release. Bug: 26583896 Change-Id: Ia3e6be496abf631cb677eb838d632d3c7b4dd24b
ackageManager.java
|
0f3431b616e03fe76cb52cabad209f95e1d7899c |
19-Feb-2016 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Improve requestPermissions API docs and throw correct exception." into nyc-dev
|
f66381cd0df0aad41b7e4db9994483e44e0aaada |
19-Feb-2016 |
Svet Ganov <svetoslavganov@google.com> |
Improve requestPermissions API docs and throw correct exception. bug:26220898 Change-Id: Iebda3fe13b963b10829de917fb00a9a14186b72c
ackageManager.java
|
5eb148bab6ea49c4c646649692ae6769b9c4e54c |
19-Feb-2016 |
Yohei Yukawa <yukawa@google.com> |
Merge "Stop granting default Contacts permission to IMEs." into nyc-dev
|
726c45970e35e3fff3eeb4d86c3b772db73adcc7 |
18-Feb-2016 |
Yohei Yukawa <yukawa@google.com> |
Stop granting default Contacts permission to IMEs. This partially reverts the previous commit [1], which allowed special components to be granted some pre-configured default permissions. With this CL, we no longer grant Contacts permissions to pre-installed IMEs. Rationals are: 1. Even without this CL, not the all pre-installed IMEs are granted Contacts permission by default, because it was done during the boot time where InputMethodManagerService is not yet completely initialized. The current behavior is confusing not only for users but also for developers. 2. In almost all the cases, IMEs are supposed to be able to work without Contacts permission. Hence it is not too late to ask users to grant the permission to the IME after the initial setup is completed. 3. It is difficult to add new features such as File-Based Encryption (FBE) with keeping the current implementation, because currently we dynamically call mSettings.setCurrentUserId(userId) just to enumerate what IMEs will be enabled for a given user. Adding another condition (whether the user has already unlocked the device or not) would make things more complicated. Note that LatinIME has already support the case where Contacts permission is not granted by default. It does not ask users for anything until Setup-Wizard is completed, and requests Contacts permission only when the user taps a message in the suggestion strip that suggests users to use contacts name for typing suggestions. [1] If8b8cadbd1980ffe7a6fc15bbb5f54a425f6e8f9 adc1cf46045ae756d3a9ccbccf6b0f894e4c1edd Bug: 24756974 Bug: 26743676 Change-Id: Ief2a40b5971b3eb97d765f934d20ce7f2ef25665
ackageManagerInternal.java
|
43fbc5f898a488dcfa9ecf3030f05f27ce5428f9 |
18-Feb-2016 |
Christopher Tate <ctate@google.com> |
Add android:backupInForeground An app can now declare that it really needs to be backed up whenever possible even if it is currently engaged in foreground- equivalent work. Only applies to full-data backup clients: key/value backups are not intrusive on normal lifecycle so they can already happen in such circumstances. Bug 26790411 Change-Id: Ia0ebcc7a53da888ae9ae4d63cd4bcab6e3a2e866
pplicationInfo.java
ackageParser.java
|
fc482c30b7a3c2cf7bc14d5c86de758a16f6433d |
17-Feb-2016 |
Makoto Onuki <omakoto@google.com> |
Merge "[framework] Don't allow apps on external storage to be active admin" into nyc-dev
|
f34db0a17ee035c165a4e81e9192f73d2455bd1c |
17-Feb-2016 |
Makoto Onuki <omakoto@google.com> |
[framework] Don't allow apps on external storage to be active admin Bug 27149287 Change-Id: I6d959d2e66dc0b19f78e6135fbdcf45ca8551958
PackageManager.aidl
ackageManager.java
|
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
PackageManager.aidl
ackageManager.java
|
5ae4e73ef0747c2d08a901f1a76d8fb8ee64a53a |
17-Feb-2016 |
Andrei Stingaceanu <stg@google.com> |
Merge "Suspend packages - new API for retrieving the suspended status" into nyc-dev
|
b305e16051192540e2e19863d4c3c0fb3e980db2 |
16-Feb-2016 |
Wale Ogunwale <ogunwale@google.com> |
Merge "Force resize pre-N apps that don't have fixed orientation." into nyc-dev
|
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
PackageManager.aidl
ackageManager.java
|
508ff55e8cc6580aa303c19ad0388e08b1f8851e |
16-Feb-2016 |
Wale Ogunwale <ogunwale@google.com> |
Force resize pre-N apps that don't have fixed orientation. We were previously only doing it for SCREEN_ORIENTATION_UNSPECIFIED, but there are other orientation settings that aren't fixed that we need to handle. Change-Id: If21fcd8312b6267407d94b6646158ac6eae44b44
ctivityInfo.java
ackageParser.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
eatureInfo.java
PackageManager.aidl
ackageManager.java
ackageParser.java
|
567704bca22c08a6fbfdaa15d054e0e3124b38e8 |
11-Feb-2016 |
Wale Ogunwale <ogunwale@google.com> |
Merge "Force pre-N apps to be resizeable." into nyc-dev
|
d829d36f09d0ec9af3606a401f7773397fe0bbc5 |
11-Feb-2016 |
Wale Ogunwale <ogunwale@google.com> |
Force pre-N apps to be resizeable. We feel this experience is better than the 2-finger gesture. Added ActivityInfo.RESIZE_MODE_FORCE_RESIZEABLE resizeMode to indicate we are force resizing an app. Bug: 27132829 Bug: 26847884 Change-Id: I65db2de0d9f3f171cc3bb136cc1282b3ef3549b0
ctivityInfo.java
ackageParser.java
|
8212ae0aee1700b9c287ebadf15af8dacdc8eae6 |
10-Feb-2016 |
Jeff Sharkey <jsharkey@android.com> |
Consistent naming for internal storage APIs. Also completely remove a few confusingly named deprecated APIs. Change-Id: Ia7e4ea3190a97f0a7dfa9bebf2118da0866ec38f
pplicationInfo.java
|
e0feadcaac89739a4ae66055f75ee048d004b66f |
10-Feb-2016 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Add an API to query the package name of the services shared lib" into nyc-dev
|
d7b1f41109abee60ec8529369a85d84300b1d678 |
10-Feb-2016 |
Svet Ganov <svetoslavganov@google.com> |
Add an API to query the package name of the services shared lib The servcies shared lib contains components apps can invoke such as services to bind to, activities to start, UI choosers, etc. This lib is built from AOSP code but an OEM may chage its package name. For example, Google renames the package names for GMS apps from android.foo.bar to com.google.android.foo.bar. While we have more than one shared lib that are a part of the platform (currently shared and services libs) the serivces lib is the only one clients need to start components in, thus need to know its package name. This change adds an API to query the package name of the services shared lib. The API is hidden as currently the only clients are a part of the system. Change-Id: Ied48fa4819024522791764b22b3336d4f4b42cc3
PackageManager.aidl
ackageManager.java
|
75827b2fb626d23ed4a716dd1d9b35d6e215b7ce |
09-Feb-2016 |
Selim Gurun <sgurun@google.com> |
Fix build break Bug: 26874366 Change-Id: Ic7634cb9d823d4f74d2893f4c46a77a5af02a0a1
ackageParser.java
|
2d291d89f957495917071282ac0afce9b65c5e26 |
06-Feb-2016 |
Selim Gurun <sgurun@google.com> |
Introduce a use32bitAbi flag Bug: 26874366 On Multiarch apps, it might be necessary to prioritize 32bit Abi ahead of 64bit ones. The use32bitAbi flag enables this. This CL also reverts the public api changes in I2c1fd1d036efe72b28b5fe996416df69a583959f and Ie3ecea6d84e2cb1522e736a21c3a3a24ac62eb27. Previously the same functionality was provided using a raw abi string that utilized cpuabioverride flag. Change-Id: Idce3cbfedd11ef9079ce8a2901e69d30b1cf9ef4
ackageParser.java
|
354cd3ce2213a1032d9138ea6fa1420f055ab08c |
17-Dec-2015 |
Svet Ganov <svetoslavganov@google.com> |
Multi packages per APK This change introduces the ability to have multiple packages per APK. The feature is currently restricted to privileged apps and updates to such apps. In essence the manifest can have multiple child package declarations. A child package can declare everything an Android package can except some tags or attributes that are not applicable and instead inherited from the parent when needed. For example, the target SDK of the parent applies to all children. A child package can be updated only through the parent package. A package with multiple child packages is installed, uninstalled atomically - no partial installs where some child packages are not installed. The remaining work is to ensure broadcasts are also sent for child packages. This will come in a subsequent change. Sample app:ag/848432 Design doc: https://docs.google.com/document/d/18nFWtJuZchLxrHf5SBbJW03-Ky9Rh_G0-OVB14b6u78 Change-Id: I6fd021d981bf5786290e0c53502724a14c97358c
pplicationInfo.java
ackageManager.java
ackageParser.java
|
e4697136ed8d3e2486738b5798b22f2226b7de75 |
07-Feb-2016 |
Jeff Sharkey <jsharkey@android.com> |
Migrate default app data on non-FBE devices. When a system app requests "forceDeviceEncrypted" they expect their default app storage to point at a consistent location regardless of device FBE support. So when booting upgraded non-FBE devices, we may need to migrate any data from CE to DE. Note that on non-FBE devices these are just semantic locations with identical protection. This migration *only* works for non-FBE devices; changing forceDeviceEncrypted flags on an FBE device always requires a full data wipe. Bug: 26668510 Change-Id: Ic5dfeaaf2db26c385901a638ca8ec35eb3c52859
pplicationInfo.java
ackageManager.java
|
278fb3b35920cd7d5ba4ce3a4c24776e89007bbd |
04-Feb-2016 |
Mikhail Naganov <mnaganov@google.com> |
Make flags related for "external services" public ServiceInfo.FLAG_EXTERNAL_SERVICE is set when the service is exported with the new public manifest attribute "android:externalService" Context.BIND_EXTERNAL_SERVICE is used by clients when they are binding such service. Bug: 22084679 Bug: 21643067 Change-Id: Ifd708f90b47a1571cd54c5ec9fc217f0567d5ff4
erviceInfo.java
|
fe54b11803e7940d23b6c540b2e6db738299702c |
02-Feb-2016 |
Andreas Gampe <agampe@google.com> |
Merge "Frameworks/base: Add A/B OTA preopting"
|
f70fb29c8320901d51d997e577c15df2af0e4eef |
02-Feb-2016 |
Wale Ogunwale <ogunwale@google.com> |
Merge "Allow apps that target less than N SDK to be resizeable."
|
0829fd4b269aafd0d64a93f00870c124bee877eb |
02-Feb-2016 |
Selim Gurun <sgurun@google.com> |
Merge "Run 32-bit app in multiArch APK."
|
a89087542f774c585b6a6ec535fc294721710521 |
10-Nov-2015 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Add A/B OTA preopting Add an OTA Dexopt service. Refactor package manager service and package dex optimizer to reuse some code. Add knowledge about OTA flag to installer. Bug: 25612095 Change-Id: I7dd6bb468fea44b9d3acf0ac7d7404fb02d0f30a
OtaDexopt.aidl
|
c9a0237f5f49f2ffa52affb1bfd3e190b2267f22 |
13-Jan-2016 |
Tao Bai <michaelbai@google.com> |
Run 32-bit app in multiArch APK. Bug: 26874366 Change-Id: I2c1fd1d036efe72b28b5fe996416df69a583959f
ackageParser.java
|
163828db30f2e6d3617bf7693f16d4e8722ef1d4 |
01-Feb-2016 |
Wale Ogunwale <ogunwale@google.com> |
Allow apps that target less than N SDK to be resizeable. If an app says it is resizeable then make it resizeable regardless of the SDK it is targetting. Change-Id: I51a1c5417657c6b15ce035f8d5af202506f4120a
ackageParser.java
|
84867864932d7b8ed20e2c31f4568cb16bcc020e |
01-Feb-2016 |
David Brazdil <dbrazdil@google.com> |
Merge "Add 'package compile' shell command"
|
493411ace40a8b4a90be70576f361c5b7515f29d |
01-Feb-2016 |
David Brazdil <dbrazdil@google.com> |
Add 'package compile' shell command Bug: 26707406 Change-Id: I554969c9f3b3153179370d3d23a88fa7e8693885
PackageManager.aidl
|
33e0a5f7edc39d676bb7bd8a3e471d753f223953 |
01-Feb-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Merge "Add feature tag for high-performance VR devices."
|
6afdf91b179afd4e4ae9aa0e520961e57638d637 |
30-Jan-2016 |
Wale Ogunwale <ogunwale@google.com> |
Allow resizeableActivity to be specified at the application level Makes it easier for developers to set a state for all their activities vs. doing it individually. Bug: 26508215 Change-Id: I8d546487b6461a03f75cce7760522e7af9fc2740
pplicationInfo.java
ackageParser.java
|
b12e1099ce8602b474b0867b9b872012d2ecbcdb |
30-Jan-2016 |
Wale Ogunwale <ogunwale@google.com> |
Renamed manifest attributes initialWidth/Height to defaultWidth/Height Per feedback from API council. Bug: 26508215 Change-Id: Ib62d357f0e6309ad6f6305ba5ac376c5e3ab04e7
ctivityInfo.java
ackageParser.java
|
b1faf60b896afe235175354ffd90290ff93a54b4 |
27-Jan-2016 |
Wale Ogunwale <ogunwale@google.com> |
Use resizeMode integer instead of resizeable boolean. Changes activity manager and window manager to use resizeMode as defined by ActivityInfo#resizeMode instead of a boolean. Bug: 26774816 Change-Id: I8cef46d9fba6bfdd21df7da63ed5d5330ad03d4b
ctivityInfo.java
|
c26d59f6abc875ff3a1bba1b5cc3fd9f73dd3dfd |
28-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Fix activity-alias encryption awareness bug. Since the activity-alias is backed by the same code as the original activity definition, they should both have an identical encryption awareness. This fixes a bug where we accidentally dropped that value. Bug: 26731340 Change-Id: I6ad615332df7d16542893a49e6997c88fc24334b
ackageParser.java
|
7b9f2e1d86e5017dbf5530356ec30d090f703a67 |
28-Jan-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Merge "Added SystemApi for getting serial numbers of users"
|
940e8577a1569140521fb605336997863529f7ad |
26-Jan-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Added SystemApi for getting serial numbers of users Also added UserHandle version of queryBroadcastReceiversAsUser. Bug: 25844894 Change-Id: I78ecbef186e4ced10425ae2899db72c2d91c5792
ackageManager.java
|
ec498e8ebedbfbb614808ca1cd4455886fa80af1 |
28-Jan-2016 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Report FBE through a feature string."
|
b92b05bb4bcaa6f7869128e925d0331eee62e4da |
28-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Report FBE through a feature string. Since devices can be converted to enable/disable FBE across a factory reset, we offer to add the features dynamically depending on device status. Bug: 26808417 Change-Id: I905140ba500a5e69756b547f2b1d6167b9a37dc6
ackageManager.java
|
d26176f36039e33b575c044aa119c57e82744847 |
26-Jan-2016 |
Wale Ogunwale <ogunwale@google.com> |
Support different multi-window compatibility modes - Change idea of activity resizablility from true or false to unresizeable, cropped_windows, resizeable, and resizeable_and_pipable - Default pre-N apps to cropped_windows mode and N or greater apps to unresizeable or resizeable depending on the value of resizeableActivity attribute. - Mark legacy apps that specify fix orientation or immersive only mode as unresizeable. - Change to hide docked stack when unsupported app is the focus app. Bug: 26774816 Change-Id: Ie473d36ca95f08e9332ab10fd2f0ec17ef50a02f
ctivityInfo.java
ackageParser.java
|
31d80ea1815d41b3b8fe2698732dfc310a0fc633 |
26-Jan-2016 |
Ruben Brunk <rubenbrunk@google.com> |
Add feature tag for high-performance VR devices. Bug: 26667978 Change-Id: I4adeaebdf4cb77eb8ba889bd25f678d873c493cd
ackageManager.java
|
8de29ca4f3ce2be808eb17cd8739bb533d968a37 |
22-Jan-2016 |
Kweku Adams <kwekua@google.com> |
Fixing typo in ApplicationInfo documentation. Change-Id: I6d1d2e5d8bdfefa5ac28e3be46cca78b3a4b09e7
pplicationInfo.java
|
f82ab8bea4c914c567a3487297fd4914561978a1 |
25-Jan-2016 |
Martijn Coenen <maco@google.com> |
Merge "Implementation of HCE for NFC-F." am: e168012ff2 am: cf2f9d0966 * commit 'cf2f9d0966af01eb269b9ce6f2d08870647dd22f': Implementation of HCE for NFC-F.
|
cf2f9d0966af01eb269b9ce6f2d08870647dd22f |
25-Jan-2016 |
Martijn Coenen <maco@google.com> |
Merge "Implementation of HCE for NFC-F." am: e168012ff2 * commit 'e168012ff21408f8be85040bb4ac977061519f62': Implementation of HCE for NFC-F.
|
c52adfe12469a1d1bcd5b7119b83363e094a7b84 |
22-Jan-2016 |
Yoshinobu Ito <Yoshinobu.Ito@jp.sony.com> |
Implementation of HCE for NFC-F. This impementation includes HCE(Host-based Card Emulation) for NFC-F which emulates NFC Forum Type 3 Tag on a smartphone. Signed-off-by: Daisuke Ito <DaisukeE.Ito@jp.sony.com> Yoshinobu Ito <Yoshinobu.Ito@jp.sony.com> Change-Id: I1618a7fba801e0705ff3cc078206a1446b3dd56d
ackageManager.java
|
e6ff946cd4f40a0d4f3de51b6554e07b8d3cee93 |
16-Jan-2016 |
Selim Cinek <cinek@google.com> |
Switched the work profile badge used in the notifications Change-Id: I62616f1ae8fcda9953853b9859c69a9f1e6f44ca
ackageManager.java
|
772427555f2624b38124ab8e586ac0ccc451eb53 |
15-Jan-2016 |
Kenny Guy <kennyguy@google.com> |
Update PackageMonitor and LauncherApps for suspended apps. Allow launchers to read ApplicationInfo from LauncherApps to support suspended flag. Provide callback to launchers via LauncherApps for suspend /unsuspend broadcasts. Change-Id: I772a121c45f60f926e8343bb6f181bef4e8929d3
LauncherApps.aidl
OnAppsChangedListener.aidl
auncherApps.java
|
a0e10434c49c6fe075e853da2046fd281318c4c4 |
20-Jan-2016 |
David Brazdil <dbrazdil@google.com> |
Extract APKs on install or OTA ART will unzip APKs in memory during launch if an OAT file is not present. To save the time and memory, this patch will invoke dex2oat with '--compiler-filter=verify-at-runtime' to unzip the APK during install or after an OTA. Change-Id: I16583f9450ad60356123a29f7a6a649b2ab9999f
PackageManager.aidl
|
12747879b0204b9dfee997eddc981d09289e8b77 |
07-Dec-2015 |
Amith Yamasani <yamasani@google.com> |
User creation with an intent New API for an app to request creating a new user with a given user name and seed account information for the SetupWizard to use when that user is switched into. Also adds system APIs to read the seed account data from UserManager. Bug: 22776757 Change-Id: I0bc3f11ee19c15e0ee2a908c88d98b13296cc30d
serInfo.java
|
e9fd1fa31ad6f62d1eb6f32cdcdab50349f246eb |
16-Sep-2015 |
Christopher Tate <ctate@google.com> |
Back up / restore runtime permission grants Only user-originated grant actions are backed up/restored. This includes outright grants, one-time denials, and "never ask again" type denials. Bug 19870549 Change-Id: I78b4a8abb713dc5d74b93cb53217b212d57b26e4
PackageManager.aidl
|
3da7357951a1981ecf40391e19ad8e53b45cb046 |
15-Jan-2016 |
Etan Cohen <etancohen@google.com> |
Merge "NAN: baseline NAN manager for discovery." into mm-wireless-dev am: e540b64aaf * commit 'e540b64aaf58460f7930a5e4937cee660215c948': NAN: baseline NAN manager for discovery.
|
224af9e3f831cd5cac0693ad2221b02ba12caed3 |
15-Jan-2016 |
Alex Klyubin <klyubin@google.com> |
Merge "Verify APKs using APK Signature Scheme v2."
|
20d329b08df7d1a94e6caee781f09e812a79c913 |
29-Sep-2015 |
Etan Cohen <etancohen@google.com> |
NAN: baseline NAN manager for discovery. Initial framework for user API (all @hide for now). Supports: - NAN configuration - Publish/Subscribe = Discovery - Message passing - Notifications Bug: 26216681 Change-Id: I72e467756a02f7b80c52fae916b9a47c8174af42
ackageManager.java
|
e415718502897a4e5385af47d3bbe8c8257c2e5d |
05-Jan-2016 |
Alex Klyubin <klyubin@google.com> |
Verify APKs using APK Signature Scheme v2. This makes Package Manager check whether an APK is signed using APK Signature Scheme v2 and, if it is, verify the APK's signatures using that scheme rather than the usual JAR signature scheme. APK Signature Scheme v2 is a whole-file signature scheme which aims to protect every single bit of the APK as opposed to the JAR signature scheme which protects only the names and uncompressed contents of ZIP entries. The two main goals of APK Signature Scheme v2 are: 1. Detect any unauthorized modifications to the APK. This is achieved by making the signature cover every byte of the APK being signed. 2. Enable much faster signature and integrity verification. This is achieved by requiring only a minimal amount of APK parsing before the signature is verified, thus completely bypassing ZIP entry decompression and by making integrity verification parallelizable by employing a hash tree. Bug: 25794543 Change-Id: If59fe013f2e62bac7677bb20e65f6061b91eec2e
ackageParser.java
|
81d867f5db7fc97d4a1b775c9089e43fea9f826b |
13-Jan-2016 |
Robert Sesek <rsesek@google.com> |
Merge "Add external services, a way to run isolated processes as a different package."
|
c3132513bf73022cb299c9041727233300c46a5c |
12-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Parsing a static archive should be stateless. When the caller hasn't specific encryption-related matching flags, we should match both aware and unaware components. Bug: 26508249 Change-Id: I2c35f6e00e451ba3f5fa0810223b7a3d80dee233
ackageManager.java
|
b9a8666eb5504f022343fef9087135b7d937ddf8 |
09-Dec-2015 |
Robert Sesek <rsesek@google.com> |
Add external services, a way to run isolated processes as a different package. This adds android:externalService boolean attribute to <service>. If that attribute is true, then bindService() may be called with BIND_EXTERNAL_SERVICE to create the new service process under the calling package's name and uid. The service will execute the code from the package in which it is declared, but will appear to run as the calling application. External services may only be used if android:exported="false" and android:isolatedProcess="true". Bug: 22084679 Bug: 21643067 Change-Id: I3c3a5f0ef58738316c5efeab9044e43e09220d01
ackageParser.java
erviceInfo.java
|
9229ee595988c66f1c59409a963fef88b2c30e03 |
12-Jan-2016 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Install non-EA providers once user is unlocked."
|
12705131b95d5d6bcfae79d7991ff3e6f02457e4 |
06-Jan-2016 |
Todd Kennedy <toddke@google.com> |
Hide ephemerality Change-Id: Ibf60366b3f00b1920e330cd804bcc1c550f8882a Bug: 26404647
ackageManager.java
|
bc215b8426a706c0813575f95d9bd076a060eda2 |
10-Jan-2016 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Fix NPE when UID has no packages."
|
377ded0fce449f77cd7efae35f97722cdab52693 |
10-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Fix NPE when UID has no packages. Bug: 25224723 Change-Id: I637214666a1f02bd23474c27a285eea9152cfa9d
ackageManager.java
|
2bd31dbd023a11d90061c7b6831dd06454c928af |
10-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Install non-EA providers once user is unlocked. When starting encryption-aware apps while the device is locked, we can only spin up ContentProviders that have been marked as encryption-aware. Once the user is unlocked, we need to go back and install non-encryption-aware providers in already running apps. Fix bugs in getPackageInfo() where only one of the various MATCH_ flags was being consulted (!). Move matching logic to single unified location in PackageUserState so we have consistent behavior. Fix another class of bugs where Safe Mode wasn't correctly filtering package details (!). These bugs are fixed by splicing in the new MATCH_SYSTEM_ONLY flag as part of state-based flag mutation that was added for encryption. Bug: 25944787 Change-Id: I39c8da74b1f9ba944cc817176983f50ba322329c
ackageParser.java
ackageUserState.java
|
5aa86938b8b50a20830bc3d608321fc4c0afb0e8 |
09-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Fix docs build by removing bad links. Also define InstallFlags and DeleteFlags, and point installPackage() users towards new PackageInstaller APIs. Remove old movePackage() API that is no longer used. Change-Id: I661a65149e4778a7591dbd912b72b4dd81b266da
ackageManager.java
|
2b60ca45a1e97bd62e84e5de6ebd353fef956a80 |
09-Jan-2016 |
Amith Yamasani <yamasani@google.com> |
Fix typo in javadoc Change-Id: I7a61f84f9d19d5ebc64c3a6e01eea42c3fac4fed
ackageManager.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
PackageManager.aidl
ackageManager.java
|
629f98466a4c2d778ddd4ce5a9df107e28f9b98a |
09-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Fix build. Change-Id: If128c90225a2237ea015063cec526a64af5bf576
ackageManager.java
|
c4fd3c9871e8a2b28ccc6bb51bf4a62b913dba0a |
09-Jan-2016 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Update javadoc for flags"
|
6b9bfa1d16f5b3c28b140ae579c031938f207c43 |
08-Jan-2016 |
Todd Kennedy <toddke@google.com> |
Update javadoc for flags Bug: 25997037 Change-Id: Ia44634b0271ad0195d857ef13afec2a1ef022fae
ackageManager.java
|
0ab0bdde2b39c77175d9e0d69d6631e130e4b5ac |
09-Jan-2016 |
Jeff Sharkey <jsharkey@google.com> |
Merge "More progress on triaging PackageManager callers."
|
c5967e9862489024c932b0c7fcb84ed0af2a7fd7 |
08-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
More progress on triaging PackageManager callers. Catch a bunch of simple cases where the PackageManager flags are obvious. Add the ability to use the MATCH_SYSTEM_ONLY flag on PackageInfo and ApplicationInfo queries. Re-examine recent tasks after a user is unlocked, since some of the activities may now be available and runnable. Bug: 26471205, 26253870 Change-Id: I989d9f8409070e5cae13202b47e2c7de85bf4a5b
ackageManager.java
ackageParser.java
|
02714165634c8a1d455cf25fb9c1b364fd63c864 |
08-Jan-2016 |
Todd Kennedy <toddke@google.com> |
Merge "Update PackageInstaller install handing" am: 47950e588c * commit '47950e588c59ff58d12b3429d285e3330b9dfe01': Update PackageInstaller install handing
|
bd9402289311c4f3afc3c319075d89cd8ed2fcc4 |
08-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Oh look, GmsCore is using more hidden APIs. Bug: 26429932 Change-Id: Ie949d4bbdead8864aaed16282a591258ef528ca8
ackageManager.java
|
819d2745b4e04eb684ab323742b718c66d19c2c1 |
30-Sep-2015 |
Todd Kennedy <toddke@google.com> |
Update PackageInstaller install handing * Allow forcing permission check. We want to modify the PackageInstaller to use the PackageInstallerSession for better security / remove deprecated APIs. In order to do this and continue to prompt for permissions, we need to prevent the PakcageInstaller from auto-approving the permissions. * Add originating UID to SessionParams. This is used for package verifier checks. Bug: 22282121 Change-Id: I19079749d20ace66f1332f399d52cb0fb8784cd9
ackageInstaller.java
ackageManager.java
|
ba75a9b6bab16114a8206015a4d2c7ce3bd70f2a |
07-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Instrumentation targets must have code. If they don't have code, give the developer a somewhat helpful error message instead of later falling into a weird classpath failure. Change-Id: Iebda10173ff99943cbbd71127ae24aa455b709f4
pplicationInfo.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
ackageManager.java
|
a73b8fd1f4faaad00d8a49d6e496aaf249fa7003 |
07-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Add some TestApis to fix build. Change-Id: Icf0d8d63f3a41d99e46ebe96003863bae637bd9d
pplicationInfo.java
ackageManager.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
ackageManager.java
|
2a90f673f5819e05ea72f6aba3e75956e0f807dc |
06-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Update logic for resolving verifiers. Verifiers or installers may not be encryption-aware, or the user may have disabled them, so we probe pretty deeply during system boot to resolve them. Use the new MATCH_SYSTEM_ONLY flag to limit results to packages on the system image. When there are multiple matches, pick the one with highest priority instead of crashing the system. Switch to updated MATCH_ constants in more places. Bug: 26250295 Change-Id: Ia7a3b1fb74da6c3b9d2c2edbf1deaa9fb52fc40a
esolveInfo.java
|
4efb8b4030157dd7445bed37538044949b0641af |
06-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Add Ethernet feature. Change-Id: I1f1badff5a8c9237d9489497e36e2578266e34b4
ackageManager.java
|
4f6d400b0fa4c94e0f785a7b15ffb30126e6759d |
05-Jan-2016 |
Alex Klyubin <klyubin@google.com> |
Merge "No need to pass digest of AndroidManifest.xml around."
|
6cae765b67d3a3b37e2cacbc9816665b5bc080b9 |
26-Dec-2015 |
Wale Ogunwale <ogunwale@google.com> |
Added support for android.R.attr#alwaysFocusable Allows an activity to always be focusable regardless of if it is in a stack whose activities are normally not focusable. For example, activities in pinned stack aren't focusable. This flag allows them to be focusable. Also, changed ActivityInfo.#{resizeable, supportsPip} to use flags. Bug: 26273032 Bug: 26034613 Change-Id: I8c63e6d3256757e2e6931e08b8a65269f5169d35
ctivityInfo.java
ackageParser.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
anifestDigest.java
ackageManager.java
ackageParser.java
erificationParams.java
|
2f3e35376ada0327b34a71d7c45ac6e6d955d7dc |
21-Dec-2015 |
Jeff Sharkey <jsharkey@android.com> |
More work towards triaging missing app behavior. Many places across the platform query package details without gracefully handling packages or components that go missing for various reasons. This can cause annoying user data loss, such as resetting back to built-in apps or dropping of accounts, etc. This change verifies that system callers have thought about these edge cases by logging if they use default matching behaviors without explicitly marking themselves as being "triaged." (The logging is currently disabled by default.) Also creates explicit definitions of supported flags for various incoming PackageManager calls, and defines a clear distinction between flag types: -- GET-style flags are used to request additional data that may have been elided to save wire space. -- MATCH-style flags are used to include components or packages that would have otherwise been omitted from a result set by current system state. There are a handful of existing GET flags that better fit under the MATCH definition, so this change clones them to new constants and marks the old ones as deprecated. Fixes bug in JobSchedulerService to consider jobs from apps on external storage. Revert some dialer behavior back to being untriaged. Change-Id: I9b6ab0968241e3479bddbd78de0c51e3b9917318
ackageManager.java
arceledListSlice.java
|
f59c02a65e9fd529467c4e5083d94ed6453e70f7 |
24-Dec-2015 |
Narayan Kamath <narayan@google.com> |
Merge changes from topic \'aosp-merge-24-12\' am: e0e81bf407 * commit 'e0e81bf407508ec096c752948f8794af5fd480ca': Special case system_server to not create the JIT code cache. Don't use IntegralToString Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362. Track API changes to java.lang.ref.Reference. Remove merge markers from preloaded-classes Move StrictJarFile from libcore to framework Switch RecoverySystem impl to use sun.security.pkcs API update for OpenJdk based libcore Use libcore/known_oj_tags for the javadoc stage. Stop preloading fortress classes Use HexDump instead of java.lang.IntegralToString Add core-oj to the list of core library jars.
|
6a8ad6d161d6846311267f5e4aa933b8490bc821 |
03-Nov-2015 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Move StrictJarFile from libcore to framework Bug: 25337946 (cherry picked from commit 8a7c1606d88873c5a1b5764c16cb046b6f2275b2) Change-Id: I1bfce4129887d7cbfc02d92641b44920d7cdbbee
ackageParser.java
|
e69a31d75081676260f05b3dd1b549849f775767 |
15-Oct-2015 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Use HexDump instead of java.lang.IntegralToString java.lang.IntegralToString is being removed, replaced all its usage by com.android.internal.util.HexDump. (cherry picked from commit 3f72604be806c0173b5dca0225cadf6e7c872147) Change-Id: I0527d580f5975dca0dfaa6f86fa3695dd49d0849
anifestDigest.java
|
5217cacbd9f382068bb9e176cd5a0b15388a335c |
20-Dec-2015 |
Jeff Sharkey <jsharkey@android.com> |
Make JobSchedulerService encryption aware. When a user is started, but a persisted job component doesn't appear in the normal resolution list, we avoid enqueuing the job. Later when the user is unlocked, we take another pass over the pending jobs to see if they became available. Load keyboard layouts from XML metadata regardless of crypto status, since we don't need to spin up any remote code. Add MATCH_SYSTEM_ONLY to make system logic easier to write when looking for trusted components. Sprinkle more annotations on ArrayUtils methods. Bug: 26279465 Change-Id: Iec28e0bb46862b07d740b12a79f6360de68dab0f
omponentInfo.java
ackageManager.java
|
2a9e3f8e6813716ab88ca54fd04ae047dc9aaaeb |
18-Dec-2015 |
Jeff Sharkey <jsharkey@android.com> |
Better named encryption flags, start triaging. Create distinct flags for encryption aware, unaware, and both, and name them like the other MATCH_ flags. Start adding logic to help triage all system internal callers to verify that they've done their homework and thought about how to handle apps while locked. Call sites in the system should either ask for explicit matching behavior, or explicitly use the DEFAULT match flag to indicate that they've been triaged to use the default state-based matching. Bug: 26250295 Change-Id: I86214e5c4f71a6dc72f06930800388713aecd107
ackageManager.java
egisteredServicesCache.java
|
55bed957788e853d3ee3f674dd6eea79ad3a193b |
18-Dec-2015 |
Ruben Brunk <rubenbrunk@google.com> |
Merge "Add a framework service tracking VR mode state."
|
36a832dd128c18628783cc629b89b2ae399db4f8 |
17-Dec-2015 |
Todd Kennedy <toddke@google.com> |
Merge "revert quick install"
|
373f0b4313d3a2444aebf6b89a71c4ba64566110 |
16-Dec-2015 |
Todd Kennedy <toddke@google.com> |
revert quick install bug: 25118622 Change-Id: I61c3a1ea9015599dc45bd9e656f99f6bf8c4ec02
ackageInstaller.java
ackageManager.java
ackageParser.java
|
dd18a0b69537954d1cc34929a1386deb54f12b14 |
05-Dec-2015 |
Ruben Brunk <rubenbrunk@google.com> |
Add a framework service tracking VR mode state. - Implement a "VR mode" that may be enabled by a focused Activity. - Add a system service that tracks the current VR mode state and notifies other core framework services of mode changes. - Extend NotificationListenerService to allow the bind/unbind lifecycle of specified listeners to be triggered by system events. Bug: 22855417 Bug: 25479708 Change-Id: I1ac8692bbb5521bb6c7cfb9d2b56b98b720f8568
ctivityInfo.java
ackageManager.java
|
6142f90b9f99c33c4f75c2057fb1db3bc77425cf |
17-Dec-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Merge "Introduced PRIVATE_FLAG_REQUIRED_FOR_SYSTEM_USER"
|
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
pplicationInfo.java
PackageManager.aidl
ackageManager.java
ackageParser.java
ackageUserState.java
|
fbe12c4e0ff33f385704edd34aabe6eaa75fedbe |
07-Dec-2015 |
Wale Ogunwale <ogunwale@google.com> |
Added PackageManager#FEATURE_PICTURE_IN_PICTURE Indicating that a device supports picture-in-picture multi-window mode. Also allow activities to be in Pip mode if force resizeable is enabled. Bug: 25580820 Bug: 26187878 Change-Id: If80edfee39ece5a51d21040e4d3a8a9135aa1783
ackageManager.java
|
bdbc9692c7cb365d9d3f239baa2377724a6f7bc8 |
14-Dec-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Introduced PRIVATE_FLAG_REQUIRED_FOR_SYSTEM_USER When set, signals that the application is required for the system user and should not be uninstalled. Bug: 25616324 Change-Id: Idbbd1618e09c40bdb83fa26c0a3d9662dd73bea4
pplicationInfo.java
ppsQueryHelper.java
PackageManager.aidl
|
4f7b035e34c64d25d4aa9ebc567547f2c2758869 |
15-Dec-2015 |
Todd Kennedy <toddke@google.com> |
Merge "Fix ephemeral post-install launching"
|
7440f177c3e70da0b883f8abffd6c8fc1d507bb8 |
09-Dec-2015 |
Todd Kennedy <toddke@google.com> |
Fix ephemeral post-install launching Provide the ephemeral installer with some additional pieces of information: 1) instead of de-referencing the URL a second time, give the installer the exact package name 2) instead of relying on ephemeral apps to define verified links, give the installer a pending intent to launch when the ephemeral is installed 3) give the installer a pending intent to launch if the installer fails, for whatever reason, to install the ephemeral app Bug: 25119046 Change-Id: I45f50481caee09d5d09451e4b2492e64b0faae82
phemeralResolveInfo.java
esolveInfo.java
|
f99104dadddb8d7587aaa607821d284e214eb997 |
14-Dec-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Assigned a unique value for PRIVATE_FLAG_EPHEMERAL Previously the value was conflicting with a private flag PARTIALLY_ENCRYPTION_AWARE, which has been added before. Change-Id: I661d8b5f59a39b18288eae47b7522f87b120c57b
pplicationInfo.java
|
e6748ce31f18782b7a47a5b2eb251efd83e7b609 |
12-Dec-2015 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Use Arrays.toString Fix a couple of cases where Arrays.toString should be used. Bug: 19797138 Change-Id: I905fc79e63face9b26975320a92086c732bf6316
pplicationInfo.java
|
6714030083b1d8ec5b2df6dfef08034d0d30c2fe |
10-Dec-2015 |
Jack Yu <jackyu@google.com> |
merge from master Change-Id: Ic03669db3f4595336a7dbc13ffc77d055d11acf9
serInfo.java
|
6ac42aeed905181b484f97a53db57a17134ef7a8 |
09-Dec-2015 |
Dianne Hackborn <hackbod@google.com> |
Add a mechanism for broadcasts to control background dispatching. Right now this is just for the BOOT_COMPLETED broadcast to allow all apps to receive it. Also clean up the dumpsys of the broadcast queue to not have every little detail of ResolveInfo+ActivityInfo+ApplicationInfo, which is just not useful and makes reading the broadcast queue debug output a lot harder because of so much noise there is. And rename the package shell query-intent-* commands to a shorter query-* form. Change-Id: I0d01565babb87e68b840c9756a2ea730d699efc7
ctivityInfo.java
pplicationInfo.java
omponentInfo.java
ackageItemInfo.java
roviderInfo.java
esolveInfo.java
erviceInfo.java
|
103d61b9f79de4d7b907227a7925e809e3e183c2 |
08-Dec-2015 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Shift around encryption public APIs."
|
7a30a30ebece75f4a73fa604d4c7721d28eecc16 |
08-Dec-2015 |
Jeff Sharkey <jsharkey@android.com> |
Shift around encryption public APIs. There are far too many Context APIs with special directory paths to replicate device-encryption versions of them all. Instead, add methods to clone a Context that explicitly stores its data in either credential- or device-encrypted storage. Methods to test the behavior of a given Context. Bug: 22358539 Change-Id: I6a6290a9b282605ce9a1f82742fc2c4c50536754
pplicationInfo.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
pplicationInfo.aidl
pplicationInfo.java
phemeralApplicationInfo.aidl
phemeralApplicationInfo.java
PackageManager.aidl
ackageManager.java
ackageParser.java
|
c4dd021322d38ea32ac49930e904b6d08ce6490c |
18-Nov-2015 |
Lenka Trochtova <ltrochtova@google.com> |
Introduce ephemeral users. BUG: 24883058 Change-Id: I2e1d6aa184142c2a3dc0415c0cd407573453cf41
serInfo.java
|
cc586c5ab12cb713a499766875933947019b73fa |
07-Dec-2015 |
Rubin Xu <rubinxu@google.com> |
Merge "Introduce quiet mode state to managed profile users"
|
0a29ecd8a53b5ac63b628e870a344650ff34c4b0 |
04-Nov-2015 |
Rubin Xu <rubinxu@google.com> |
Introduce quiet mode state to managed profile users Quiet mode means the user will be free from visual and audio interruptions from apps inside the managed profile, including notifications, widgets and others. This CL adds the underlying state bit to users and exposes various APIs to control and query the quiet mode state. Bug: 22541941 Change-Id: If5f8e5a897843050e83b6ec26cb39561098f12b9
serInfo.java
|
c72b3101ee368d2a9943e4436ede679acfa38f92 |
07-Dec-2015 |
Todd Kennedy <toddke@google.com> |
Merge "Add ephemeral installs"
|
9d8a1048bb666c68402dce031bebfa07c92a42db |
04-Dec-2015 |
Jeff Sharkey <jsharkey@android.com> |
Handle non-encryption-aware accounts and sync. The system can now boot in a "locked" state where only encryption aware (EA) components can be safely started. When in this state, PackageManager already filters away non-EA components, but system services like AccountManager and SyncManager need to carefully handle these temporarily "missing" components. As a guiding principle, all known Accounts are still present when the device is locked, but communication with underlying non-EA authenticators is blocked. To keep things simple for now, all SyncManager requests are kept dormant until the user enters the unlocked state. The core of this logic is that RegisteredServicesCache now works with all components regardless of EA status, which prevents us from accidentally thinking a service was removed when the user is locked. Bug: 25945136 Change-Id: I8714121f6236b00821769023c4df7de1c8a99944
egisteredServicesCache.java
|
b3523c45dd764ba9926ee70a04cfee78b10e7ab4 |
04-Dec-2015 |
Tony Mak <tonymak@google.com> |
Merge "Introduce ONLY_IF_NO_MATCH_FOUND in CrossProfileIntentFilter"
|
2699f065558ba78066887210b0c7346105959860 |
20-Nov-2015 |
Todd Kennedy <toddke@google.com> |
Add ephemeral installs * Add a new --ephemeral argument to 'adb install' * Add plumbing to internally track ephemeralness * Create new app directory for ephemeral installs Bug: 25119046 Change-Id: I1d379f5ccd42e9444c9051eef2d025a37bd824fe
pplicationInfo.java
ackageManager.java
ackageParser.java
|
a6f0aa5785335654b5b81023655d0eeefa54dfc6 |
02-Dec-2015 |
Todd Kennedy <toddke@google.com> |
Merge "Fix SplitTests CTS test"
|
3398be854a6c4dbe7f6eeaf08aa940bf6c5bc6a1 |
02-Dec-2015 |
Todd Kennedy <toddke@google.com> |
Fix SplitTests CTS test A recent change tightened the check for whether or not an APK has code. The check verified against the application and not the individual split. Bug: 25769800 Change-Id: Ia53bd0e31ce3379bdd8bfe6d0c3da99b6d65fe31
ackageParser.java
|
9c165d76010d9f79f5cd71978742a335b6b8d1b4 |
02-Dec-2015 |
Svet Ganov <svetoslavganov@google.com> |
Add optional permission review for legacy apps - framework For some markets we have to allow the user to review permissions for legacy apps at runtime despite them not supporting the new permission model. This is achieved by showing a review UI before launching any app component. If an update is installed the user should see a permission review UI for the newly requested permissions. To allow distinguishing which permissions need a review we set a special flag in the permission flags that a review is required. This flag is set if a runtime permission is granted to a legacy app and the system does not launch any app components until this flag is cleared. Since install permissions are shared across all users the dangerous permissions for legacy apps in review mode are represented as always granted runtime permissions since the reivew requirement is on a per user basis. Whether the build supports permission review for legacy apps is determined by a build constant allowing us to compile away the unnecessary code for markets that do not require a permissions review. If an app launches an activity in another app that has some permissions needing review, we launch the permissions review UI and pass it a pending intent to launch the activity after the review is completed. If an app sends a broadcast to another app that has some permissions needing review, we do not deliver the broadcast and if the sending app is in the foreground plus the broadcast is explicit (has a component) we launch the review UI giving it a pending intent to send the broadcast after the review is completed. If an app starts a service in another app that has some permissions needing review, we do not start the service and if the calling app is in the foreground we launch the review UI and pass it a pending intent to start the service after the review is completed. If an app binds to a service in another app that has some permissions needing review, we schedule the binding but do not spin the target service's process and we launch the review UI and pass it a callback to invoke after the review is completed which spins the service process and completes the binding. If an app requests a content provider in another app that has some permissions needing review we do not return the provider and if the calling app is in the foreground we show the review UI. Change-Id: I550f5ff6cadc46a98a1d1a7b8415eca551203acf
ackageManager.java
ackageManagerInternal.java
|
807e01cb47c2d5442f76e27b70a7206f77ed76d8 |
01-Dec-2015 |
Tony Mak <tonymak@google.com> |
Introduce ONLY_IF_NO_MATCH_FOUND in CrossProfileIntentFilter With this flag, activities in other profiles can respond to the intent only if no intent-filter with non-negative priority in current profile can respond to it. It is designed like this because activities with negative priority intentfilter are always used as a fallback in case no one can respond to the intent. In this case, we expect there is a "real" activity in other profiles can handle the intentfilter Here is the example activity that handle the call related intents when there is no dialer. NonPhoneActivity.java in Contacts app is an example. https://github.com/android/platform_packages_apps_contacts/blob/master/AndroidManifest.xml#L461 Bug: 25760508 Change-Id: Ife2a7c19e91ddf5d2e81ad09bd4cf712cdcdb986
ackageManager.java
|
ef3dc06bfb25c21eb9161358e19de182de0eb812 |
01-Dec-2015 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Merge "Move StrictJarFile from libcore to framework"
|
8924e8759f9a8cffb5ad538ca40a7826793aac07 |
30-Nov-2015 |
Jeff Sharkey <jsharkey@android.com> |
Wire up lifecycle, send unlocked broadcast. When the correct lock pattern is presented, ask the system to also unlock credential-encrypted storage, if enabled. The token passed along is empty for now, but can be wired up to gatekeeper in the future. During each system boot, ask vold to lock all users keys to give us a known starting state. This also has the effect of chmod'ing away any CE data when in emulation mode. Define and send a new foreground broadcast when the CE storage is unlocked for the first time. Add stronger last-ditch checking for encryption-awareness before starting an app. Bug: 22358539 Change-Id: Id1f1bece96a2b4e6f061214d565d51c7396ab521
pplicationInfo.java
PackageManager.aidl
ackageParser.java
|
8a7c1606d88873c5a1b5764c16cb046b6f2275b2 |
03-Nov-2015 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Move StrictJarFile from libcore to framework Bug: 25337946 Change-Id: Ib4fac6fa9f534b8654e5ca158bbaedb2393772ba (cherrypicked from 43ea2cc2a81926a6b2ca13d41f4eab089640129e)
ackageParser.java
|
6cbc2fec91c8eae62b0ed578523af4f9765f9c17 |
24-Nov-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Using ParceledListSlice to get the list of activities in LauncherApps Bug: 25430879 Change-Id: I3a93bb1abcbcc54bc467e57c51f592b5946850cf
LauncherApps.aidl
auncherApps.java
|
9549544ab91e6b8edd7111057867b4feca5bd362 |
24-Nov-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Fetching firstInstallTime on demand"
|
0736e201257177f516b41ce215d71911975039e6 |
24-Nov-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Fetching firstInstallTime on demand Change-Id: I96442aaf119553ffb0ea94ff06713752e4490e0b
auncherActivityInfo.java
auncherApps.java
|
936fdcd897b0f4a1f276e1458a33c47745f35823 |
24-Nov-2015 |
Alan Viverette <alanv@google.com> |
Merge "Allow activities to handle density configuration changes"
|
811dc3b42b4d3c967a2304bf1e01840147b1a528 |
23-Nov-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Allow preloading of freefore multi window drawables. Bug: 25081468 Change-Id: Ic6ec6050882e5362e1ab8734962d163fff04b53d
ackageManager.java
|
09b108e2bb6b585947249eda92c047d0b582e8a0 |
21-Nov-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Merge "Added keep-uninstalled-packages DO policy"
|
cb6fd80721253ffa9dcab5cf8c2f4e9b9cd17ccc |
05-Nov-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Added keep-uninstalled-packages DO policy This policy allows DO to specify a list of apps to cache even without being installed on any user. Bug: 23938464 Change-Id: I2eeab7f148409739fc23a5c44e955ad12b63fd04
ackageManagerInternal.java
|
28c4a0bb4cd2139586e7dd270ee76a64386c54e2 |
20-Nov-2015 |
Alan Viverette <alanv@google.com> |
Allow activities to handle density configuration changes Some activities, like the density preference dialog in Settings, may need to implement custom handling of display density changes. This corresponds to the bit specified in ActivityInfo.CONFIG_NATIVE_BITS. Change-Id: Idd4b9ec11a217b1f9af847d7ed8a6f3639e1f8ee
ctivityInfo.java
|
3f72604be806c0173b5dca0225cadf6e7c872147 |
15-Oct-2015 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Use HexDump instead of java.lang.IntegralToString java.lang.IntegralToString is being removed, replaced all its usage by com.android.internal.util.HexDump. Bug: 24932279 (cherry-picked from 15fc0548a536750110e159e06a39ba943eccdd81) Change-Id: Id6ab88337af12d93cd73c41775b9d5baa1e61d96
anifestDigest.java
|
ba51235ef5c598d845b77fcf14491329493da34f |
13-Nov-2015 |
Jeff Sharkey <jsharkey@android.com> |
More file-based encryption work. Add new "am unlock-user" command so we can trigger changes from the command line. Move FBE check to static method so it can safely be called early during boot before the mount service is ready. Move FBE emulation to persisted system property, and start reading/writing that value. Change default permission grants to ignore current encryption-aware flags, since many of the target apps aren't crypto aware. Always prepare package data directories, which is how we create the new "user_de" paths during boot. Bug: 22358539 Change-Id: I6f58ea2d34b3a466d3775d614f8a13de92272621
pplicationInfo.java
ackageManager.java
|
9edb7bf4c6f9c59d0c469798d5936019e8199043 |
17-Nov-2015 |
Jeff Vander Stoep <jeffv@google.com> |
fix ApplicationInfo flag collision Give PRIVATE_FLAG_AUTOPLAY unique value Bug: 25726468 Change-Id: I1dabe26eb4c72004ebd7e33252240e10c15c9159
pplicationInfo.java
|
25bfb2b3d82797b78f5f6b5a715dbe5d192a0949 |
16-Nov-2015 |
Jeffrey Vander Stoep <jeffv@google.com> |
Merge "pm: selinux support for AutoPlay apps"
|
1682dad7ed303fc43a07e70d0bb5cb42103a7624 |
12-Nov-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Moved system user apps whitelisting to PM Previously applications where uninstalled for the system user at a later stage in a boot process, when PM has already been initialized and registered as a service. This was causing a flood of PACKAGE_REMOVED broadcasts. Applications are now uninstalled at an earlier stage, when PM hasn't been registered. Packages can simply be marked as not installed and broadcast can be skipped. Bug: 25626819 Change-Id: Ib64e7c45619809b0efb99cc566a9a2120ed48cd3
ppsQueryHelper.java
|
a4407bfceef1bdb7eb4d83990722a61082d926c9 |
30-Oct-2015 |
Jeff Vander Stoep <jeffv@google.com> |
pm: selinux support for AutoPlay apps Add AutoPlay flag to ApplicationInfo. Append autoplay flag to seinfo string - passed to libselinux for domain labeling decision. Change-Id: Ieb45ba328140888c0b679bf344df154658f9fbae
pplicationInfo.java
|
f9fc6d6cc05595241bc7ced6d4cab97b45f9b901 |
09-Nov-2015 |
Jeff Sharkey <jsharkey@android.com> |
More file-based encryption work. Add granular StorageManager APIs for key creation/destruction and unlocking/locking. Start passing through an opaque token as part of the unlock command, but leave it empty for now. We now have a separate "prepare" method that sanity checks that user directories are correctly setup. Define a handful of system properties used for marking devices that should be operating in FBE mode, and if they're emulating FBE. Wire a command to "sm", but persisting will come later. Start using new "encryptionAware" flag on apps previously marked with coreApp flag, which were apps running in the legacy CryptKeeper model. Small tweaks to handle non-encryptionAware voice interaction services. Switch PackageManager to consult StorageManager about the unlocked state of a user. Bug: 22358539 Change-Id: Ic2865f9b81c10ea39369c441422f7427a3c3c3d6
pplicationInfo.java
ackageParser.java
|
183501e1aaee9584f8f0c6ea2d983e3fc17429d1 |
11-Nov-2015 |
Nicolas Geoffray <ngeoffray@google.com> |
Merge "Remove performBootDexOpt and am's ensurePackageDexOpt."
|
27c073796978106746e4a51f2100b29068ab37f6 |
05-Nov-2015 |
Nicolas Geoffray <ngeoffray@google.com> |
Remove performBootDexOpt and am's ensurePackageDexOpt. Except common shared libraries and boot image, all compilations are now done through BackgroundDexOptService. Change-Id: Ib736e253c38b0c8085bc94e45f4e61a048f66e26
PackageManager.aidl
|
e17ac1569793c333bb4dce86607a342e7c982ae7 |
07-Nov-2015 |
Jeff Sharkey <jsharkey@android.com> |
More APIs for encryption-aware apps. Apps can mark manifest components as being encryption-aware, which means they can safely be run before the credential encrypted storage is available. Start adding filtering logic so that we only return these components when a user is running "with amnesia." That is to say, only device encrypted storage is available, so the user is running but with only partial knowledge of its data. To avoid calling into ActivityManager with the PackageManager lock held, we quickly determine user state and splice the state into the flags for later per-component evaluation. Bug: 22358539 Change-Id: Idc56ec29f1ef04da8963e004314d7f5e47400997
pplicationInfo.java
omponentInfo.java
ackageManager.java
ackageParser.java
|
15447798a38d2b5acb1998731340255f4203f294 |
06-Nov-2015 |
Jeff Sharkey <jsharkey@android.com> |
Initial file-based encryption public APIs. Define two explicit directories where device-encrypted and credential-encrypted data will be stored. Third-party apps only need access to the device-encrypted directory, so that's the only API exposed for now. General cleanup in how ApplicationInfo details are derived. Bug: 22358539 Change-Id: If0a0108721a4aa1c3052b4912e08604bbf24e1ae
pplicationInfo.java
nstrumentationInfo.java
ackageParser.java
|
f2acc54aad23762c9b2458bae90679147fbe3f44 |
06-Nov-2015 |
Svet Ganov <svetoslavganov@google.com> |
Fix some docs Change-Id: Ie28788330249a1f96b7b168a05546d3d0862a9cf
ctivityInfo.java
|
6a230aa10bfc5bed78592fc1f9d5c8849f1d58e6 |
02-Nov-2015 |
Glenn Kasten <gkasten@google.com> |
Merge "CDD for pro audio feature does not specify acoustics"
|
7587edccd04a5e76ca712fc34fbab0fb562ac86e |
31-Oct-2015 |
Glenn Kasten <gkasten@google.com> |
CDD for pro audio feature does not specify acoustics Change-Id: If24a2ee485a35ad18969abacf55798b64ff939af
ackageManager.java
|
df5f870d989bd1f3c94466adace1e3879d77178e |
30-Oct-2015 |
Jeff Sharkey <jsharkey@android.com> |
resolve merge conflicts of 07c6628d68 to master. Change-Id: I29c9b408956c578ce1cfe0eb5d8704b7a5d2f818
|
07c6628d68da39582d8d682bc9c849be8bfaaa10 |
30-Oct-2015 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Handle "uninstalled" apps when pruning app-ops." into mnc-dr-dev am: a975732a83 am: 637d05eb5c am: d359137d41 * commit 'd359137d419023f207351251cdbfa23180236963': Handle "uninstalled" apps when pruning app-ops.
|
e2ed23e6b221185ce2587fb19a6e904dbf7ec77b |
30-Oct-2015 |
Jeff Sharkey <jsharkey@android.com> |
Handle "uninstalled" apps when pruning app-ops. During system boot, we prune app-ops belonging to apps that have been uninstalled. However, apps installed on adopted storage devices haven't been scanned at this point, so they appear to be uninstalled. To avoid pruning app-ops for these apps, we need a getPackageUid() variant that also considers "uninstalled" apps for which we still have PackageSetting values. Bug: 25206071 Change-Id: I1820f674d45c5ddc1c5f10ed7d859e7025005e28
PackageManager.aidl
|
9147ce4cf99d8fd06be7fb88d280503dd214777c |
28-Oct-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Merge "Enable default system IMEs for system user"
|
56f0720fd7f67bc8e71c98459ef7a255a6f35f4b |
28-Oct-2015 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Merge " Add PackageManager.FEATURE_FREEFORM_WINDOW_MANAGEMENT"
|
d303b25ad3dc7249800b28c4a5bda2d787f0c4c5 |
28-Oct-2015 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Add PackageManager.FEATURE_FREEFORM_WINDOW_MANAGEMENT Bug: 25329519 Change-Id: Ib09cb2332ee1810b2f774a8453fe519fa920cd5d
ackageManager.java
|
b3b4f61525a3547920d642841202730f3cb16151 |
27-Oct-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Enable default system IMEs for system user Added GET_DEFAULT_IMES flag to AppsQueryHelper. Default system IMEs are now enabled for system user. Bug: 25276229 Change-Id: I38d74903951200e2207e1864bb3a815f8f2d572f
ppsQueryHelper.java
|
b60692e3d8af750bb089cfc0e0d591002894e118 |
24-Oct-2015 |
Wale Ogunwale <ogunwale@google.com> |
Support for activity to opt-in/out of PiP form of multi-window. While it makes sense to be able to resize most activities types in multi-window mode. It only makes sense to put specific types of activities in Picture-in-Picture (PiP) form of multi-window. For example, activities that play video will be good candidates while the Settings activity isn't. The new flag allows the system to differentiate between resizeable activities that can go into PiP mode and those that can't. Bug: 25006507 Change-Id: I8ac518cec2fa3c8fb88be40c266b3751fb88f1ce
ctivityInfo.java
ackageParser.java
|
008672f62d15bac2b26502f20688da92d5ad3292 |
21-Oct-2015 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Correctly derive ABI for apps on adopted media." into mnc-dr-dev am: 55d2b6e8e6 am: 257d2ca7fd am: e01b99faa5 am: 6dee8faff3 * commit '6dee8faff3b25c6dd6c8fa308ceb0fb8b31f6a05': Correctly derive ABI for apps on adopted media.
|
6dee8faff3b25c6dd6c8fa308ceb0fb8b31f6a05 |
21-Oct-2015 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Correctly derive ABI for apps on adopted media." into mnc-dr-dev am: 55d2b6e8e6 am: 257d2ca7fd am: e01b99faa5 * commit 'e01b99faa54a083ae7b10db902a03f4aa6c9bd63': Correctly derive ABI for apps on adopted media.
|
55d2b6e8e6f364e2fd52c45b5fa3eb6a56082456 |
21-Oct-2015 |
Jeff Sharkey <jsharkey@google.com> |
Merge "Correctly derive ABI for apps on adopted media." into mnc-dr-dev
|
bbcb3312050dc89385e70e96fee7d88fbcb4e794 |
21-Oct-2015 |
Jeff Sharkey <jsharkey@android.com> |
Correctly derive ABI for apps on adopted media. There was a bug causing PackageManager to think apps on adopted media were actually in an ASEC, causing it to skip ABI derivation. This change fixes the issue by copying the volume UUID into place early in the scanning process. Also fixes two places where we had incorrectly been including apps on adopted media; switched them to check only for ASECs. Bug: 24583803 Change-Id: If66d1bce02824a4d8e22f741b04a2abda0378cfb
ackageParser.java
|
2fbd20fd7b213daef99598a836c285fdf7794c57 |
20-Oct-2015 |
Todd Kennedy <toddke@google.com> |
Merge "Enable "quick install""
|
27c24fb8b85c36298de053699b1967a808c6d308 |
18-Sep-2015 |
Todd Kennedy <toddke@google.com> |
Enable "quick install" Quick install skips a lot of the normal install steps in order to dramatically reduce the installation time [eg Twitter normally takes 20s to install. But, installs in under 2.5s with quick install] The specific optimizations [with caveats]: 1. Use the JIT. Although the oat file is technically created, it only contains the exploded contents of the APK and does not contain pre-compiled native binary code. While this improves install time, it impacts app execution. [saves 17s] 2. Bypass Play verification. Play normally verifies all installs to ensure we're not installing malware. But, it can take multiple seconds for Play to collect and send package information to our backend servers. [saves 2.7s] 3. Reduce JAR file verification. Due to the structure of the JAR certs, we cannot completely bypass JAR processing. However we skip the step of verifying every manifest entry. [saves 1.3s] NOTE: #2 and #3 will only occur on eng/user-debug builds. Bug: 22848361 Change-Id: I48e77595ad5c13a9534fdb06da67ba8dae2797fb
ackageInstaller.java
ackageManager.java
ackageParser.java
|
2d021f9f48e8792181d13c269cc4d2484a62e040 |
20-Oct-2015 |
Rob Carr <racarr@google.com> |
Merge "Correct ActivityInfo constructors." into mnc-dr-dev am: cfea184d6c am: e2a49862c1 am: 8caf80d571 * commit '8caf80d571c37bc6fefd68227432fd49d76aaa93': Correct ActivityInfo constructors.
|
8ab115a9aaf96cd165c683bfd8a47cfda1239f82 |
15-Sep-2015 |
Robert Carr <racarr@google.com> |
Correct ActivityInfo constructors. ActivityInfo was missing initialization for the documentLaunchMode flag in the copy-constructor and the Parcel constructor. The copy-constructor is used in multi-user/profile mode to create a seperate instance of the ActivityInfo per uid and this was manifesting in the linked bug. Bug: 21590916 Change-Id: I6f71d94ec32ec6326d23c9b62e9d8d319e2fa25e (cherry picked from commit 3e2e0117858eb02fef55ca4c245e8b920aedc6eb)
ctivityInfo.java
|
d2f1d94fe5acc5d23f03bb3b653061184fd67eb5 |
15-Oct-2015 |
Filip Gruszczynski <gruszczy@google.com> |
API for minimal width/height of an activity. Bug: 21409825 Change-Id: Id6286064713672366dd4dc1f80258450a8039c36
ctivityInfo.java
ackageParser.java
|
6a5913681e96fb4eadac64770ec39042678e7ab5 |
06-Oct-2015 |
Wale Ogunwale <ogunwale@google.com> |
Make activities trageting SDK N or greater resizeable by defualt Also, removed condition that prevented activity from setting device orientation if it is resizeable. We only need to prevent it from affecting the orientation when it isn't fullscreen and not all the time. Work is being tracked in bug 24685213. Bug: 19865400 Change-Id: I9e1ea77c6acd13801a06f791e0b8859fbcb0f15c
ackageParser.java
|
3da3ca609ec48e1ff23bcfda0b208632fab88d80 |
01-Oct-2015 |
Todd Kennedy <toddke@google.com> |
Merge "Update PackageInstaller install handing"
|
a1d12cfdb072acb14fa95d5e771e23396e6bd8e1 |
30-Sep-2015 |
Todd Kennedy <toddke@google.com> |
Update PackageInstaller install handing * Allow forcing permission check. We want to modify the PackageInstaller to use the PackageInstallerSession for better security / remove deprecated APIs. In order to do this and continue to prompt for permissions, we need to prevent the PakcageInstaller from auto-approving the permissions. * Add originating UID to SessionParams. This is used for package verifier checks. Bug: 22282121 Change-Id: I19079749d20ace66f1332f399d52cb0fb8784cd9
ackageInstaller.java
ackageManager.java
|
8392b394f26ef726a002cd380979058203438dc8 |
29-Sep-2015 |
Nicolas Prévot <nprevot@google.com> |
Merge "Add more methods that take a userId to PackageManager."
|
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
ackageManager.java
|
a4490622207804ef85f39439ff7b9cb2470f6287 |
23-Sep-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Cleanup USER_OWNER in activity and location services Bug: 19913735 Change-Id: Ie2b7acb3fa53b1dcf7319de1eb5bdec585dbf78c
serInfo.java
|
3355eca23e89045be068b39f5236cd43406a2a2d |
23-Sep-2015 |
Nicolas Prévot <nprevot@google.com> |
Revert "Add more methods that take a userId to PackageManager." This reverts commit 3b0fc3cf24e1fecdbc11808483c2109415ebfdd2. It breaks the build. I had missed other places that extend PackageManager. Change-Id: Iff012ed4ec8d2d32821586eca85fce55ae67f5b5
ackageManager.java
|
3b0fc3cf24e1fecdbc11808483c2109415ebfdd2 |
21-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. Change-Id: I9a3ff96f968b4f8d21a57cc7760679628d35c1a9 BUG:23516394
ackageManager.java
|
f3d939cc73a7c9846b649e4856378b1e04ad14a9 |
17-Sep-2015 |
Christopher Tate <ctate@google.com> |
At install, require the presence of code if hasCode=true Bug 23875788 Change-Id: I125ea4caf9e558e875e36dc8534f0d0877ff1e89
ackageParser.java
|
cf9f751206e027a1654572585d045a325dec4ecc |
16-Sep-2015 |
Fyodor Kupolov <fkupolov@google.com> |
am fd464a30: am 71b4b738: am d20f2106: am bfc584df: Merge "Use app directory as apkPath for cluster installs" into mnc-dr-dev * commit 'fd464a301fea9395ad2b882dc90b0fee6515e9d1': Use app directory as apkPath for cluster installs
|
fd464a301fea9395ad2b882dc90b0fee6515e9d1 |
16-Sep-2015 |
Fyodor Kupolov <fkupolov@google.com> |
am 71b4b738: am d20f2106: am bfc584df: Merge "Use app directory as apkPath for cluster installs" into mnc-dr-dev * commit '71b4b738a611565659df33fe56635d75a25e6f19': Use app directory as apkPath for cluster installs
|
3e2e0117858eb02fef55ca4c245e8b920aedc6eb |
15-Sep-2015 |
Robert Carr <racarr@google.com> |
Correct ActivityInfo constructors. ActivityInfo was missing initialization for the documentLaunchMode flag in the copy-constructor and the Parcel constructor. The copy-constructor is used in multi-user/profile mode to create a seperate instance of the ActivityInfo per uid and this was manifesting in the linked bug. Bug: 21590915 Change-Id: I6f71d94ec32ec6326d23c9b62e9d8d319e2fa25e
ctivityInfo.java
|
b91167620904eb439d0e8c09eab532fe7524ff6d |
10-Sep-2015 |
Christopher Tate <ctate@google.com> |
Avoid parceling redundant ApplicationInfo objects within PackageInfo Two benefits: 1) marshaling one flattened ApplicationInfo as part of a PackageInfo parcel rather than one per included ComponentInfo; and 2) producing one ApplicationInfo at unmarshaling time and sharing the reference to it among all included ComponentInfo instances, rather than the previous implementation that generated a separate ApplicationInfo instance for each ComponentInfo. In some cases there can be many hundreds of ComponentInfo objects embedded in a single PackageInfo, so coalescing duplicates is a significant win for both payload size and object pressure. Bug 19519502 Bug 20453802 Change-Id: Ib888810dad4471084fab9ead1ebb5e0b932905f1
omponentInfo.java
ackageInfo.java
|
ebcac16cb1405bf7d0b570e11a287df078edfc1c |
10-Sep-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Use app directory as apkPath for cluster installs Previously, size of of oat directory was not counted by the getsize command, because base APK location was passed as apkpath argument. Bug: 23896047 Change-Id: Ic7b6b725785ff2e2a0cf3887ba68c162b23b1212
ackageParser.java
|
26637cb3fd56c73d51d7cf53a4e97a51847dfc4f |
01-Sep-2015 |
Nick Kralevich <nnk@google.com> |
am 1293b953: am 712205ba: am 9d586927: Merge "Automatically assign default seinfo labels using the string "default"." * commit '1293b953c4c82dfc8738ba1dfc48f7739df78c69': Automatically assign default seinfo labels using the string "default".
|
712205bac075dc59a1ccd79a860d553ba31402f0 |
01-Sep-2015 |
Nick Kralevich <nnk@google.com> |
am 9d586927: Merge "Automatically assign default seinfo labels using the string "default"." * commit '9d586927102b597845607ccc82661e350821de82': Automatically assign default seinfo labels using the string "default".
|
5e16bc5a143b46bbe9a4873adceed85a6241d1d0 |
28-Aug-2015 |
Robert Craig <rpcraig@tycho.ncsc.mil> |
Automatically assign default seinfo labels using the string "default". default seinfo values are those for which policy lacks a matching stanza in the corresponding mac_permissions.xml file. Prior to this change the null object reference was used to represent the non-matching state. This is in contrast to a policy supplied default stanza which will assign a non null seinfo value. Confused yet? Basically, two default states were distinguished in the code to describe the two cases where either a policy stanza spelled out the base case seinfo label or not. Policy writers could either supply a default stanza or rely on the class instantiated value assigned by the ApplicationInfo object. The hope was that the later assignment could be used to help distinguish the cases where policy writers intentionally white listed apps. This change will just use the hard coded "default" string implicitly to describe all cases and removes the idea of a policy supplied default stanza. Change-Id: Ib7b01ee004775f24db9a69340a31784b967ce030 Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
pplicationInfo.java
|
06a484adb93c6c969321147b07112684383305f6 |
22-Aug-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Non-system users can now have restricted profiles In the non split system user, only USER_OWNER is allowed to have restricted profiles. This is now changed in split user mode, where multiple secondary users can have restricted profiles. Added UserInfo.restrictedProfileGroupId field, which defines parent/child relationship between secondary users and linked restricted profiles. Adjusted shared accounts handling logic to not assume that USER_OWNER is the only owner. Bug: 23191995 Change-Id: I5f3fc2aa4f229103d6e75ec2c3dfce866b8007de
serInfo.java
|
2170ee43a176cdfa45dd4d9122a183023831d44b |
27-Aug-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Merge "Limit the number of apps running as system user"
|
d3a182e5734f460a510d229e27d27ac4cd72d9ff |
26-Aug-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Merge "Renamed primaryUserOnly to systemUserOnly"
|
7db5af124e551554f7a2f1abdd2a486c937910fe |
01-Aug-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Limit the number of apps running as system user For the system user, enable apps based on the following conditions: - app has no launcher icons or has INTERACT_ACROSS_USER_FULL permission - app is whitelisted - app is not in the blacklist Bug: 23283899 Change-Id: I90fa266e8cfb28d002e5f792998fdddb6a1e6969
ppsQueryHelper.java
serInfo.java
|
4f5de340c9c7b12d7d67ca53bac863976b36fd32 |
25-Aug-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Renamed primaryUserOnly to systemUserOnly In the split mode, broadcast receivers and activities marked as systemUserOnly will be running as system. This is a non-functional change for non-split system user mode. Bug: 22958572 Change-Id: I0f7d4f4a81275bc326bf630a776c695e8b5291a6
ctivityInfo.java
ackageParser.java
|
bd0e03bb763ae7956ecba35fe5759d4b443158ca |
21-Aug-2015 |
Xiaohui Chen <xiaohuic@google.com> |
More USER_OWNER cleanup. Bug: 19913735 Change-Id: I408a92d9dbab2a096407efccb91e2a8bdc22714d
serInfo.java
|
9b1ce52f254b4d9c17ebf437f19f45603d3ad5b2 |
21-Aug-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Using initial activity layout to position the launching activity. The activity can be positioned in the center or in one of the corners. From there it shifts its position and tries to find a spot where it doesn't collide with other activities. The CL also includes a few fixes necessary to pipe the information about the initial layout through the system. Change-Id: I2aaf5b6d20044aafec713b7bd4193b05cfbd16f3
ctivityInfo.java
ackageParser.java
|
848fe6bef28c8c8c46f14d37ad228268350e2dc8 |
19-Aug-2015 |
Filip Gruszczynski <gruszczy@google.com> |
API for specifying size/gravity of launching activity. Change-Id: I4d75b3fa56ff9c35be9beeba81e3ec9ab28a9996
ctivityInfo.java
ackageParser.java
|
be8b98b939639a579444de64ce2fd86cccf91daf |
20-Aug-2015 |
Nicolas Prévot <nprevot@google.com> |
Merge "Allow non-owner users to have managed profiles."
|
b818681dcae157412b897587ff856cd0c531c3f4 |
06-Aug-2015 |
Nicolas Prevot <nprevot@google.com> |
Allow non-owner users to have managed profiles. In the split system user model: The only users that are not allowed to have managed profiles are: - purely system user (user 0) - guest users - restricted profiles - managed profiles In the non-split system user model, the behavior does not change: only the primary user can have managed profiles. BUG:22956426 Change-Id: If908c30f110fd3e740770174f050c9b6cf87ce1b
serInfo.java
|
98404fdc0b73e6563c19b863aa5ab605e092de29 |
18-Aug-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Clean up USER_OWNER reference. Bug: 19913735 Change-Id: I441672b360fa0fff5453f72c88f9577b5cc8eecf
ackageParser.java
egisteredServicesCache.java
|
848dd4bfc9575956187eccfc7c563eb9dd64a2b4 |
14-Aug-2015 |
Chris Tate <ctate@android.com> |
am 14e12258: am 13845aea: am b2d4c550: am b47890c4: am 7e7d79ef: Merge "Make "Ask every time" actually work that way" into mnc-dev * commit '14e122582c45e236bf2e4c59d10438816f2eed09': Make "Ask every time" actually work that way
|
56f0ff3c48c88b969d9bf5e62eb1ee590e03e461 |
14-Aug-2015 |
Christopher Tate <ctate@google.com> |
Make "Ask every time" actually work that way ..in link-opening behavior. If a candidate is marked as "ask every time," then the user is guaranteed to get a disambiguation prompt including that candidate even when some other candidate app is in the "always prefer this over a browser" state. Bug 23147746 Change-Id: I904d8697a992b3f16f32b1c1b49c2bf9424c7137
ntentFilterVerificationInfo.java
ackageManager.java
|
64b9b9ad9e5f10d7a4d31c5e393432b87afbd742 |
08-Aug-2015 |
Svetoslav Ganov <svetoslavganov@google.com> |
am 618e065c: am 546a3449: am e12a685c: am 02d6c013: am 90b030ba: Merge "Do not show removed permissions in the UI - framework" into mnc-dev * commit '618e065cc14b9069954e462fc25cdc934ee3300f': Do not show removed permissions in the UI - framework
|
3e0be7440bf40f5d81581077bc4f5f47e57b88b7 |
08-Aug-2015 |
Svet Ganov <svetoslavganov@google.com> |
Do not show removed permissions in the UI - framework bug:23043018 Change-Id: Ia5cf49f299eda627d9fde2b34498812afcb3a6d5
ermissionInfo.java
|
3fa5609d83339032d456bb51f0419adae756baed |
04-Aug-2015 |
Dianne Hackborn <hackbod@google.com> |
am aa860fd8: am 35c68de9: am 5dd9ef04: am b0bc8368: am 3011f645: Merge "Fix issue #22912704: "android.process.acore has stopped" dialog keeps popping up" into mnc-dev * commit 'aa860fd83ab3d3096c4bdf86297b7d8f36f5eec8': Fix issue #22912704: "android.process.acore has stopped" dialog keeps popping up
|
28ec27cbfa157c242fd9330a10c7c2b8ea838694 |
04-Aug-2015 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #22912704: "android.process.acore has stopped" dialog keeps popping up Slice 'em up! Change-Id: Ibba3af7ec5b7f92e6d5e55a57aa838a7f7f936e1
PackageManager.aidl
|
fdf59bf82f35ccc870dbb7eb20b958997ea73b36 |
30-Jul-2015 |
Svetoslav Ganov <svetoslavganov@google.com> |
am c875ad14: am 56de6167: am f6c2d8a9: am 6da43a83: am 9352af2a: Merge "Remove dependencies on the package installer\'s package name" into mnc-dev * commit 'c875ad14ddc09d0d3a3bde58f71845123110f9f2': Remove dependencies on the package installer's package name
|
6672c8ba3b9e52a384cddb7fe77bd8d97fbfd128 |
30-Jul-2015 |
Sailesh Nepal <sail@google.com> |
am 33ec1710: am 2830a139: am 2084291d: am 33763760: am 6b96de8d: Merge "Default permissions for sim call manager" into mnc-dev * commit '33ec1710b0404f36019688ea8e285b687f81109c': Default permissions for sim call manager
|
fc15b56bd23a31d519c0ac994430bd34b8fe242b |
29-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
am b003d9a8: am c4ed81af: am cb98228d: am deb28b77: am eda1cc50: Merge "Work on issue #22765972: Binder transactions running out of address..." into mnc-dev * commit 'b003d9a8032a672dbcb76a9750522953d1c0db5d': Work on issue #22765972: Binder transactions running out of address...
|
9352af2a9ef95e3f577a04474625249d3da62a04 |
29-Jul-2015 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Remove dependencies on the package installer's package name" into mnc-dev
|
6b96de8dae8be99f75c86c795672905e10fca153 |
29-Jul-2015 |
Sailesh Nepal <sail@google.com> |
Merge "Default permissions for sim call manager" into mnc-dev
|
f1b7f20bb839c96e8254ccb65398135f10fd45d9 |
29-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
Remove dependencies on the package installer's package name bug:22700053 Change-Id: I8540eb8577fbec84e1a67e31e1c31ba654c828a4
PackageManager.aidl
ackageManager.java
|
cf85562bc9a0f01db51b4088e72f05a8089fc7f1 |
29-Jul-2015 |
Sailesh Nepal <sail@google.com> |
Default permissions for sim call manager This CL adds the following permissions by default to the SIM call manager: - microphone - phone BUG: 22790160 Change-Id: Icaf1db6c6943b3ddbd16a946a81d1bfb734d761f
ackageManagerInternal.java
|
86cbc2bf30a7623b2ad6564cf50ca20f87067ea7 |
29-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #22765972: Binder transactions running out of address... ...space causing package manager to fail Lower the maximum IPC size we use in various places, to keep it under the threshold of becoming dangerous. Now everything tries to keep not much more than 64k. Change-Id: I814013097966a7843179e5d581bfdb254c5ae318
arceledListSlice.java
|
225c8f99138930f503eb1203766732acd05a07be |
24-Jul-2015 |
Jim Miller <jaggies@google.com> |
am 5703cd54: am 72d9a4df: am 56e1be70: am ecfbd588: am abd35bfc: Merge "Add FEATURE_FINGERPRINT to PackageManager\'s feature list" into mnc-dev * commit '5703cd5448e0f7efb0a164ca971b6ca0cc117173': Add FEATURE_FINGERPRINT to PackageManager's feature list
|
5cdca2a812af6b534000c93c0c72c7a0912bd81c |
24-Jul-2015 |
Svetoslav Ganov <svetoslavganov@google.com> |
am cb731204: am ce4668b6: am 3fce45b6: am 54f1db79: am 607bc34f: Merge "Reset permissions and app links when clearing app preferences - framework" into mnc-dev * commit 'cb731204c47034b6ce3e6a96b127fafc322a3625': Reset permissions and app links when clearing app preferences - framework
|
abd35bfc81ae231656c6fba67d43cfbb76f3db0d |
24-Jul-2015 |
Jim Miller <jaggies@google.com> |
Merge "Add FEATURE_FINGERPRINT to PackageManager's feature list" into mnc-dev
|
bf822d39a24b0de8228f5fc96c9ea4fcf320cbdc |
24-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
am c9e454a5: am 26b2453c: am d363399b: am 86350411: am b7394671: Merge "Work on issue #22303510: Additional permissions aren\'t properly..." into mnc-dev * commit 'c9e454a544233b6d4d7ae96d4442505bbad22fcb': Work on issue #22303510: Additional permissions aren't properly...
|
9c8b8ab941e3ca7bdf2cccad6836760d7723518e |
23-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
Reset permissions and app links when clearing app preferences - framework bug:22359132 Change-Id: I198c0b1cd6c3dcb91fe560874a8502eb6b5f65b3
PackageManager.aidl
|
d9b9d41082dae0a4bbed1bdb8a62f9f7e87ec14c |
23-Jul-2015 |
Jim Miller <jaggies@google.com> |
Add FEATURE_FINGERPRINT to PackageManager's feature list Fixes bug 22674557 Change-Id: I3d78e6bedc3ac18a25a06ac50e3a7eee4161fe70
ackageManager.java
|
cfbfafe1b9ca2fd135a4fb6b528b3829830803bf |
22-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #22303510: Additional permissions aren't properly... ...disabled after toggling them off Keep track of whether a permission that has been declared by an app was able to actually be installed in the system, along with an API to find this information so that system UI can tell whether that permission is of interest. Also clean up some of the permission debug output. Change-Id: If4541bedb857789b255bb18f03cad155dcda0b95
ermissionInfo.java
|
28e7313992ba6efd94ddc16b45278863f84d7fcb |
17-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
am 71d12704: am 475858c3: am b295963b: am c00e49b6: am d4b566bf: Merge "Add APIs for verifier to grant at install and revoke permissions" into mnc-dev * commit '71d12704f64eeace695a6b8e0cd8f36007b96270': Add APIs for verifier to grant at install and revoke permissions
|
dbfb11a9f1c47349cf1582017a61369bf1ab75c5 |
16-Jul-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Merge "sys user split: refactor systemui user switcher"
|
7121e18595d4c559044e26bfe6035406a862f466 |
14-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
Add APIs for verifier to grant at install and revoke permissions bug:22231699 Change-Id: Ie0c758bf73699f50bf99ff5aa0bf98dcc9004e37
ackageInstaller.java
|
fbb4a38c7cc8ddb313c588f8d29bfcda5c0609c2 |
14-Jul-2015 |
Ian Pedowitz <ijpedowitz@google.com> |
resolved conflicts for merge of 30efac5a to master Change-Id: I0dad4cf10ed01cbf49e33f0c2ed1d6f8a1c893e0
|
4fd798768245f07064a1001a594fa2f4558efb9e |
14-Jul-2015 |
Christopher Tate <ctate@google.com> |
am d5c43b76: am df8db14e: am 0e201048: am b4494b02: am 288ecf98: Merge "Prioritize most-recently-enabled link-handling app" into mnc-dev * commit 'd5c43b7619d9d42e902a34c8b300f882b8213309': Prioritize most-recently-enabled link-handling app
|
7cb69df507f5f7956c52a2868a0d6e89aec6dde2 |
14-Jul-2015 |
Xiaohui Chen <xiaohuic@google.com> |
sys user split: refactor systemui user switcher BUG:19913735 Change-Id: I017dd1b03fd163c266b8080b969fb7a2e934e26c
serInfo.java
|
8cee6587e0efb2d8e63f1505b057a1e328525017 |
14-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
Merge "Teach storage appops." into mnc-dev
|
6ee871e59812fea4525c50231f677c4bd10c74b8 |
10-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
Teach storage appops. For modern apps targeting M SDK and up the external storage state is deterined by granted permissions. For apps targeting older SDK the storage access is determined by app ops correspning to the storage permissions as the latter are always granted. When app ops change we do not remount as we kill the app process in both cases enabling and disabling an app op since legacy code is not prepared for dynamic behavior where an operation that failed may next succeed. Hence, we remount when we start the app. For modern apps we don't kill the app process on a permission grant, therefore we synchronously remount the app storage. bug:22104923 Change-Id: I601c19c764a74c2d15bea6630d0f5fdc52bf6a5a
PackageManager.aidl
|
f0d6cb38c47ee37583034dc3a68238ed13c91742 |
11-Jul-2015 |
Christopher Tate <ctate@google.com> |
Prioritize most-recently-enabled link-handling app In the case when multiple apps handle a given web-link action, all of which have been marked as "launch the app instead of a browser" and so are otherwise ambiguous, always prefer the app that was most recently placed into the always-handle-links state. Bug 22051035 Change-Id: I3f43c19b0d7b74e9843445e41971bb5433affb1c
ntentFilterVerificationInfo.java
ackageUserState.java
|
5a9a85d3d2b13a05ce2cf47511551428843d23b0 |
10-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
am 0bdfb97a: am 88c3918d: am 3ceb043f: am b7cf986e: am 171fe6ac: Merge "Add an API for apps to query if a permisison is denied by policy." into mnc-dev * commit '0bdfb97a0acb8b40c78b1f40151b334d5401a2d1': Add an API for apps to query if a permisison is denied by policy.
|
171fe6ac0aa5b0d2dd64ac1cdda25cdcb5f183f3 |
10-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
Merge "Add an API for apps to query if a permisison is denied by policy." into mnc-dev
|
8bbd9ac7460ea36ddd7b90213c914ba06967349d |
10-Jul-2015 |
Christopher Tate <ctate@google.com> |
am 531209d2: am 06566db8: am 67fbc0bd: am bf8cc192: am adebbeba: Merge "Remote extraneous debugging log message" into mnc-dev * commit '531209d29cd571254248cdc706bdd4dc297bc331': Remote extraneous debugging log message
|
bf0c1ac1098f5d3be70ba7e7a62b94ffedf734af |
09-Jul-2015 |
Christopher Tate <ctate@google.com> |
Remote extraneous debugging log message Bug 22069429 Change-Id: I4e3803aff58449b2544d9d7cca27d8d2115ccdd6
ackageParser.java
|
7bd71f65417e0fa643d59abd3c3bdebb9cc992f2 |
09-Jul-2015 |
Svetoslav <svetoslavganov@google.com> |
am 122350fc: am 843d7216: am 353835e1: am c88dec32: am 6638c182: Merge "Fix reset permissions on clear data and package uninstall." into mnc-dev * commit '122350fca781048e0a59260e2bed233b428cf3fd': Fix reset permissions on clear data and package uninstall.
|
ad3b2975574f916c14382628d50c710a78064746 |
08-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
Add an API for apps to query if a permisison is denied by policy. bug:22177216 Change-Id: I32227f55097fae997f33743fd1eee06cb18f47f1
PackageManager.aidl
ackageManager.java
|
4a5f4a2bc7a379a5b4174f78fefeefe745e6cd37 |
08-Jul-2015 |
Svetoslav <svetoslavganov@google.com> |
Fix reset permissions on clear data and package uninstall. If the user clears data for an app we reset the permission but only the changes made by the user. We do not modify syste or policy flags and also ensure the permission that were granted by default are granted after the data wipe. This is the same as starting with a clean slate. If the package whose data is cleared is a part of a shared user we resent to initial state only the permissions that the cleared package contributed. Hence, if another package also declared the permission as used we do not clear the permission state as it is still in use. When a package is deleted for a user but still present for another user we reset its permissions to their inital state follwoing above described strategy. Lastly when a preinstalled package wtih an upgrade is diabled (triggers upgrade uninstall) and this package is a part of a shared user, we do not drop permission state (grants and flags) for permissions used by the shadowed system package. This ensures that we do not drop runtime permission state (such state is default grants and user changes).i bug:22248525 Change-Id: I3a3007476d2cb9f4ff824e1e137a6e1a4d04408b
ackageManager.java
|
ee94484303ebddbb5eb7cc7efa347240ad641bc7 |
08-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
am 7b3add61: am f368f6b9: am 6ee8a509: am c55c4a28: am b14dc048: Merge "Add new "preinstalled" permission flag." into mnc-dev * commit '7b3add61c9e47b708725147dffc23d396db37add': Add new "preinstalled" permission flag.
|
4e5dac3d6ef6f28aecb116b8dfd92ff31d49c926 |
08-Jul-2015 |
Svetoslav <svetoslavganov@google.com> |
am 3fd5ebfd: am 7cc8de60: am 0ce19f8e: am 240f8e5f: am 3e07ee07: Merge "Grant installer and verifier install permissions robustly" into mnc-dev * commit '3fd5ebfd778e540276fb5205a8ba3185e620647d': Grant installer and verifier install permissions robustly
|
a90c8def2c6762bc6e5396b78c43e65e4b05079d |
08-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
Add new "preinstalled" permission flag. This allows you to specify that a permission can be granted to any pre-installed system app (not just privileged ones). And as long as I am doing this, clean up the old "system" permission flag, renaming it to "privileged" which is what it really is today, deprecating the old names. And switch the platform's permission declarations to use the new name. Change-Id: Iabf484746af232144786851ec7fe90e3de9dddb2
ermissionInfo.java
|
3e7d977ff7c743713f0ad6336a039d7760ba47d1 |
07-Jul-2015 |
Svetoslav <svetoslavganov@google.com> |
Grant installer and verifier install permissions robustly bug:22248271 Change-Id: I3a47ae9a112ba7d88b421fcb5f9651d1168ba7a5
ermissionInfo.java
|
3bb8c854189591fcee16d2a6854fae862b02d1e8 |
07-Jul-2015 |
Jeff Sharkey <jsharkey@android.com> |
Merge commit '1db64c19' into merge3 Change-Id: I0aea6817876a5820a7d67a4de5bef0f86ce702a2
|
38cae6c8bcb86236b21d69f852473351c0c1d82a |
06-Jul-2015 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Reconcile private volumes when mounted." into mnc-dev
|
f127f42fd44cf322ce942f1c42d2abed84621486 |
06-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
am b017752a: am 6bc5b226: am c5a759cf: am d8c2bbcf: am 10c111ed: Merge "Show basic feature warning for default granted permissions" into mnc-dev * commit 'b017752aeb1d6d2ee961580de9edfc3db8722c8a': Show basic feature warning for default granted permissions
|
6dce4964b4d1a13d276d95730b8fb09d6a5a8d04 |
04-Jul-2015 |
Jeff Sharkey <jsharkey@android.com> |
Reconcile private volumes when mounted. Many things can happen while a private volume is ejected, so we need to reconcile newly mounted volumes against known state. First, user IDs can be recycled, so we store the serial number in the extended attributes of the /data/user/[id] directory inode. Since a serial number is always unique, we can quickly determine if a user directory "10" really belongs to the current user "10". When we detect a mismatched serial number, we destroy all data belonging to that user. Gracefully handles upgrade case and assumes current serial number is valid when none is defined. Second, we destroy apps that we find no record of, either due to uninstallation while the volume was unmounted, or reinstallation on another volume. When mounting a volume, ensure that data directories exist for all current users. Similarly, create data directories on all mounted volumes when creating a user. When forgetting a volume, gracefully uninstall any apps that had been installed on that volume. Bug: 20674082, 20275572 Change-Id: I4e3448837f7c03daf00d71681ebdc96e3d8b9cc9
ackageManager.java
ackageParser.java
|
7e07288c7720001542182a4a70a5395015bcff1c |
04-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
am 0783b9a4: am ee987ce4: am 76664d9d: Merge "Work on issue #21589105: Scope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW..." into mnc-dev * commit '0783b9a47ae682cc85a14284e79643b5087b8c9f': Work on issue #21589105: Scope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW...
|
279a9a3131635fe84d33231711f40daaa798ae26 |
04-Jul-2015 |
Svetoslav <svetoslavganov@google.com> |
am 90336427: am 56ef372f: am 29563632: Merge "Grant permissions to headless system calendar/contacts sync adapters." into mnc-dev * commit '90336427fd1fc85e15a43ce36a26576013061d91': Grant permissions to headless system calendar/contacts sync adapters.
|
77ab6a888afaeb9010c7c3884adcd4819dbcee66 |
03-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
Show basic feature warning for default granted permissions bug:22174223 Change-Id: Ie8209e1f678ac459893151b5125e86eb5025aad8
ackageManager.java
|
76664d9dcfbbe04c50a00ea1e268e80b9a9f6087 |
02-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
Merge "Work on issue #21589105: Scope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW..." into mnc-dev
|
de15edaa9bf486a4050bb067317d313fd807bb10 |
01-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #21589105: Scope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW... ...to an explicit toggle to enable in Settings Add a new permission flag, saying the permission can be automatically granted to pre-api-23 apps. Apply this to SYSTEM_ALERT_WINDOW. Change-Id: I24a0ceabe7e9f5e458a864d30eda2696ad14a699
ermissionInfo.java
|
3f69719a1b8f654a2b59fbea28fbca0fbad08bc1 |
01-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
am ce3b66f5: am aadc90b5: am 67a461ec: Merge "Rename uses-permission-m to uses-permission-23" into mnc-dev * commit 'ce3b66f542947211ed8ea7e09267bb66ff687a34': Rename uses-permission-m to uses-permission-23
|
0010b70beae6fafd3faf06e1b02291f59f9f85db |
01-Jul-2015 |
Svetoslav <svetoslavganov@google.com> |
Grant permissions to headless system calendar/contacts sync adapters. bug:21861781 Change-Id: I5f9905a23ba1b23e387adf2cea842172d34207b0
ackageManagerInternal.java
|
67a461eca888243e1f4960e662aa2059c90da629 |
01-Jul-2015 |
Svet Ganov <svetoslavganov@google.com> |
Merge "Rename uses-permission-m to uses-permission-23" into mnc-dev
|
ffd25bbed1345a932b1338a210405d1f42daf07b |
30-Jun-2015 |
Svet Ganov <svetoslavganov@google.com> |
Rename uses-permission-m to uses-permission-23 bug:20072113 Change-Id: Ia872853274c604a6fee1c1d84f82a98334523bac
ackageParser.java
|
ee4e4e79f59a808c4c13db8281ac895047ea199a |
30-Jun-2015 |
Svetoslav <svetoslavganov@google.com> |
am 358a8362: am ae45cfa6: am 03b5f128: Merge "Grant default permissons to the default SMS, Phone, Browser app." into mnc-dev * commit '358a8362781736a8ddaa27713a0727d4eac1cfd0': Grant default permissons to the default SMS, Phone, Browser app.
|
cdfd230a392d0f0557a3a5bada221b7a05113392 |
26-Jun-2015 |
Svetoslav <svetoslavganov@google.com> |
Grant default permissons to the default SMS, Phone, Browser app. The default SMS, Phone, Browser are selected in the UI and we grant default permissions to these. We do this regardless if they are on the system image as the user has made an explicit choice in the UI and the permission we grant are considered essential for such type of a core app to operate properly. bug:22104986 Change-Id: Ide8caeb524b43dde11a20460666cf34c4d35f84b
PackageManager.aidl
PackagesProvider.aidl
ackageManagerInternal.java
|
1b96b1302671b9361cf7c7453a2ed2e5a079f4a0 |
26-Jun-2015 |
Dianne Hackborn <hackbod@google.com> |
am fb46261c: am a5de0eb5: am 7c5b5f71: Merge "Fix issue #22023824: Download folder is not created in internal storage" into mnc-dev * commit 'fb46261c1eb015896d201a0275b41c3ebae11d02': Fix issue #22023824: Download folder is not created in internal storage
|
ca8e6da41c6e63e3ed17eb461171f1ef2e1d29c6 |
25-Jun-2015 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #22023824: Download folder is not created in internal storage The media provider and some other things need to be given storage access. Also, seems like we should give storage access to the camera app as well. And add a dump dump command that will dump data about a particular permission name. Change-Id: Idaaa9bba2ff4dc95290cf6d17e5df933df91e909
PackageManager.aidl
|
aedb56fd18487d7a34b8ea9f09e4a717afa75a1e |
26-Jun-2015 |
Jeff Sharkey <jsharkey@android.com> |
Merge commit 'b02c73d5' into manualmerge Change-Id: I3ec37c9d45d685c2393087bdefa6ab512cc70062
|
9527b223a9d4a4d149bb005afc77148dbeeff785 |
25-Jun-2015 |
Jeff Sharkey <jsharkey@android.com> |
Let's reinvent storage, yet again! Now that we're treating storage as a runtime permission, we need to grant read/write access without killing the app. This is really tricky, since we had been using GIDs for access control, and they're set in stone once Zygote drops privileges. The only thing left that can change dynamically is the filesystem itself, so let's do that. This means changing the FUSE daemon to present itself as three different views: /mnt/runtime_default/foo - view for apps with no access /mnt/runtime_read/foo - view for apps with read access /mnt/runtime_write/foo - view for apps with write access There is still a single location for all the backing files, and filesystem permissions are derived the same way for each view, but the file modes are masked off differently for each mountpoint. During Zygote fork, it wires up the appropriate storage access into an isolated mount namespace based on the current app permissions. When the app is granted permissions dynamically at runtime, the system asks vold to jump into the existing mount namespace and bind mount the newly granted access model into place. Bug: 21858077 Change-Id: I62fb25d126dd815aea699b33d580e3afb90f8fd2
PackageManager.aidl
|
b96d1f1e6979a91b9e35657cbfbee6acff3330ed |
24-Jun-2015 |
Svetoslav Ganov <svetoslavganov@google.com> |
am 242c1f33: am 4475dbca: am 2c99ea35: Merge "Remove not needed contacts related permissions." into mnc-dev * commit '242c1f333431b32445336faed18feb1a90ebd6e4': Remove not needed contacts related permissions.
|
2c99ea3524bba58f87a9fefad79aa136538b6e0e |
24-Jun-2015 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Remove not needed contacts related permissions." into mnc-dev
|
6d2c0e5ee2f717d4a5c00df08aca21c76eea8278 |
23-Jun-2015 |
Svetoslav Ganov <svetoslavganov@google.com> |
Remove not needed contacts related permissions. This reverts commit ed5ff51b2ca7c051e2719dfc8a8a083e6208848e. Change-Id: If2407e4e474a438d95e1b7ad1aa6f441bb3ace08
ermissionInfo.java
|
b1cc316dcebc29ab74fa24bfb3f8f687e5835fb5 |
24-Jun-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Merge "Introduce system user and primary user."
|
70f6c38644a4a6e28c016c265e6987bf00dd61f1 |
28-Apr-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Introduce system user and primary user. Bug: 19913735 Change-Id: I2c7855915d778cf80a7154314321ddd90e2eaaac
serInfo.java
|
8d9ad19341e19256651ef86274a4382f2c09b279 |
23-Jun-2015 |
Jeff Davidson <jpd@google.com> |
Merge "Default permissions for carrier apps." into mnc-dev
|
0bf8f7cc3982164a9e11ea4a25ed930e466f1dd8 |
22-Jun-2015 |
Amith Yamasani <yamasani@google.com> |
Runtime permissions cannot be set on legacy apps by device policy Clarify docs that runtime permissions can be granted or revoked by a profile owner/device owner only for MNC apps and not legacy apps. Check the targetSdkVersion and return false if legacy app. Remove all policy flags from permissions when cleaning up a device or profile owner. Bug: 21835304 Bug: 21889278 Change-Id: I4271394737990983449048d112a1830f9d0f2d78
PackageManager.aidl
|
2a880312086147577e1e814bda6985fa97fb343b |
23-Jun-2015 |
Jeff Davidson <jpd@google.com> |
Default permissions for carrier apps. Grant permissions in the PHONE and LOCATION buckets to default carrier apps as defined by the telephony stack. Provide a system API to grant default permissions for carrier apps, as the set of apps may change when a new SIM is inserted. Since the phone process is separate from the system process, we need to allow for binder calls to these APIs. Also fix a log tag that is too long (android.util.Log drops messages silently if the tag is > 23 characters). Bug: 21696731 Change-Id: I98ca0c49c69f621f835ba57c1fd0505f2cec0d0d
PackageManager.aidl
PackagesProvider.aidl
|
6d2268a57603e1c60329b93fb853ac2c134cb932 |
23-Jun-2015 |
Christopher Tate <ctate@google.com> |
Merge "Back up / restore default app and intent filter verification state" into mnc-dev
|
6038d15cbc7f4648ceaadf5f15d1928c4899f98e |
17-Jun-2015 |
Christopher Tate <ctate@google.com> |
Back up / restore default app and intent filter verification state For apps not present on device, the state inherited from the ancestral device is applied when the app is ultimately installed. Bug 20144515 Change-Id: Ie05b4f1751357fc62f14e259da174b8cf465e913
PackageManager.aidl
|
434235496c6356dd5e2fc9977c5f1d0609fd3d2a |
22-Jun-2015 |
Kenny Guy <kennyguy@google.com> |
Merge "Fix LauncherApps registerCallback adding duplicate callbacks." into mnc-dev
|
1e575a0f32a00fc6a2f9a71fe1d1eb4426c71787 |
20-Jun-2015 |
Svet Ganov <svetoslavganov@google.com> |
Merge "Only grant runtime permissions to special components." into mnc-dev
|
adc1cf46045ae756d3a9ccbccf6b0f894e4c1edd |
16-Jun-2015 |
Svet Ganov <svetoslavganov@google.com> |
Only grant runtime permissions to special components. Now runtime permissions are granted only to components that are part of the system or perform special system operations. For exmple, the shell UID gets its runtime permissions granted by default and the default phone app gets the phone permissions granted by default. bug:21764803 Change-Id: If8b8cadbd1980ffe7a6fc15bbb5f54a425f6e8f9
pplicationInfo.java
ackageManagerInternal.java
ackageParser.java
|
b94761d0a48522b23c54f786445658bb58258da4 |
20-Jun-2015 |
Amith Yamasani <yamasani@google.com> |
Merge "App Standby : Association between content providers and their sync adapter" into mnc-dev
|
37a40c24deb02bca3868a8085069afae112f22e4 |
17-Jun-2015 |
Amith Yamasani <yamasani@google.com> |
App Standby : Association between content providers and their sync adapter Set sync adapters to active if the associated content providers are used at foreground process state. Minimize how frequently published content providers are reported by keeping track of last reported time. Also cache sync adapters associated with an authority in SyncManager. Bug: 21785111 Change-Id: Ic2c8cb6a27f005d1a1d0aad21d36b1510160753a
egisteredServicesCache.java
|
172a21697dca96c7665f0c36e27a05f8ed00e81a |
19-Jun-2015 |
Kenny Guy <kennyguy@google.com> |
Fix LauncherApps registerCallback adding duplicate callbacks. LauncherApps wraps the callback passed so checking using List.contains isn't valid. Bug: 21947184 Change-Id: Ice0973935574adda15e295073faedb62374ff627
auncherApps.java
|
a408061cc7b5efaf090ce9efd5fd0ba1d95e9c11 |
19-Jun-2015 |
Sudheer Shanka <sudheersai@google.com> |
Merge "Use the intent filter icon in ResolveInfo for managed profile." into mnc-dev
|
abe6580199f8f61cd3070f377be61191e51cac00 |
18-Jun-2015 |
Christopher Tate <ctate@google.com> |
Document possible null returns in PackageManager In particular queryIntentServices() but also a few others. Bug 19127758 Change-Id: I590605ce4870b2ab300385678df8917cfade60f9
ackageManager.java
|
acc2df21de9da66d8aaf9bf2b733f8b284454403 |
17-Jun-2015 |
dcashman <dcashman@google.com> |
Merge "Add keyset support for ECDSA public keys." into mnc-dev
|
4f5e8b3ca489245005b76176ac6d28f5f184f3fe |
12-Jun-2015 |
Jeff Sharkey <jsharkey@android.com> |
Valid filenames have length limits! ext4 filenames are at most 255 bytes. vfat filenames are bit more lax, but we're often saving them on ext4 through a FUSE daemon, so limit them the same way. Since package names are used as directory names, verify that they're valid filenames. Tests to verify behavior. Bug: 18689171 Change-Id: If7df4c40d352954510b71de4ff05d78259c721ed
ackageParser.java
|
75a0ee081fa31b75649e164a8bf79a23a3ebd060 |
11-Jun-2015 |
Svetoslav <svetoslavganov@google.com> |
Merge "Add system API to watch for permission changes" into mnc-dev
|
f7c06eb03ab4479b9d0656a23a4733d17e995183 |
11-Jun-2015 |
Svetoslav <svetoslavganov@google.com> |
Add system API to watch for permission changes Change-Id: I1ce450a59fb326c14848f46732d877dea33f33c7
OnPermissionsChangeListener.aidl
PackageManager.aidl
ackageManager.java
|
95120bbb6fb8d36d52e32d6d8d5435fc92318ca7 |
11-Jun-2015 |
Jonathan Basseri <misterikkit@google.com> |
Merge "Fix typo possibly -> possible." into mnc-dev
|
1616f30b0ca1221c7f60a6ae4e90562340c549a9 |
29-May-2015 |
dcashman <dcashman@google.com> |
Add keyset support for ECDSA public keys. Bug: 21363613 Change-Id: If9eafc725dec4800276251722a7456382dfe207d
ackageParser.java
|
e687929f33f272fff9585bd0752d85ad519bc66d |
10-Jun-2015 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Flags to select storage volume for app installs." into mnc-dev
|
ab2340996a515ea0c437ad5bb1ea1fa88ab9edff |
10-Jun-2015 |
Jeff Sharkey <jsharkey@android.com> |
Flags to select storage volume for app installs. Remote callers can now provide the "--install-location" value from the APK to help select a location, or they can explicitly force a volume by UUID. Bug: 21676789 Change-Id: Iefc92d770a851fc33e37edbf259fdb8df2b14ae5
ackageManager.java
|
a0d41262d48eb48285bb3a0e71bfc5b7b89be601 |
10-Jun-2015 |
Yao Chen <yaochen@google.com> |
Merge "Copy lockTaskLaunchMode from target activity to its alias." into mnc-dev
|
597ad3fb51accb68a8e61351421a0ed1d6c29869 |
10-Jun-2015 |
Yao Chen <yaochen@google.com> |
Copy lockTaskLaunchMode from target activity to its alias. Bug: 21675800 Change-Id: I518f71d57b0a113797fb3879b776cc7142351218
ackageParser.java
|
a73e4599506a1d3498ef5e9c240d79d7125fd2e9 |
08-Jun-2015 |
Kenny Guy <kennyguy@google.com> |
Merge "Correct the docs for getUserBadgedIcon" into mnc-dev
|
20770ddbd4d6f2af0093f36462a8f44a678b084b |
30-May-2015 |
Svetoslav <svetoslavganov@google.com> |
Add API to hint whether to show on-board UI before a permission request. bug:21511988 Change-Id: I9d1d7adf34b68074e65510f53b6e642cf784cf6b
PackageManager.aidl
ackageManager.java
|
df77d717c33584f8fa04cb3780af68d38269cdf5 |
29-May-2015 |
Kenny Guy <kennyguy@google.com> |
Correct the docs for getUserBadgedIcon Previously it wasn't clear that it was checking if the target user was a managed profile in the calling user = target user case. Bug: 21455229 Change-Id: Iedce853092d2e5de6d84b06ca0ef4849bb26df26
ackageManager.java
|
9ded760f6378b79ae5f91fe694744981a4154d0b |
19-May-2015 |
Sudheer Shanka <sudheersai@google.com> |
Use the intent filter icon in ResolveInfo for managed profile. Bug: 20753645 Change-Id: Ifed4b498524272517c9f3338ba88fcbcd3b22075
esolveInfo.java
|
d70b9e7aea9c7b0691f3ac1326752f91d5049458 |
27-May-2015 |
Alan Viverette <alanv@google.com> |
Move ApplicationInfo hardware acceleration to public flags Bug: 21342038 Change-Id: I5af826f3f2921eef24725c909304243c67f3da78
pplicationInfo.java
ackageParser.java
|
5db0cd49e8553f45deec6e3db7ec84a5c78ee228 |
23-May-2015 |
dcashman <dcashman@google.com> |
Set error code on failed keyset manifest parsing. Bug: 21403585 Change-Id: I6f8e0766d373b1b0451b2abef7af6cbb089e4e0c
ackageParser.java
|
4f11754f72ac4c60448b36a1a933cdc2d7bc1870 |
08-May-2015 |
Wojciech Staszkiewicz <staszkiewicz@google.com> |
Pass charset to XmlPullParser.setInput instead of null Passing null to XmlPullParser.setInput forces it to do additional work, which can be easily avoided if we know the charset beforehand. bug: b/20849543 (cherry picked from commit 9e9e2e73c6ec7bece20268196dc89ad0c8bafad4) Change-Id: Iaff97be9df2d0f99d7af8f19f65934439c9658e2
egisteredServicesCache.java
|
589f2b53f2ad4639d5a193bc89e903a8b2400975 |
23-Apr-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Do not create oat directory for an app in ASEC container Currently installation fails, if an app is located on SD card (inside ASEC). If an app is located inside ASEC, dexopt output should go to /data/dalvik-cache. dexopt also needs to be performed at a later stage, because the name of the oat file contains the absolute path to the dex file. Bug: 20452651 Bug: 21360107 (cherry picked from commit 94056d1cb8183bde3e942336735b289b9654deb1) Change-Id: Id1ced7159e5af9c05be0b637437b3b260e859c1d
pplicationInfo.java
|
98fa656f1636525c27a6d91ad4d7a3385292b99a |
14-May-2015 |
Christopher Tate <ctate@google.com> |
fullBackupContent isn't public API Bug 21090205 Change-Id: I1b468f1e7bf86455576760e4a1d1ea9657074a9e
pplicationInfo.java
|
9e9e2e73c6ec7bece20268196dc89ad0c8bafad4 |
08-May-2015 |
Wojciech Staszkiewicz <staszkiewicz@google.com> |
Pass charset to XmlPullParser.setInput instead of null Passing null to XmlPullParser.setInput forces it to do additional work, which can be easily avoided if we know the charset beforehand. bug: b/20849543 Change-Id: Iaff97be9df2d0f99d7af8f19f65934439c9658e2
egisteredServicesCache.java
|
d9653703987f0ba194df6383d766173f65bf758e |
14-May-2015 |
Svetoslav <svetoslavganov@google.com> |
Do not allow opting out from the new permission model. bug:20525775 Change-Id: I84cd4587db5adb96f6f29148adb242905f53f2dc
ackageManager.java
|
7ea3a33d72cea41a836c965f7b6c86eda32b4980 |
13-May-2015 |
Jonathan Basseri <misterikkit@google.com> |
Fix typo possibly -> possible. Change-Id: I3729109620355a2dd8343210354aace5008dcc68
ackageManager.java
|
a5c24e3bfe60770ac3180aac15df6c14dbf3bd4a |
13-May-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add IntentFilter auto verification - part 9" into mnc-dev
|
ef741da4d434b1eb95cc63dd1e5ded551795e44a |
13-May-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add IntentFilter auto verification - part 9 - make verifyIntentFilter(int, int, List<String>) a SystemApi See bug #19628271 Change-Id: I8b1f29da385867beb8b19829c124db1821450c41
ackageManager.java
|
b3f22b48bbd4e4816212e596e3cb612457d48fe5 |
12-May-2015 |
Svet Ganov <svetoslavganov@google.com> |
Runtime permissions for system components not revokable - framework Change-Id: I5b1d7bb1618ffa8d1231618ece47d0905c82f7bf
ackageManager.java
|
227d42db5bd1bd16b6101f799052c10f4f493647 |
12-May-2015 |
Ricky Wai <rickywai@google.com> |
Merge "Fix LauncherActivityInfo.getBadgedIcon() cannot get high density icon" into mnc-dev
|
8c7f700a59ad26e75c9791335d78f14322cad49a |
07-May-2015 |
Svet Ganov <svetoslavganov@google.com> |
Add permission meta-state flags to support grant/revoke permission policy. We now maintain a mata-state with each permission in the form of flags specyfying the policy for this permission. This enables support of the following use cases: 1. The user denies a permission with prejudice in which case an app cannot request the permission at runtime. If an app requests such a permssion it gets a denial unless the user grants the permission from settings. 2. A legacy app with disabled app-ops being upgraded to support runtime permissions. The disabled app ops are converted to permission revocations. The app ops manager is a part of the activity manger which sits on top of the package manager, hence the latter cannot have a dependency on the former. To avoid this the package installer which is the global permission managment authority marks the permission as revoked on upgrade and the package manager revokes it on upgrade. 3. A device policy fixing a permission in a granted or revoked state. This additional information is folded in the meta-state flags and neither apps can request such permissions if revoked not the user can change the permission state in the UI. Change-Id: I443e8a7bb94bfcb4ff6003d158e1408c26149811
PackageManager.aidl
ackageManager.java
|
cdcb57791f8392ae37bf80deb33b3d0282260405 |
07-May-2015 |
Glenn Kasten <gkasten@google.com> |
Add feature for pro audio The specification for CDD is in progress Bug: 20877157 Change-Id: Iaf37b2ccb21562170a080b53668a41b85c410241
ackageManager.java
|
261208e002775fe9a9f4e79e9f70b41852cfbe60 |
05-May-2015 |
Alan Viverette <alanv@google.com> |
Merge "Add API for obtaining changing configurations bitmask from Theme" into mnc-dev
|
c1d527926e1c82828e42bdc0c7abf50f6decc0a7 |
05-May-2015 |
Alan Viverette <alanv@google.com> |
Add API for obtaining changing configurations bitmask from Theme Required to know when to reload the system context's theme in response to configuration changes, and thus needed to support the DayNight theme. Bug: 20267825 Change-Id: I7df5e28b7a6d8b611ea030032544cf4800788514
ctivityInfo.java
|
4a64b19f239b6bff82a032329ce5781681843044 |
05-May-2015 |
Svet Ganov <svetoslavganov@google.com> |
Merge "Permission UI - legacy apps support" into mnc-dev
|
019d2304998f3ed77c0a608df6cf4bea1138f8dc |
04-May-2015 |
Svet Ganov <svetoslavganov@google.com> |
Permission UI - legacy apps support Change-Id: Id3f98c138422d33868363d587dd196898b42a0d4
PackageManager.aidl
|
1281b1809f0c3d4e0dfe185f7974ac930e260311 |
29-Apr-2015 |
Ricky Wai <rickywai@google.com> |
Fix LauncherActivityInfo.getBadgedIcon() cannot get high density icon LauncherActivityInfo.getBadgedIcon() could not get high density icon, because ResolveInfo.getIconResource() always return 0 when it is a badged. Bug: 19816250 Change-Id: I94db6482ce34b9ad627771d73999228e4e133644
auncherActivityInfo.java
esolveInfo.java
|
303650c9cdb7cec88e7ec20747b161d9fff10719 |
18-Apr-2015 |
Matthew Williams <mjwilliams@google.com> |
Add full backup criteria to android manifest BUG: 20010079 Api change: ApplicationInfo now has a fullBackupContent int where -1 is (off) 0 is (on) and >0 indicates an xml resource that should be parsed in order for a developer to indicate exactly which files they want to include/exclude from the backup set. dd: https://docs.google.com/document/d/1dnNctwhWOI-_qtZ7I3iNRtrbShmERj2GFTzwV4xXtOk/edit#heading=h.wcfw1q2pbmae Change-Id: I90273dc0aef5e9a3230c6b074a45e8f5409ed5ce
pplicationInfo.java
ackageParser.java
|
83bb765b046a3c6d90abbd65545d4532f647ae14 |
01-May-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add IntentFilter auto verification - part 7" into mnc-dev
|
1de3f0dcafb0c5ceb3d9bec96a5c630bb8d4a515 |
30-Apr-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add IntentFilter auto verification - part 7 - update packages priming so that it effectively save its data - use ArraySet instead of ArrayList for list of domains (a set is preferable as we dont want duplicates) See bug #19628909 Change-Id: I52085f4bc28dcbc7fbc02ba0898abcd4ae9cf1e2
ntentFilterVerificationInfo.java
|
e31b820dad4c5f2b19ee10479a675a139ad3c61e |
30-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
New "frozen" state during app move/upgrade. This replaces mOperationPending, which was in an odd place. It adds a new PackageSetting.frozen flag that is a last-ditch effort to prevent ActivityManager from starting an app while it's being moved or upgraded. Also provides clearer guarding around all upgrades by freezing, killing, upgrading, then unfreezing. Bug: 20275579 Change-Id: I28bb0359a6f4e05080fb336b18dd2a249509d989
PackageManager.aidl
ackageParser.java
|
50a05454795c93ac483f5cb6819e74cb17be1b5b |
29-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Returning to wizard, split move events. Finish wiring up notifications to jump back into in-progress wizard flow, using moveId as identifier. Split move events back into separate creation and progress events, and pass details as bundle to pass extra stuff like UUID. Null package still means moving primary storage. Add explicit "volume forgotten" event for PackageManager to clean up internal state with. Plumb through internal path reported by vold, and bring back FUSE bypass rewriting optimization. Bug: 19993667 Change-Id: I0f43edbba36c58c5cd33550022c54c4eb9f01a48
PackageMoveObserver.aidl
ackageManager.java
|
b36586a7c9b7718f33961406537e27bbd9b16211 |
27-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Split some VolumeInfo state into VolumeRecord. VolumeRecord is a historical record of a volume that we've seen in the past. It's now surfaced outside the framework for SystemUI to drive the notifications that bug users to reinsert missing private volumes. Show progress notifications for both storage and package movement operations. Notify when an empty disk is inserted (no usable volumes) which launches into the normal format flow. Add API to forget volumes. Bug: 20275424, 20275424 Change-Id: I75602c17fdcd4d1f1f62324e1a08c4a33093eefa
PackageMoveObserver.aidl
ackageManager.java
|
9f7e39fc9d278642a29df48daf44dceff11acd17 |
11-Apr-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Use Default Browser App for IntentResolution when needed - add MATCH_ALL as a new flag for telling that all results need to be returned (even if there is some sort of filtering done). - take into account the default Browser App for Intent resolution - also, dont do any domain verification priming for non system app See bug #20144393 Change-Id: Iddd1f2029e3bbf3b99ebc5f416dc7f17e5bad10c
ackageManager.java
|
620b32b316fd4f1bab4eef55ec8802d14a55e7dd |
24-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Package and storage movement callbacks. Since package and primary storage movement can take quite awhile, we want to have SystemUI surface progress and allow the Settings app to be torn down while the movement proceeds in the background. Movement requests now return a unique ID that identifies an ongoing operation, and interested parties can observe ongoing progress and final status. Internally, progress and status are overloaded so the values 0-100 are progress, and any values outside that range are terminal status. Add explicit constants for special-cased volume UUIDs, and change the APIs to accept VolumeInfo to reduce confusion. Internally the UUID value "null" means internal storage, and "primary_physical" means the current primary physical volume. These values are used for both package and primary storage movement destinations. Persist the current primary storage location in MountService metadata, since it can be moved over time. Surface disk scanned events with separate volume count so we can determine when it's partitioned successfully. Also send broadcast to support TvSettings launching into adoption flow. Bug: 19993667 Change-Id: Ic8a4034033c3cb3262023dba4a642efc6795af10
PackageManager.aidl
PackageMoveObserver.aidl
ackageManager.java
|
7f95a00ec0ed9d48579e758249e7ffb06371b2b8 |
22-Apr-2015 |
Todd Kennedy <toddke@google.com> |
Add hardware feature describing a car We need to define a hardware feature for when Android is running embedded on a vehicle's headunit. This is not applicable when running Android on a phone and projecting onto a headunit. Bug: 20016089 Change-Id: I70e94564f7493afe70a49bf582a627c5ea9f0a60
ackageManager.java
|
52dbaa08cdb7866fa51f98e4572f17077c492554 |
22-Apr-2015 |
Neil Fuller <nfuller@google.com> |
Merge "Add checks for types in Parcel / avoid class initialization"
|
d14a15a75439ebdbe880979066157280c76428d2 |
22-Apr-2015 |
Alex Klyubin <klyubin@google.com> |
Merge "Document that WebView doesn't honor "uses cleartext traffic" flag."
|
fbf4599a8edfc31585f207c434d35200a03657b4 |
21-Apr-2015 |
Alex Klyubin <klyubin@google.com> |
Document that WebView doesn't honor "uses cleartext traffic" flag. Bug: 19215516 Change-Id: I5dbbaa03f3cae007c0b9b68fcf8cc8f250c16a62
pplicationInfo.java
|
44e440cc7e834de7811f005998acb32716835b00 |
20-Apr-2015 |
Neil Fuller <nfuller@google.com> |
Add checks for types in Parcel / avoid class initialization Make Parcel more stringent to avoid initializing classes that are not related to Parcelable. Two new checks: 1) That the class found on the stream implements Parcelable. 2) That the type of the CREATOR field declared on the class found on the stream actually implements Parcelable.Creator. For (1) the new check that a class in the stream is actually Parcelable. This will affect handling of invalid streams or code that didn't obey the requirements. For (2) this change could break some apps that had a CREATOR field in a Parcelable class that was not declared to be (at least) a Parcelable.Creator: it is no longer sufficient for the type to implement Parcelable.Creator, the field must be declared as such. This change includes doc updates for Parcelable to make the requirement around the declared type of the CREATOR field more concrete. This change also makes the generics slightly tidier/explicit, annotates code as unchecked where needed and removes some assumptions that can not be guaranteed with Java's type system and the current definitions. For example, there's no guarantee right now that Parcelable.Creator returns objects that are actually Parcelable, or that the CREATOR object associated with a Parcelable will return objects of the surrounding class. The first we can't do something about without breaking the public API (due to implementations like TextUtils.CHAR_SEQUENCE_CREATOR). The second is currently typically implicitly enforced with an implicit cast in the (app's) calling code (e.g. callers to readParcelable() that causes a language-introduced cast to the type expected). A larger refactoring of Parcel would be required to ensure that the class that is produced by Creator is of a type compatible with the class that declared CREATOR, and is not a goal for this change. A fix is included for a class that doesn't implement Parcelable like it should and would probably fail check (1). Bug: 1171613 Change-Id: I31d07516efee29a320e80f4bc4f96aaac628f81c
ackageCleanItem.java
arceledListSlice.java
|
5892c9a2e2675323d13a8a2d64b46ecfcff8d424 |
20-Apr-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Potential fix for apps disappearing in launcher on system server crash Based on Ifda3fda209141b361a286fc033217acfa0ec196e Bug: 20420558 Change-Id: Icfcaf585b8a19853fe2c0fd0e4f06a2efc087938
auncherApps.java
|
529f91fc8e7e884ef19bef8eb3e4e3a1d69336f4 |
19-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Always send volume UUID with installd commands. Since packages can be moved to other volumes, all relevant commands to installd now require an explicit volume UUID parameter. Bug: 20275577 Change-Id: Ie84f5bc43c7aada5800b8d71692c7928b42b965e
PackageManager.aidl
ackageManager.java
|
6041cc1a07511fe8fe913793b9743e32c9b507c6 |
17-Apr-2015 |
Wale Ogunwale <ogunwale@google.com> |
Merge "Added attribute showForAllUsers that deprecates showOnLockScreen"
|
35075a07659254413b587b7a6557a1b922d8757f |
17-Apr-2015 |
Alex Klyubin <klyubin@google.com> |
Merge "Document usesCleartextTraffic app-level attribute."
|
6dfdfd6741c5a3dd8d8a49ddbd6ee5dfe2fd292d |
15-Apr-2015 |
Wale Ogunwale <ogunwale@google.com> |
Added attribute showForAllUsers that deprecates showOnLockScreen The new name is more meaningful to what the attribute actually does. Also, force the FLAG_SHOWN_WHEN_LOCKED flag for windows that belong to acitivties with the showForAllUsers attribute set. Bug: 20227306 Change-Id: Ifd49166c3ec0e67ae43addc0fb30038523332ea5
ctivityInfo.java
ackageParser.java
|
bd3af28fdc38cfe741badb86f9daa2fc6122eabc |
16-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Candidate volumes for packages, fix symlink."
|
e2d45be4dae116307f8edd85eaa61134221cb8f9 |
16-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Candidate volumes for packages, fix symlink. Add API to determine the possible candidate volumes that a package can be moved to. For example, it currently knows that we need to move ASEC-based apps through internal storage before migrating them to a private volume. Comparator for consistent VolumeInfo ordering when displayed in UI. Fix native library symlink to be volume UUID aware. Bug: 19993667 Change-Id: I68d5fac5f0f776ac1c7dd15e7a984bfe2704f3f7
pplicationInfo.java
ackageManager.java
|
e35cefbf23ec2fe55e8be9e4d20fc9adf4374171 |
15-Apr-2015 |
Alex Klyubin <klyubin@google.com> |
Document usesCleartextTraffic app-level attribute. This updates the documentation of the application element of AndroidManifest.xml to mention the new android:usesCleartextTraffic attribute. This also updates the Javadoc of android.security.NetworkSecurityPolicy and ApplicationInfo to match. Bug: 19215516 Change-Id: I5c221b56addae8988b4db51994d18ae379d0fbe3
pplicationInfo.java
|
15df08abd8190353e1430f88c2ed6462d72a5b25 |
01-Apr-2015 |
Craig Mautner <cmautner@google.com> |
Introduce android:lockTaskMode The ability for tasks to be started in locktask mode or pinned is dependent on the value of android:lockTaskMode for the root activity of the task. For bug 19995702 Change-Id: I514a144a3a0ff7dbdd4987da5361b94bdfe9a437
ctivityInfo.java
ackageParser.java
|
1742cfbd8a1458e66f98a56f359590ce3263e161 |
15-Apr-2015 |
Amith Yamasani <yamasani@google.com> |
Always set the dataDir for the given userId Don't try to optimize for userId != 0 when generating the ApplicationInfo. Change-Id: I2eb2d43f36677a781643a1e86a19c8850d517411
ackageParser.java
|
6036cd51265d31c08eefe0470a9f37e7f757aae8 |
11-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Support moving apps to expanded storage."
|
30ca50a3ddf35e6426e7b561b95e0864885de6d5 |
11-Apr-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add Default Browser App support and relax Hosts validation for AppLinks"
|
6227172310663e1267b1fabd68be890a1cb7e145 |
11-Apr-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add Default Browser App support and relax Hosts validation for AppLinks - add private PackageManager APIs for setting/getting the default Browser App package name - serialize / deserialize the default Browser App package name per User Also relax the Hosts name validation for the AppLinls feature. Now we just care if the IntentFilter is having an HTTP or HTTPS scheme. Change-Id: I4436f66ac6beff57e14f7f3a2a00b0b582c03be9
PackageManager.aidl
ackageManager.java
|
c5d8d88b12ac855e7150e4a1717d1a6a1bfbfba4 |
10-Apr-2015 |
Ashutosh Joshi <ashutoshj@google.com> |
Merge "Adding a feature string for high capability sensors."
|
eae371bf6f34a838b1209e491414bd306f68f7a3 |
09-Apr-2015 |
Ashutosh Joshi <ashutoshj@google.com> |
Adding a feature string for high capability sensors. Adding a feature string for higher capability sensor platforms. The string is supposed to signal the availability of lower power and higher accuracy sensor processing on a supporting device. Change-Id: I8093065278589fc9cc41fcc7f9b898c7eae20dff
ackageManager.java
|
b9f3674c11ed9c89b80a69f728cbc5f540b2ecde |
09-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Support moving apps to expanded storage. Start deriving the data path for apps based on the volume UUID where the app lives. This path is used for all higher-level APIs, giving us a clean place to switch app storage. When parsing a package, keep track of the volume UUID where it lives and update PackageSetting once installed. For now continue treating moves as installs, but we'll eventually clean this up to avoid the additional dexopt pass. Wire up move to use the new installd command to move private data between devices. Cache LoadedApk only for the current user, since otherwise the data dir points at the wrong path. Bug: 19993667 Change-Id: I53336e3b147d5fd3130e6800869af172b628da37
ackageManager.java
ackageParser.java
|
e48c137acdddd477d671417eb93ec120a1931cbb |
10-Apr-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add IntentFilter auto verification - part 5 - optimize IntentFilter verification: dont do stuff we dont want if we dont need to do them. - improve IntentFilter candidates filtering and also improve at the same time fix for bug #20128771: we can return the candidates list rigth the way if the Intent is not related to a Web data URI and include the "undefined verification state" ones if the first filtering pass does not leave any. Change-Id: I19f5c060f58b93530e37b4425d19ed23d2a0f4c0
ackageParser.java
|
7d014cec63939f7aca2a8014f45cd4c9a3e1aa0c |
09-Apr-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add IntentFilter auto verification - part 4 - add domain verification priming at boot when the PackageManagerService singleton is created. This will mainly set the domain verification status to INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS for all Apps that have an IntentFilter with action VIEW and data scheme HTTP or HTTPS. - also optimize Intent resolution by taking into account Browser Apps Change-Id: Id8e66c9759a99e79b07051595ca89a168dc5ae0e
ntentFilterVerificationInfo.java
ackageParser.java
esolveInfo.java
|
cd890311fb5d8240fb3df703befa202efe0ff60c |
08-Apr-2015 |
Svetoslav <svetoslavganov@google.com> |
Merge "Apps can request permissions only on platforms that have runtime permissions."
|
0788595e0c9bc5e8c1907c63db595010006ef5b4 |
07-Apr-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add IntentFilter auto verification - part 3 - add private API PackageManager.getAllIntentFilters(String) for getting all IntentFilters from a given package - update IntentFilterVerificationInfo to use an ArrayList<String> for domains instead of a String[] - if you make an App a default domain handler then make the others as non default - create an IntentVerificationInfo even if the App IntentFilters do not need to be verified. This would be done only if the App has some domain URLs defined and would allow to make it the default handler for a domain - a few code optimizations here and there Change-Id: I4535372a0bb1a2c8e662e1485be8ca700003e9b3
PackageManager.aidl
ntentFilterVerificationInfo.java
ackageManager.java
|
96a77167c8247d3128efbd4a9456a49845bdb9cf |
03-Apr-2015 |
Svetoslav <svetoslavganov@google.com> |
Apps can request permissions only on platforms that have runtime permissions. Change-Id: Id0e53c37c9d472287f5bd6a610d446aef6b695b9
ackageParser.java
|
d95e58cb609228c4c4b231e00d6bb648e9dcaf71 |
07-Apr-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Merge "Load libraries directly from apk"
|
dec4688f40b0018fbd1f00db05581966f531d88f |
01-Oct-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Load libraries directly from apk Introduced new 'extractNativeLibs' attribute to manifest/application. Setting it to false prevents installer from extracting library from apk. The default value for extractNativeLibs is true. Bug: 8076853 (cherry picked from commit ff193d642eea7128faad837d19e347cd25212c27) Change-Id: I1aa2c039bb2a590ae72f256acc9ba5401c2c59b1
pplicationInfo.java
ackageParser.java
|
39fb7fd730dc2113ced7e663d7a35e48a4c6b1ae |
18-Feb-2015 |
Benjamin Franz <bfranz@google.com> |
Allow silent package install for device owner. Allow the device owner to silently install and remove packages using the PackageInstaller APIs. Show notifications to the user after the installation / deletion was successful. Bug: 19422461 Change-Id: I0506e18c510efd9d04c4aea9b60a37456e689615
PackageInstaller.aidl
ackageInstaller.java
|
b2b9ab8354da1485178cd8d8e9d89ac915b3f269 |
06-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Installing packages to expanded storage. PackageManager now offers to load/unload packages when expanded volumes are mounted/unmounted. Expanded storage volumes are still treated as FLAG_EXTERNAL_STORAGE from a public API point-of-view, but this change starts treating the INSTALL_EXTERNAL flag as exclusively meaning ASEC containers. Start tracking the UUID of the volume where a package is installed, giving us a quick way to find relevant packages. When resolving an install location, look across all expanded volumes and pick the one with the largest free space. When upgrading an existing package, continue preferring the existing volume. PackageInstaller now knows how to stage on these volumes. Add new movePackage() variant that accepts a target volume UUID as destination, it will eventually move data too. Expose this move command through "pm" command for testing. Automount expanded volumes when they appear. Bug: 19993667 Change-Id: I9ca2aa328b9977d34e8b3e153db4bea8b8d6f8e3
pplicationInfo.java
PackageManager.aidl
ackageInstaller.java
ackageManager.java
ackageParser.java
|
e012a235569fe307d165dfd0784ae847d0b13739 |
02-Apr-2015 |
Christopher Tate <ctate@google.com> |
Back up / restore preferred app configuration Bug 19848104 Change-Id: I84cdfcc44b48a9732984955d7eedf745b5586bdd
PackageManager.aidl
|
96bba82ac4295f68ef956ecae7ee169eb3c271d1 |
03-Apr-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add private flag PRIVATE_FLAG_HAS_DOMAIN_URLS to ApplicationInfo"
|
d3d8a32217d5a2d895917cfe7e1645935d228494 |
02-Apr-2015 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add private flag PRIVATE_FLAG_HAS_DOMAIN_URLS to ApplicationInfo This is for supporting Settings UX and Domain URLs - the new PRIVATE_FLAG_HAS_DOMAIN_URLS flag will be set by generateApplicationInfo() when the Activity is said to have some IntentFilter with a VIEW action and a http / https data URI - code cleaning for args passing - also add a new constant for the MetricsLogger Change-Id: I5c9762fc2c4a9b46c0e255b9a23bffd70fae40c7
pplicationInfo.java
PackageManager.aidl
ackageParser.java
|
c38a54b1f076b86453041755e15504fd0b4d48af |
03-Apr-2015 |
Fyodor Kupolov <fkupolov@google.com> |
am 30c688da: am 031898df: am 3d8b7f4d: Merge "Support for storing OAT files in app directory" * commit '30c688da8bd2b3320446a06424e1cc57b693522a': Support for storing OAT files in app directory
|
6cd6cec2adae647ca6ec3aa7ef3288cbb1f814b1 |
01-Apr-2015 |
Craig Mautner <cmautner@google.com> |
Revert "Add lockTaskOnLaunch attribute." This reverts commit 0fb1cb56abf708291c09c783463408c7074ae9a7.
ctivityInfo.java
ackageParser.java
|
0fb1cb56abf708291c09c783463408c7074ae9a7 |
31-Mar-2015 |
Craig Mautner <cmautner@google.com> |
Add lockTaskOnLaunch attribute. The new AndroidManifest activity attribute, lockTaskOnLaunch attribute is a boolean that puts the system in lockTask mode when true and if the activity specified is the root of a privileged task. This bug also fixes lockTask mode for root activities that finish themselves. Previously finish was not allowed even if there were activities left in the task that were still valid. A NullPointerException for lock task toasts has also been fixed. Fixes bug 19995702. Change-Id: Iba6976b1a0cc5a22eb526db66d2e9af66445541f
ctivityInfo.java
ackageParser.java
|
b12dcfb1b12c13e01743567145f01e7d389afdbb |
30-Mar-2015 |
Narayan Kamath <narayan@google.com> |
Remove org.apache.http.legacy for declared shared lib lists. We currently unconditionally include this shared library in the boot classpath, so attempts to compile it will fail resulting in unnecessary logspam. Change-Id: Iafe9b2e725e10d939cd39dd4a816a146a6031baf
ackageParser.java
|
b94c1657eb0140f7b91f5372a9f76de5a3d87e36 |
03-Mar-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Support for storing OAT files in app directory In installPackageLI, dexopt is now performed on a staging directory of the app (dexopt phase 1). For each codepath: - /oat/<isa> directory is created - dexopt output goes to the newly created directory. Optimized files have .odex extension. Bug: 19550105 Change-Id: Iec59790d97837b78af82b079fd1970de3388c91d
pplicationInfo.java
ackageParser.java
|
1c1b47125da018b44240739db75f8898e064a948 |
20-Nov-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add IntentFilter auto verification The purpose of this feature is to prompt the Disambiguation dialog to Users as less as possible. - add the new "autoVerify" property to the IntentFilter class - add new APIs to PackageManager: verifyIntentFilter(int, int, List<String>), getIntentVerificationStatus(String, int), updateIntentVerificationStatus(String, int, int), getIntentFilterVerifications(String) for supporting IntentFilter verification - add support for multi-user - update PackageManager for IntentFilter verification: basically when we are installing a new package, ask for verification of all domains from the IntentFilters that have the "autoVerify" to true. This means that the PackageManager will send a well defined protected broadcast (with a new INTENT_FILTER_NEEDS_VERIFICATION action) to an IntentFilter verifier to do the real job of verification. We are passing in the broadcast Intent all the necessary data for doing the verification. The PackageManager will receive as response the result code of the domain verifications and, if needed, the list of domains that have failed the verification. - add a new INTENT_FILTER_VERIFICATION_AGENT permission that needs to be set by an intent filter verifier to be considered as a trustable party by the PackageManager. - add also a new BIND_INTENT_FILTER_VERIFIER permission for securing the binding between the PackageManager and a service doing the intent filter verifications. - add ResolveInfo filterNeedsVerification which is a boolean to knows if the IntentFilter is of a type that needs a verification (action VIEW, category BROWABLE, HTTP/HTTPS data URI) - add new "domain-preferred-apps" / "d" dump command for listing the prefered Apps for all domains - add new "intent-filter-verifiers" / "ivf" command for listing the IntentFilterVerifier used - introduce the IntentVerificationService which is a basic service for verifying IntentFilters. This service will send HTTPS requests to the domain declared in the IntentFilter(s) for doing the verification. This service has a low priority level so that it can be replaced by a more sophisticated one if needed. This service is updating the PackageManager intent verification states thru the updateIntentVerificationStatus(...) API. - update MockPackageManager Change-Id: I0bfed193d0bf1f7c7ac79f6c1b160b7ab93b5fb5
PackageManager.aidl
ntentFilterVerificationInfo.aidl
ntentFilterVerificationInfo.java
ackageManager.java
ackageParser.java
ackageUserState.java
esolveInfo.java
|
5781cd5b218dc3e5a19d8f69e6fb9f310bed4df6 |
27-Mar-2015 |
Mike Lockwood <lockwood@google.com> |
Make the MIDI Manager optional, enabled by "android.software.midi" feature Change-Id: I76d442ea28beea4b9e2876bfef501d8f61403702
ackageManager.java
|
545ebdefd25e4bbc0c7353df38f852f7ba982971 |
27-Mar-2015 |
Alex Klyubin <klyubin@google.com> |
Merge "Unhide public API about cleartext traffic policy."
|
7cb000ff56babf18d39ab0aa31dfc5dcac0bf11e |
26-Mar-2015 |
Alex Klyubin <klyubin@google.com> |
Unhide public API about cleartext traffic policy. Bug: 19215516 Change-Id: I5da81a36c2f3d0edcf715a5f1b14b0a56c7abc6d
pplicationInfo.java
|
dcc36bf2a4c0ce863676affcb3cbdd0586a4f888 |
25-Mar-2015 |
Flavio Lerda <flerda@google.com> |
Dump sharedLibraryFiles in a readable way. Currently, we are dumping sharedLibraryFiles using the default toString() method, which for an array returns a not so useful string. Instead, use Arrays.toString() to get out something that is more useful. Change-Id: I717e37ab38ed784a327fad59d63536ae2c56576a
pplicationInfo.java
|
3695b8a1488a6cc331feba1c2ab359888656bf7c |
25-Mar-2015 |
Svet Ganov <svetoslavganov@google.com> |
First implementation of the grant/revoke UI Change-Id: Icdb7c822881552b30850697dba709671bf27baa5
ackageParser.java
|
6a225edccda80b38f4d249d9befdbcf0769c0446 |
24-Mar-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Merge "Load libraries directly from apk"
|
95c1adea0c5fe10ceba217a327163757f4589d3d |
19-Mar-2015 |
Svet Ganov <svetoslavganov@google.com> |
Add install option to grant all runtime permissions. Change-Id: I72ba67a72025646a3d53611621b0353d3a86677c
ackageManager.java
|
c6d1c345f41cf817bf2c07c97b97107d94296064 |
26-Feb-2015 |
Svetoslav <svetoslavganov@google.com> |
Runtime permissions: per user permission tracking. Before all permissions were granted at install time at once, so the user was persented with an all or nothing choice. In the new runtime permissions model all dangarous permissions (nomal are always granted and signature one are granted if signatures match) are not granted at install time and the app can request them as necessary at runtime. Before, all granted permission to an app were identical for all users as granting is performed at install time. However, the new runtime model allows the same app running under two different users to have different runtime permission grants. This change refactors the permissions book keeping in the package manager to enable per user permission tracking. The change also adds the app facing APIs for requesting runtime permissions. Change-Id: Icbf2fc2ced15c42ca206c335996206bd1a4a4be5
PackageManager.aidl
ackageInfo.java
ackageManager.java
ackageParser.java
|
e7666f9e45461111a5ff2da67ad8ecc9ab740d1f |
23-Mar-2015 |
Wale Ogunwale <ogunwale@google.com> |
Merge "Default ActivityInfo.resizeable to false for all SDK versions."
|
ff193d642eea7128faad837d19e347cd25212c27 |
01-Oct-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Load libraries directly from apk Introduced new 'extractNativeLibs' attribute to manifest/application. Setting it to false prevents installer from extracting library from apk. The default value for extractNativeLibs is true. Bug: 8076853 Change-Id: I1aa2c039bb2a590ae72f256acc9ba5401c2c59b1
pplicationInfo.java
ackageParser.java
|
abfcc22ddf3010ca06b979d3bd0f03ebcf854631 |
20-Mar-2015 |
Wale Ogunwale <ogunwale@google.com> |
Default ActivityInfo.resizeable to false for all SDK versions. Bug: 19347452 Bug: 19865400 Change-Id: I2afbcdb9c876c756b14068efc750093057f0b865
ackageParser.java
|
160a253d48d81066c7dfaf7e21aca63942df75b8 |
19-Mar-2015 |
Alex Klyubin <klyubin@google.com> |
am d71f548f: am 4177b8cb: Merge "Add app-level usesCleartextTraffic manifest attribute." * commit 'd71f548f4803f0696af7de9a2989673cfd83800f': Add app-level usesCleartextTraffic manifest attribute.
|
dd0d4b75794081e873977a5480d3d1dbff270d05 |
18-Mar-2015 |
Alan Viverette <alanv@google.com> |
Merge "Enable/disable hardware rendering on windows by application tag"
|
9b0ab65ed46be992dd71b5f811bb972168e51c36 |
18-Mar-2015 |
Alan Viverette <alanv@google.com> |
Enable/disable hardware rendering on windows by application tag Previously, hardware rendering cannot be enabled or disabled on windows created without a parent activity (e.g. by services) by setting the <application> tag, "android:hardwareAccelerated" in AndroidManifest.xml. It's enabled by default in Android L from the commit, 5e1565ead6dbb7d5c414522591f61b16a23de1c3. This patch provides a way of setting hardware rendering for that case. Change-Id: I60ee9566e99db39cd661fe6f196f43c3968b311a Signed-off-by: Dohyun Lee <dohyun.lee@lge.com>
pplicationInfo.java
ackageParser.java
|
07459a36177411595df2d6d0993d3dc489fa302b |
18-Mar-2015 |
Ed Heyl <edheyl@google.com> |
Merge "Fix build: Revert "Enable/disable hardware rendering on windows by application tag""
|
1445469b9e011feb51be4f789779dc6f5828ef9b |
18-Mar-2015 |
Ed Heyl <edheyl@google.com> |
Fix build: Revert "Enable/disable hardware rendering on windows by application tag" This reverts commit ae114d2eb4f2720e0435623e49ff091e2308c18c. Change-Id: I5400c9aa121491164e8739892408c377b99f3980
pplicationInfo.java
ackageParser.java
|
78d9de97a624f4edd0d9ad028e084f98e523e5e8 |
18-Mar-2015 |
Alan Viverette <alanv@google.com> |
Merge "Enable/disable hardware rendering on windows by application tag"
|
ae114d2eb4f2720e0435623e49ff091e2308c18c |
18-Mar-2015 |
Alan Viverette <alanv@google.com> |
Enable/disable hardware rendering on windows by application tag Previously, hardware rendering cannot be enabled or disabled on windows created without a parent activity (e.g. by services) by setting the <application> tag, "android:hardwareAccelerated" in AndroidManifest.xml. It's enabled by default in Android L from the commit, 5e1565ead6dbb7d5c414522591f61b16a23de1c3. This patch provides a way of setting hardware rendering for that case. Change-Id: I08ce58a8644970a2a18407e83ad317a72a2dad10 Signed-off-by: Dohyun Lee <dohyun.lee@lge.com>
pplicationInfo.java
ackageParser.java
|
01a959d60a2c5f04ab240513a853d7845b3a309e |
18-Mar-2015 |
Alex Klyubin <klyubin@google.com> |
Add app-level usesCleartextTraffic manifest attribute. The attribute declares whether the app intends to use cleartext network traffic (e.g., HTTP, WebSockets, XMPP, SMTP, IMAP -- without TLS or STARTTLS). The default value is true. If set to false, the app declares that it does not intend to use cleartext network traffic. In this case the app requests the platform, tooling, and third-party libraries to prevent it from using cleartext traffic. The danger of cleartext network traffic is that its confidentiality, authenticity, and integrity are not guaranteed. This feature is designed to help apps which care about security of data exchanged over the network. These apps can accidentally regress/downgrade to using cleartext network communications. This typically happens when the server the app communicates with all of a sudden tells it to use cleartext communications (e.g, HTTP URL instead of an HTTPS URL) or when one of the components of the app gets updated and regresses to cleartext communications without the developer noticing. In general, the prevention measures are on best effort basis. It's impossible to automatically prevent all instances of cleartext traffic. For example, an app bent on bypassing restrictions could perform low-level network I/O with unusual TCP packet fragmentation, or could use a custom application-level protocol. The expectation is that most apps use libraries for network communications and these libraries over time will start to honor this flag, thus increasing the protections offered by it. Bug: 19215516 Change-Id: I8700d51ddbc5d528faa4b6a5fa5bc9551ad02d13
pplicationInfo.java
ackageParser.java
|
38e6425bb490fbc65c1d0d74cdca205b4db4197d |
18-Mar-2015 |
John Spurlock <jspurlock@google.com> |
Update package manager documentation. Out lists are required to be non null. Change-Id: I87b586a90f9f221bbea6f6f18135bfcdd65680c2
ackageManager.java
|
8458e531bfc681ebb0de98476d782ca4d052a145 |
16-Mar-2015 |
Nicolas Prevot <nprevot@google.com> |
Merge "Remove the owner userid of cross-profile intent filters."
|
7487657ee9f3f91a1fb4e52ce2a03b56496ac1f4 |
24-Feb-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Extracted a separate class to run dexopt on packages performDexOptLibsLI and related methods were extracted to PackageDexOptimizer class. Minor refactoring of PackageManagerService. This is a non-functional change. It should simplify further work to allow storing OAT files inside package dir. (cherry picked from commit eeea67b8c3678d882d3774edc41242c63daa60fa) Change-Id: I3494a2da70605362bb6fb4625ffbee1cbe1cd457
pplicationInfo.java
ackageParser.java
|
1c2bf03d1082fc6b7eb42cbd163c60c07cf2bccc |
02-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Annotate return values with @CheckReturn Change-Id: Icd8fb6adb591ccd7f35f2336ae716b198abf69c5
ackageManager.java
|
4b8d5821512c6a4fdaf442f6d48e1dc412539136 |
05-Mar-2015 |
Nicolas Prevot <nprevot@google.com> |
Remove the owner userid of cross-profile intent filters. The owner user id was used to identify in which user an app had set a cross-profile intent filter. But it's not really necessary. BUG:19505190 Change-Id: Iacc49d31c95e34efee1895e5fbe7224277dbc493
PackageManager.aidl
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
auncherApps.java
|
eeea67b8c3678d882d3774edc41242c63daa60fa |
24-Feb-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Extracted a separate class to run dexopt on packages performDexOptLibsLI and related methods were extracted to PackageDexOptimizer class. Minor refactoring of PackageManagerService. This is a non-functional change. It should simplify further work to allow storing OAT files inside package dir. Change-Id: I3494a2da70605362bb6fb4625ffbee1cbe1cd457
pplicationInfo.java
ackageParser.java
|
7b9c912f536925ac6ec43935d6e97506851b33d6 |
31-May-2013 |
Tor Norbye <tnorbye@google.com> |
Add @ResourceInt annotations on APIs Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
ackageManager.java
|
259e76153255e4d7c6d6c14af77936fe060e7038 |
11-Feb-2015 |
Fyodor Kupolov <fkupolov@google.com> |
RegisteredServicesCache now saves files to a user-specific dir Previously, its state was saved in a single xml file inside /data/system/registered_services. Services are now stored in separate files stored in a user-specific dir. A one-off migration step was added, which runs, when the system discovers a file in the old format. Bug:19321135 Change-Id: Ie92be01047f4855d01352b6a304820b37344ae2c
egisteredServicesCache.java
|
05ecfd308d983755bc7cab39ba99a37c321f176b |
11-Feb-2015 |
Alex Klyubin <klyubin@google.com> |
am 33d3c53d: resolved conflicts for merge of 517e0274 to lmp-mr1-dev-plus-aosp * commit '33d3c53da021f0d044028860ace0f4ad817273f5': Move hidden ApplicationInfo flags into a separate field.
|
33d3c53da021f0d044028860ace0f4ad817273f5 |
11-Feb-2015 |
Alex Klyubin <klyubin@google.com> |
resolved conflicts for merge of 517e0274 to lmp-mr1-dev-plus-aosp Change-Id: Ic20b6c8851458483dd73a144bd5ae6e8d141e62a
|
b9f8a5204a1b0b3919fa921e858d04124c582828 |
03-Feb-2015 |
Alex Klyubin <klyubin@google.com> |
Move hidden ApplicationInfo flags into a separate field. The public API field android.content.pm.ApplicationInfo.flags can support only 32 flags. This limit has been reached. As a short term workaround to enable new public flags to be added, this CL moves flags which are not public API into a separate new field privateFlags and renames the affected flags constants accordingly (e.g., FLAG_PRIVILEGED is now PRIVATE_FLAG_PRIVILEGED). The new privateFlags field is not public API and should not be used for flags that are public API. The flags that are moved out of ApplicationInfo.flags are: * FLAG_HIDDEN, * FLAG_CANT_SAVE_STATE, * FLAG_FORWARD_LOCK, and * FLAG_PRIVILEGED. NOTE: This changes the format of packages.xml. Prior to this CL flags were stored in the "flags" attribute. With this CL, the public flags are stored in a new "publicFlags" attribute and private flags are stored in a new "privateFlags" attribute. The old "flags" attribute is interpreted by using the old values of hidden/private flags. Change-Id: Ie23eb8ddd5129de3c6e008c5261b639e22182ee5
pplicationInfo.java
PackageManager.aidl
ackageParser.java
|
9e0d81e8439089845b7ddee21676f3f427a34cca |
10-Feb-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Added unit test for RegisteredServicesCache Minor refactoring of RegisteredServicesCache for testability. Added RegisteredServicesCacheTest which uses a mock version of RegisteredServicesCache. Bug:19321135 Change-Id: If18b794b28f03b4bf4bbdfbba9e9a57e808aaebf
egisteredServicesCache.java
|
00c5e4e1908877fea23b1b2aab97f122dba2ceef |
10-Feb-2015 |
Wale Ogunwale <ogunwale@google.com> |
Merge "Set TaskStack config orientation based on dimensions"
|
a928127a74d6ffe9334774e64a4470aedbe6c28b |
07-Feb-2015 |
Wale Ogunwale <ogunwale@google.com> |
Set TaskStack config orientation based on dimensions The TaskStack override configuration is set based on the stack dimensions so we can load the most acturate resources for activities in the stack in a multi-window environment. Also, disabled fixed screen orientation for resizeable activities. Bug: 19305402 Change-Id: I7b182554523b12f2ef77f8bbc7b16891231125bf
ackageParser.java
|
fd8e7306be82499631981b7744d7ed15ca3b88d2 |
09-Feb-2015 |
Amith Yamasani <yamasani@google.com> |
am 2b865d7e: am a6318cd7: am d09878c1: am 61333d1b: Merge "Limit cache update to packages that have changed" into lmp-mr1-dev * commit '2b865d7e16e19df76f01982b90e647e873098f51': Limit cache update to packages that have changed
|
460a7b461902d55d20e99f6c19e131947384d04a |
06-Feb-2015 |
Amith Yamasani <yamasani@google.com> |
Limit cache update to packages that have changed When updating the RegisteredServicesCache, don't remove any packages that are not in the list of modified packages. Bug: 19228972 Change-Id: Id4f264403b7ceca9005854dfbbc25abfd7b54889
egisteredServicesCache.java
|
e2d2ed49235d2f717f0aee1d2c6671b376700b62 |
13-Jan-2015 |
Narayan Kamath <narayan@google.com> |
Conditionally include org.apache.http.legacy in app classpaths. bug: 18027885 Change-Id: Id330ffde9d2a6e516fd60edc33f5529df719c634
ackageParser.java
|
7e19f5016f1757e70520ea6e36ad9fa3b5d84b84 |
30-Jan-2015 |
Amith Yamasani <yamasani@google.com> |
Use ResolveInfo for label and icon for LauncherActivityInfo Instead of using the ActivityInfo, use the ResolveInfo so that any label or icon specified on the intent-filter is used. Also handle the density param in getIcon() Bug: 18482039 Change-Id: I65cb7adb34b2e472bfc68e7734f3a40fd0a6244c
auncherActivityInfo.java
|
4aab1bba6975b0447ad7435120edb5a90c8506f8 |
03-Feb-2015 |
Wale Ogunwale <ogunwale@google.com> |
@hide ActivityInfo.resizeable. Bug: 19178148 Change-Id: Icc132eef7196cc2b8e50294df10595bde8d73ecd
ctivityInfo.java
|
9d3de4cfb42519fefe9d8b03c38ba440bd6bc886 |
02-Feb-2015 |
Wale Ogunwale <ogunwale@google.com> |
Support for activity to opt-in/out of resizeable/multi-window support. Bug: 19178148 Change-Id: I5819a71cdc48e0af4add11a6d4a503ec5cbe5d63
ctivityInfo.java
ackageParser.java
|
9570e144fe38a53c507838cc5234225c7a0da315 |
29-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am ea63fd7f: am 88add689: am a5ccca24: am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev * commit 'ea63fd7f9b4bb2701c9d12ab8775867dbdeefcf1': Fix ParceledListSlice to enforce the same concrete types among its elements.
|
ea63fd7f9b4bb2701c9d12ab8775867dbdeefcf1 |
29-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am 88add689: am a5ccca24: am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev * commit '88add68942694fc643518bcf5c26f6c3df7e9aa0': Fix ParceledListSlice to enforce the same concrete types among its elements.
|
a5ccca242747d59233ec5ecebc20d4a721e7850e |
29-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev * commit '2982d64802ed0d5b59130680c43485e9d7862e50': Fix ParceledListSlice to enforce the same concrete types among its elements.
|
f741c3727383008b131cd3877cbdb3857e07fc9b |
07-Nov-2014 |
Adam Lesinski <adamlesinski@google.com> |
Fix ParceledListSlice to enforce the same concrete types among its elements. Bug:17671747 Change-Id: I896f75738e5b464ccb6c03290f139cc2fa72f966 (cherry picked from commit 3df1c38ee098872352086e03d6f1adb16796ee29)
arceledListSlice.java
|
703d1c43a25fe6e80c5fea46cc0ff14f0e1fbc00 |
27-Jan-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Added primaryUserOnly attribute for activities In addition to receivers, primaryUserOnly is now supported for activities. In queryIntentActivities method, activities with primaryUserOnly flag set will be filtered out, when current user is not the owner. Change-Id: I0b7168b8c96749cd6d23b8c95d5624589f5f2d86
ackageParser.java
|
d23f8b44d575dcdc00965aae5fffd97f0336df43 |
03-Dec-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Revert "Camera: Add new capability flags as system features as well"" into lmp-mr1-dev
|
08a125562c9af620e83e9f96c7810eae871d6067 |
03-Dec-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Revert "Camera: Add new capability flags as system features as well" This reverts commit 6aee1d2ba52cf7f44c9355f279844b8a937903da. But leaves in some of the improved documentation. Bug: 18281970 Bug: 18573576 Change-Id: I320f2229456ac039bc8f3cd8bc8b4ea6cf0e80eb
ackageManager.java
|
1bc177c58550514c6e48d74061392b4247a9bf6a |
03-Dec-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17948584: Application crash and phone restart when app... ...is installed with <provider> with empty string. Don't allow empty authorities, just like we don't allow null authorities. Change-Id: I5c64592a639efe4dba848bd6f0efe4257f1565a2
ackageParser.java
|
88d2a3c0e1b4a8c53a489db5d627beb80b1b9957 |
23-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
Introduce revision codes for split APKs. Apps delivered as multiple split APKs must have identical package names, version code, and signatures. However, developers may want to iterate quickly on a subset of splits without having to increment the version code, which would require delivery of the entire app. This change introduces "revision codes" which can vary between split APKs belonging to the same app. An install is valid as long as the normal version code is identical across all splits. Splits can be added/removed to an app over time, but if a split is present across an upgrade the revision code must not decrease. Since system apps could have been updated with splits, only revert to the built-in APKs if the version code is strictly greater than the data version. Also fix bug to enable inheriting from system apps when adding splits. Bug: 18481866 Change-Id: I34d8e14c141a8eb95c33ffe24b4e52d6af5c8260
ackageInfo.java
ackageInfoLite.java
ackageParser.java
|
6aee1d2ba52cf7f44c9355f279844b8a937903da |
20-Nov-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Add new capability flags as system features as well Also add all the L and L MR1 new system features to the uses-feature documentation. Bug: 18281970 Change-Id: I116ca3fd04cd90eb53cc696b6fa62488687e7740
ackageManager.java
|
db3d76ab685955aae4a3e363238a2931d89c6f03 |
13-Nov-2014 |
Adam Lesinski <adamlesinski@google.com> |
Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into lmp-mr1-dev
|
521ca5f8fba355f526e82dc3a8fc6520e4379874 |
12-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
am 2e700004: am d68b87cd: Recover apps with malformed certificates. * commit '2e7000040e3d836bb591e29515974817afc49488': Recover apps with malformed certificates.
|
2e7000040e3d836bb591e29515974817afc49488 |
12-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
am d68b87cd: Recover apps with malformed certificates. * commit 'd68b87cdd402d46013170d9316a31c82be4e4816': Recover apps with malformed certificates.
|
d68b87cdd402d46013170d9316a31c82be4e4816 |
12-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
Recover apps with malformed certificates. There was a window of time in Lollipop where we persisted certificates after they had passed through a decode/encode cycle. The well-written OpenSSL library was liberal when decoding (allowing slightly malformed certs to be parsed), but then strict when encoding, giving us different bytes for effectively the same certificate. A related libcore change (0c990ab4a90b8a5492a67b2b728ac9a4a1ccfa1b) now returns the original bytes verbatim, fixing both pre-Lollipop installs and installs after that change. This change recovers any apps that had been installed during the window of time described above by doing a one-time check to see if the certs are effectively equal. Bug: 18228011 Change-Id: Ib82bd6db718d0490d7a26c9c1014b7c8457a7f2d
ignature.java
|
3df1c38ee098872352086e03d6f1adb16796ee29 |
07-Nov-2014 |
Adam Lesinski <adamlesinski@google.com> |
Fix ParceledListSlice to enforce the same concrete types among its elements. Bug:17671747 Change-Id: I896f75738e5b464ccb6c03290f139cc2fa72f966
arceledListSlice.java
|
85d558cd486d195aabfc4b43cff8f338126f60a5 |
04-Nov-2014 |
Dianne Hackborn <hackbod@google.com> |
Add Activity API to get referrer information. This expands the use of EXTRA_REFERRER to be relevant anywhere, allowing apps to supply referrer information if they want. However, if they don't explicitly supply it, then the platform now keeps track of package names that go with Intents when delivering them to apps, which it can be returned as the default value. The new method Activity.getReferrer() is used to retrieve this referrer information. It knows about EXTRA_REFERRER, it can return the default package name tracked internally, and it also can return a new EXTRA_REFERRER_NAME if that exists. The latter is needed because we can't use EXTRA_REFERRER in some cases since it is a Uri, and things like #Intent; URI extras can only generate primitive type extras. We really need to support this syntax for referrers, so we need to have this additional extra field as an option. When a referrer is to a native app, we are adopting the android-app scheme. Since we are doing this, Intent's URI creation and parsing now supports this scheme, and we improve its syntax to be able to build intents with custom actions and stuff, instead of being all hung up on custom schemes. While doing this, fixed a problem when parsing both intent: and new android-app: schemes with a selector portion, where we were not respecting any scheme that was specified. Change-Id: I06e55221e21a8156c1d6ac755a254fea386917a2
abeledIntent.aidl
|
2e594cfe9848b56ad71a6f7bc4de13df7a36511c |
29-Oct-2014 |
Jeff Hao <jeffhao@google.com> |
Change boot screen title to "Android is starting" when not upgrading. Bug: 17565501 Bug: 18247218 (cherry picked from commit 9f60c08a446e38f9e2d5271546ef69ca5941eba9) Change-Id: I1ec32b318b6221277fc3ffbc19966bf3330c2d93
PackageManager.aidl
ackageManager.java
|
dd6cb55b0ef324096ff9f04a75864ecc43397c4f |
31-Oct-2014 |
Kenny Guy <kennyguy@google.com> |
Tidy up unused hidden methods in LauncherApps Bug: 17483329 Change-Id: Ic4fbb180bafaa4d2c5ba332fe228c3d9baf4761c
auncherApps.java
|
9f60c08a446e38f9e2d5271546ef69ca5941eba9 |
29-Oct-2014 |
Jeff Hao <jeffhao@google.com> |
Change boot screen title to "Android is starting" when not upgrading. Bug: 17565501 Change-Id: Id5741e6e7a40750feee1cd7306e79f7baeec67de
PackageManager.aidl
ackageManager.java
|
9f837a99d48c5bb8ad7fbc133943e5bf622ce065 |
24-Oct-2014 |
Jeff Sharkey <jsharkey@android.com> |
Reduce PackageManager RAM usage: ArrayMap/Set. Transition PackageManager internals away from heavier HashMap/HashSet to use drop-in ArrayMap/ArraySet replacements. Saves ~38% RAM and thousands of objects on a typical device. Bug: 18115729 Change-Id: Ie107d2fee4b7baa4e3c3923231b4be877d1a5d2f
ackageParser.java
ackageUserState.java
|
2df76285914692973a4dfa6d600a71584e3e1c2a |
15-Oct-2014 |
Jeff Sharkey <jsharkey@android.com> |
am 203ed4db: am 88a6ed54: Merge "Reduce PackageInstaller Binder memory pressure." into lmp-dev * commit '203ed4db9656cc3047c65e12e3969d21652d4ccf': Reduce PackageInstaller Binder memory pressure.
|
97d47ed036ff7bd3d7d2ddc1c6df1104ec237559 |
15-Oct-2014 |
Jeff Sharkey <jsharkey@android.com> |
Reduce PackageInstaller Binder memory pressure. When restoring hundreds of apps on low-DPI devices, we end up sending icon Bitmaps inline in the response instead of splitting into ashmem regions. To avoid triggering TransactionTooLargeException, switch to using ParceledListSlice under the hood. Bug: 17926122 Change-Id: Ib4da6775e79d2fcb4aaea15f58ed998df203a5f9
PackageInstaller.aidl
ackageInstaller.java
|
dbfbb17512fe6a5b3c7198d60b6a149969174a71 |
30-Sep-2014 |
Jeff Hao <jeffhao@google.com> |
Backport of ordering apps for boot dexopt. This is a squashed commit of the following changes: 1. Order apps by priority when performing boot dexopt. (cherry picked from commit 65cde7d42d741c7d9aa2714a397b7333f688ab55) 2. Improve priority ordering of apps when performing boot dexopt. Added core apps and updated system apps. (cherry picked from commit 272bf3a274daff62995caf05da338c1f2a73dae3) 3. Stop boot dexopt when low on memory. (cherry picked from commit 1d892dcb6b0ff3a50cc63e387667dc29baf1014f) Bug: 17641843 Change-Id: Ie32f1c21047d3462aaf728f7633fecf647ba2b47
ackageInfo.java
ackageParser.java
|
6b7515dd0d70ad1b3149b1f38ef548a06a4d5cec |
09-Oct-2014 |
Jeff Hao <jeffhao@google.com> |
Merge "Improve priority ordering of apps when performing boot dexopt." into lmp-mr1-dev
|
b424849533ac369c41a824510a8f3914f62ed2c6 |
09-Oct-2014 |
Jeff Sharkey <jsharkey@android.com> |
am b01a5ba2: am 562262cc: Merge "Bring along more ApplicationInfo fields." into lmp-dev * commit 'b01a5ba2b7c1bc22e30d6cc16c30f8e1215701cd': Bring along more ApplicationInfo fields.
|
272bf3a274daff62995caf05da338c1f2a73dae3 |
08-Oct-2014 |
Jeff Hao <jeffhao@google.com> |
Improve priority ordering of apps when performing boot dexopt. Added core apps and updated system apps. Bug: 17641843 Change-Id: Ia00ea3399cf1e1acaef45ff8df8f754442de5185
ackageInfo.java
ackageParser.java
|
7f1a57a3e709b9e1fdb03a7a8af5f13859f7f1ad |
08-Oct-2014 |
Jeff Sharkey <jsharkey@android.com> |
Bring along more ApplicationInfo fields. When we added scan paths, we forgot to bring them along through Parcel and copy constructor. Bug: 17900178 Change-Id: I0ee9374f909d375768045976fd88cee7431f7d4d
pplicationInfo.java
|
fcc059dcf0d84a77d9c2b5ef3b01c23afe25f72c |
07-Oct-2014 |
Jeff Sharkey <jsharkey@android.com> |
am 1d5ef81e: am 99586dc0: Merge "Reduce PackageInstaller I/O pressure." into lmp-dev * commit '1d5ef81e29279f769d79315f2a38e747ea92e10f': Reduce PackageInstaller I/O pressure.
|
99586dc0108d0f4311c8af4d06ed113bbf40a6ee |
07-Oct-2014 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Reduce PackageInstaller I/O pressure." into lmp-dev
|
02bd78490d8594d225ecc70a74b2058cb968a657 |
07-Oct-2014 |
Jeff Sharkey <jsharkey@android.com> |
Reduce PackageInstaller I/O pressure. When performing a restore during initial device setup, we could be installing hundreds of packages. Currently, we're writing all metadata (including heavy icons) for every session mutation! Because we're holding the mSessions lock while writing all this heavy data, we end up causing ANRs when apps call other PackageInstaller APIs. This patch mitigates by moving the heavy icon data into separate per-session PNG files, which we only persist when changed. Bug: 17881962, 17567794 Change-Id: I4dee15d4a65a8eb65c381e6bb7477728b6cc30d2
ackageInstaller.java
|
2f577e83cbd5b12e47178a90443390210b446102 |
06-Oct-2014 |
Dianne Hackborn <hackbod@google.com> |
am 90d557b7: am 7f7d240b: Merge "Fix issue #17752399: Multiple apps broken by GET_TASKS permission change" into lmp-dev * commit '90d557b7a68e64e049a44560b76b959ef87f13d7': Fix issue #17752399: Multiple apps broken by GET_TASKS permission change
|
2d7576b082b84068fb9d68419b710b9bec49139b |
04-Oct-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17752399: Multiple apps broken by GET_TASKS permission change Keep around GET_TASKS as a permission available to apps, so apps still think they have it and don't get all uppity because they don't. Add a new REAL_GET_TASKS that is the actual permission now. Plus some temporary compatibility code until everyone can transition fromn GET_TASKS to REAL_GET_TASKS. Change-Id: I12c1102eed24844685dcbd2fa3b612811603958f
PackageManager.aidl
|
ec2d48b96d1f95fb266914df294a27c210f8c3f5 |
01-Oct-2014 |
Benjamin Franz <bfranz@google.com> |
Introduce new API to get an unbadged icon and unbadge permissions. Bug: 17125560 Change-Id: I61b884186c96cc54dcaf1d3c7ee8f47610fd1d21
ackageItemInfo.java
ackageManager.java
|
ace27915d2cc5073bcbe9cc151a5c61683bdcd1a |
19-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17564607: Apps in the managed profile can send any intent... ...to the primary user, even if it was not whitelisted to be forwarded. The path where getActivityInfo is called for the ResolverActivity would not correctly apply the requested user ID to the result, so it wouldn't run under the correct user. Change-Id: I1da47c54bbed26091832a28236d0b06762c92437
ackageParser.java
|
49c0e7375b237bc6eff8746ae91466ea6a660233 |
15-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Update API naming to follow style guide." into lmp-dev
|
de74231f245c90e5861ec84a9880b5b4ec247480 |
15-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Update API naming to follow style guide. Bug: 17510755 Change-Id: If73d81b416355559592feb895a62132194f4ba62
ackageInstaller.java
|
1ec6888685e1dd172502ade6ce455ad938400e0e |
12-Sep-2014 |
Ihab Awad <ihab@google.com> |
Add system feature for ConnectionService API support (1/3) Bug: 17445268 Change-Id: Ibf52cb394f00d075afd07b883a91f00da84b3c85
ackageManager.java
|
1d653272a2847c0cda10482f70e991e7afdaee4b |
12-Sep-2014 |
Amith Yamasani <yamasani@google.com> |
Rename and repurpose feature MANAGED_PROFILES to MANAGED_USERS Bug: 17392243 Change-Id: I5ff0e70eeeeba264c96eaa2a17a6bd3669576c96
ackageManager.java
|
b6edee0dadba9ceef40601c4779332d6d3a21281 |
11-Sep-2014 |
Kenny Guy <kennyguy@google.com> |
Hide APIs renamed during API review of LauncherApps Bug: 17390765 Change-Id: I79a979365005b13a2268b1cfe455241ae4fecb51
auncherApps.java
|
3969cabf5931059fcc4d36addb5b75ddf76ad1f3 |
12-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Merge "If activity is an alias get maxRecents from target" into lmp-dev
|
8307ea701c8a06378bd31148bcbe4d312af2b31a |
12-Sep-2014 |
Craig Mautner <cmautner@google.com> |
If activity is an alias get maxRecents from target Activity aliases do not pick up values in the PackageParser. The actual values should come from the target activity instead. Also ActivityInfo now propagates maxRecents in copy constructor and across Binder calls (via parcelling). Fixes bug 17391328. Change-Id: I35d248032eca7557528c9d499b3b38f27c713d09
ctivityInfo.java
ackageParser.java
|
e107c3eb79be40f1071c4370fd9a3f9e4fd6d6de |
09-Sep-2014 |
Adam Connors <adamconnors@google.com> |
Remove package level intent forwarding. Clean up unused methods. Bug: 17389110 Change-Id: I8a80fe3e14219f06572de05c390cdda0efcbf5db
PackageManager.aidl
ackageManager.java
|
c90f95c79ddd930c3fba13352f15ce7666eca402 |
10-Sep-2014 |
Adam Connors <adamconnors@google.com> |
Merge "Add feature flags for verified boot and securely remove users." into lmp-dev
|
732edf098fe9728238bf3b69a3b3cfcb221edf35 |
10-Sep-2014 |
Adam Lesinski <adamlesinski@google.com> |
Merge changes I79ba54d7,I224fb4b6 into lmp-dev * changes: Make UsageStats API default on only for the system ActivityManager shouldn't return null for getCurrentUser
|
ad5f44a68c70f783fb4be85f089f63bfdd63ec0c |
10-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Missing manifest error should be NO_CERTIFICATES." into lmp-dev
|
bc09755e193c2802d2d88871ac3d1f182b260c30 |
09-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Missing manifest error should be NO_CERTIFICATES. When META-INF/MANIFEST.MF is missing, treat as NO_CERTIFICATES instead of CERTIFICATE_ENCODING. Also remove redundant layer of debugging details when wrapping exceptions. Bug: 15667982 Change-Id: I6e8216d5bf6e42da1feb70c89f991001380305be
ackageParser.java
|
eddeb49a734a524347587e7654025c489fb6331e |
09-Sep-2014 |
Adam Lesinski <adamlesinski@google.com> |
ActivityManager shouldn't return null for getCurrentUser There was a race where ActivityManager would return null for getCurrentUser() when switching between guest accounts. This is because the Guest account was marked for deletion while it was still active. Bug:17290209 Change-Id: I224fb4b6836380e5acb7dbeb8f3343d74505f88a
serInfo.java
|
76776943204fa5367d13948dba5b1e3de8916cd9 |
09-Sep-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Merge "Removing the NO_CROSS_PROFILE flag for intent forwarding" into lmp-dev
|
c788487ae5b28bb6f84410fcdb101f0bdfcd467e |
09-Sep-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Removing the NO_CROSS_PROFILE flag for intent forwarding Bug: 17435289 Change-Id: Iffbecd3cf9338a8633bfcc5bc47247bfc50e7546
ackageManager.java
|
8e3b4d41e3a70eef19e3928f6aca9b7e8712aa08 |
09-Sep-2014 |
Michael Wright <michaelwr@google.com> |
Merge "Add FEATURE_GAMEPAD." into lmp-dev
|
6faa6759cde497acbdf33cadbed74cd1c5e94471 |
06-Sep-2014 |
Michael Wright <michaelwr@google.com> |
Add FEATURE_GAMEPAD. This allows micro-consoles or other devices to signify that there's a game controller in the box, even if the user hasn't connected it. Change-Id: Ie5e2cf69f777ebe84abb83f34c9ed63d9555deff
ackageManager.java
|
d9037a48c6a3537b90c72fce9845fae182be62db |
08-Sep-2014 |
Kenny Guy <kennyguy@google.com> |
Merge "Renaming of LauncherApps apis" into lmp-dev
|
19ccb5fd759dc9284da32320ed1219bee3e031be |
08-Sep-2014 |
Adam Connors <adamconnors@google.com> |
Add feature flags for verified boot and securely remove users. Bug: 17405636 Change-Id: I5e81cf02f8b3d5b98957019c76844875b491181c
ackageManager.java
|
e016605981985b64cc28a8272474ae925801548b |
08-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Delayed ASEC allocation, refine progress handling." into lmp-dev
|
77d218e1869e69c8d436b09cd11dcfe45e50b2cf |
06-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Delayed ASEC allocation, refine progress handling. For restore use-case, session creation needs to complete quickly, so delay ASEC allocation until session is opened. When preflighting size checks, only consider external when we have a known size for the container. Also relax size checks when using MODE_INHERIT_EXISTING on external, since we don't know how much of existing app will be copied over. Consider session as "active" while commit is ongoing, until we're either finished or pending user interaction. Always publish first client needle movement away from 0. Use 25% of internal progress to reflect ASEC allocation. Avoid CloseGuard messages about leaking PFDs. Bug: 17405741, 17402982 Change-Id: I6247a1d335d26621549c701c4c4575a8d16ef8c2
ackageInstaller.java
|
66d557875dcb5955314dfadd0ee926ba90825982 |
07-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev
|
68c936f77d836285c255e98b73bdadb78025ade9 |
07-Sep-2014 |
Unsuk Jung <unsuk@google.com> |
Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev
|
a4e102ee580282dc7abeb22f4a025813e53b9431 |
05-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #17357238: Recents is often slow if not used in a while Add a new activity attribute, resumeWhilePausing, that allows an activity specifying it to immediately start running without waiting for the previous activity to pause. The recents activity is updated to use this. The implementation of this is ultimately fairly simple -- if we are in the path of resuming such an activity, and find that we first need to pause the existing activity, then within the activity manager we do the regular pause flow but act like it has immediately finished pausing right then so that we can immediately go on to the resume. To make this clean, we tell the activity when asking it to pause that it should not come back and tell us it is done, because we aren't in any way waiting for it. One potentially important change I needed to make here is the pause callback no longer provides the saved persistent state, because we now can't count on that callback happening. I don't think there was really any utility in this anyway -- all modern apps will have their save state flow happen as part of stopping, not pausing, so we'll only capture that saved state when the stop is reported back anyway. And since we do send the saved state back when stopping, it would always blow away whatever we had gotten at the pause. Finally, update the documentation for AppTask.startActivity(), and fix the implementation handling that to be cleaner -- we need to deal with inTask first before getting in to "oh noes add NEW_TASK if this isn't coming from a calling activity" flow. Change-Id: Ia1da0fac90d7bdbaafdda2e34850d795ce17a39f
ctivityInfo.java
ackageParser.java
|
bc7bce38b2e4733a14f6296c75f983bd50f996d1 |
06-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Separate active state from open/close. Also change name to setStagingProgress() to make it clearer that system may adjust the range. Start throwing from openSession() in preparation for ASEC allocation moving. Bug: 17405741 Change-Id: Id7da51a32d5d89cb512ddafbd7ceaafbcd41cac6
PackageInstallerCallback.aidl
ackageInstaller.java
|
43a2d06166f9d5aa46371c6496ec99a9fba8df00 |
05-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Allow badging updates to install sessions." into lmp-dev
|
ec9bad2015c6d3bc91bab66f0824043c1e24d013 |
05-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Allow badging updates to install sessions. For the system restore use-case, an installer may need to enqueue their sessions quickly before badging details, like icons, have been downloaded. This change relaxes to allow an installer to update their session badging after the session has been created. Notify observers when badging changes. Rename callback registration methods to match style guide. Relax constraint that observers are home app. Fix bug around internal progress reporting. Bug: 17376797, 17389236, 17334199 Change-Id: I5fb88508baea2f08e89a1504fcf5ef972afad4a7
PackageInstaller.aidl
PackageInstallerCallback.aidl
ackageInstaller.java
|
c7d62f02b8acfd0a6b31f8544ec2c07e780fe4bb |
05-Sep-2014 |
Svetoslav <svetoslavganov@google.com> |
Addressing API council comments for UserManager. bug:17390424 Change-Id: I498d2541289915cb7db16e5c3249ccc7a7dc5ee6
auncherActivityInfo.java
ackageManager.java
|
10a574fbf3c786791b84078f41932f83ad3e34ff |
26-Aug-2014 |
Kenny Guy <kennyguy@google.com> |
Renaming of LauncherApps apis Bug: 17008230, 17390765 Change-Id: Id03aa5fab0a88e9ca6f8279fa4e6c5f7d356c541
auncherApps.java
|
50909f673268aaa477149d5db56379398f9a89db |
03-Sep-2014 |
Unsuk Jung <unsuk@google.com> |
Add a hardware feature definition corresponding to audio output support. Should also update/add xml files in platform/frameworks/native Bug: 15318046 Change-Id: I5038ef38cd82977f257ec1499964d0bc291cbf59
ackageManager.java
|
efb1f36f09cdada7c3b2677e6628492d8f256729 |
30-Aug-2014 |
dcashman <dcashman@google.com> |
Merge "Address KeySet API Review" into lmp-dev
|
dda003ffa84f986bfaba4344124eafa533f5039d |
29-Aug-2014 |
Amith Yamasani <yamasani@google.com> |
Clean up apks installed for a removed user When a user is removed, enumerate through all installed packages to see if any of them are not installed for any user. Delete the package if no user has it "installed". Added a pm option to install an apk for a specific user. Fixed a crash in UserManagerService when executing the above cleanup - dying users generate a null UserInfo. Bug: 15426024 Change-Id: I571decde1ae1c257d0da6db153b896aad6d6bcb4
PackageManager.aidl
|
c62f2e1bb76d3e7ff9e4504fdaa86cfa2ca849a3 |
29-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Merge "FileBridge needs to keep strong reference to PFD." into lmp-dev
|
9a1507aa10577badabcbe00396613a967302e456 |
29-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
FileBridge needs to keep strong reference to PFD. Even though we've grabbed the underlying FD, the PFD could be GC'ed and when finalized it would end up closing the underlying FD. This fix ties the PFD object lifecycle to the returned OutputStream. Bug: 17183379 Change-Id: Ibee8f4cf78fee357181a250d15f2a653294b2877
ackageInstaller.java
|
cfd861ec15fe96143c61948d396e747b221a7f9d |
27-Aug-2014 |
Jae Seo <jaeseo@google.com> |
Add android.software.live_tv feature This feature will be listed by Android TV devices that allow displaying contents from TV inputs implemented with the android.media.tv.TvInputService API. (Note that not all leanback devices support this feature.) Bug: 17284986 Change-Id: Ic1f23f6f5955866e9f1db9229693d370576066a3
ackageManager.java
|
852975d5377bfe5f4abc9d2a28e301aa2fa99994 |
23-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17179314: Make recents limits consistent The max limit is now 100 (or 50 on svelte devices), and that is what everyone used. Re-arranged things so we have a big expensive "fix the world!" function for recents that we go in to at only select points: when first initializing the system, when external storage comes and goes, and if we detect something wrong with the recents structure. With that, now getRecentTasks() and addRecentTaskLocked() are generally much simpler, doing very little work in most cases. This will help a lot with scaling up to many more recents entries. Change-Id: I7b5ae89edc06568f68c8af54a4420aff7635581c
ackageParser.java
|
264a5f5b34d8c1169e81da4136e263344115e02d |
26-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Treat moving app as installing in new location." into lmp-dev
|
381d94b712605112b35d7f70064b0d18bd877877 |
24-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Treat moving app as installing in new location. Moving apps to/from SD cards has historically been neglected, meaning it can easily break. This happened most recently for split APKs, 64-bit native code, and multiArch support. To make this easier to maintain, treat move as a no-op upgrade, following the inheriting code path that split APKs depends on. Also clean up scary places where different flavors of flags were being combined, and remove unused flags. Fix media broadcasts to be sent based on existing app storage location. New API to abandon install session without opening it. Bug: 17158495 Change-Id: Ia33bf8f6fdaae099124dfe534f0e320b37bc8e16
PackageInstaller.aidl
ackageInstaller.java
|
51f6f52d9de011553bed9f624002b071f2b6c2f3 |
26-Aug-2014 |
Vinod Krishnan <vinodkrishnan@google.com> |
Merge "Fwk: Adding an ECG hardware feature" into lmp-dev
|
6b2416492e78b8f8d7bcff58cbd2015e9b0ef59c |
25-Aug-2014 |
Adam Lesinski <adamlesinski@google.com> |
Merge "PM: Load all splits when parsing an app manifest" into lmp-dev
|
1ab7689ce8a4164a86cf472fa028d7b0f18f696f |
20-Aug-2014 |
Vinod Krishnan <vinodkrishnan@google.com> |
Fwk: Adding an ECG hardware feature Change-Id: I77e36b010a8ff0cce89a419b64a24f16d7e68caf
ackageManager.java
|
3bcbd906bcf76267d7413297b9748c2cac0f9b82 |
23-Aug-2014 |
Adam Lesinski <adamlesinski@google.com> |
PM: Load all splits when parsing an app manifest Previously the base APK would be considered without any splits loaded into the same AssetManager. This would prevent splits from overriding attributes in the AndroidManifest.xml, such as enabled state based on version, etc. This CL loads all APKs in the cluster into a common AssetManager from which the base AndroidManifest.xml is parsed. Bug:17006358 Change-Id: Ib88096c49d0c4f743b7e6ba0921251459bee107c
ackageParser.java
|
941a8ba1a6043cf84a7bf622e44a0b4f7abd0178 |
21-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Installing splits into ASECs! Sessions can now zero-copy data directly into pre-allocated ASEC containers. Then at commit time, we compute the total size of the final app, including any inherited APKs and unpacked libraries, and resize the container in one step. This supports both brand new ASEC installs and inheriting from existing ASEC installs. To keep things simple, it currently requires copying any inherited ASEC contents, but this could be optimized in the future. Expose new vold resize command, and allow read-write mounting of ASEC containers. Move native library extraction into the installer flow, since it needs to happen before ASEC is sealed. Move multiArch flag into NativeLibraryHelper, instead of making everyone pass it around. Migrate size calculation to shared location. Separate "other" package name in public API, provide a path to a storage device when relevant, and add more docs. Bug: 16514385 Change-Id: I06c6ce588d312ee7e64cce02733895d640b88456
ackageInstaller.java
ackageParser.java
|
bb7b7bea19223c1eba74f525c7fe87ca3911813b |
20-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
More progress towards split APKs in ASECs. Teach DefaultContainerService to install split APKs, which will be needed when moving to/from ASECs. Also support forward locking for testing purposes, even though its deprecated. Move native library unpacking code to NativeLibraryHelper location where it can be shared by both DCS and PMS. Also update footprint calculation logic to mirror the later unpack codepaths. Immediately persist sealed sessions. When resolving install locations, prefer location of any existing install of that package. Lightweight parse requesting certificates now always verifies that all contents are signed correctly. Bug: 16514385 Change-Id: Ida1c4eb0f95b065104dd971e19126d4085ebf1f0
ackageInstaller.java
ackageParser.java
|
545de86fcaeaf10534d9bf9c3a5fe0abfeccba28 |
19-Aug-2014 |
Kenny Guy <kennyguy@google.com> |
Merge "First part of renaming methods in LauncherApps." into lmp-dev
|
742e790294b3441b79f715fe447069b63c6065db |
17-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Progress towards staging ASECs. Move location selection logic into shared PackageHelper location, and share it between DCS and PackageInstaller. Fix bugs related to installed footprint calculation; always count unpacked native libs. Have PMS do its own threshold checking, since it's fine to stat devices. PMS only ever deleted staging ASECs, so move that logic into installer and nuke unclaimed staging ASECs. Allocate legacy ASEC names using PackageInstaller to make sure they don't conflict with sessions. Start wiring up session to allocate ASEC and pass through staged container for installation. Fix bug to actually delete invalid cluster-style installs. Bug: 16514385 Change-Id: I325e0c4422fc128398c921ba45fd73ecf05fc2a9
ackageInstaller.java
|
6d248493878b1280e13be82e3e02a5ea42949555 |
24-Apr-2014 |
Nicolas Prévot <nprevot@google.com> |
Revert "Adding the requiredForProfile flag." This reverts commit 531270a4a177a9f245d328d9467c6d1adbd5354a. BUG: 17102702 Change-Id: Iec5d047dc74bd4899662ede82c48fc024238427c
ackageInfo.java
ackageParser.java
|
91306bccf16715f0867a10f3537122179527f7c3 |
16-Aug-2014 |
Adam Lesinski <adamlesinski@google.com> |
Merge "Add FeatureGroup to PackageInfo" into lmp-dev
|
d3edfde51bd069a63e820282421d1a534fcf00ce |
09-Aug-2014 |
Adam Lesinski <adamlesinski@google.com> |
Add FeatureGroup to PackageInfo FeatureGroups replace top-level FeatureInfo objects. FeatureGroups inherit top-level FeatureInfos but override them if the feature names are the same. Bug:16822121 Change-Id: I80b2cb778a0fbcb4521efce986fba641e0914290
eatureGroupInfo.java
eatureInfo.java
ackageInfo.java
ackageManager.java
ackageParser.java
|
a0907436c01fd8c545a6b5c7b28bc3bc9db59270 |
15-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
PackageInstaller API refactoring. Switch to using IntentSender for results to give installers easier lifecycle management. Move param and info objects to inner classes. Bug: 17008440 Change-Id: I944cfc580325ccc07acf22e0c681a5542d6abc43
PackageInstaller.aidl
PackageInstallerSession.aidl
nstallSessionInfo.aidl
nstallSessionInfo.java
nstallSessionParams.aidl
nstallSessionParams.java
ackageInstaller.aidl
ackageInstaller.java
ackageInstallerParams.aidl
ackageManager.java
erificationParams.java
|
f939dbaf766bd81b10bfc44fd493647180eabad8 |
15-Aug-2014 |
Kenny Guy <kennyguy@google.com> |
First part of renaming methods in LauncherApps. Added new versions of the APIs that need renaming. Bug: 17008230 Change-Id: Ic74d21115dd250082f6dbc45d1301635cc176cfc
auncherApps.java
|
c6f22499f3046684d7175e10ca42cce1492cd36f |
14-Aug-2014 |
dcashman <dcashman@google.com> |
Address KeySet API Review Hide KeySet API. Change getKeySetByAlias to not require aliases from the calling package. Make KeySet parcelable. Add hashCode method. Bug: 16895228 Bug: 17009318 Change-Id: I75951947dfc7a3cca9f8873bda72576d11abaaf0
PackageManager.aidl
eySet.aidl
eySet.java
ackageManager.java
|
e9b78fdbbef558f5e84f88397daf990dcc2e29cb |
13-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Fix javadoc on PROTECTION_FLAG_APPOP. Change-Id: I36e339ac2c6e6842441fd2572b0b8cda24bd34ca
ermissionInfo.java
|
4903f64ba2478849e6c401f42f5a77c1d4f9f7df |
11-Aug-2014 |
Narayan Kamath <narayan@google.com> |
Persist the cpuAbiOverride setting. If an app is installed with an ABI override (adb install -r --abi) we should remember this so that we don't revert to the scan derived ABI on the next reboot. bug: 16476618 Change-Id: I6085bc0099eb613dd9d3b07113c7c13859780697
ackageParser.java
|
6c0b9da65e36543bb50833d1b54ca532d0bd3aab |
08-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Handle null IPackageDeleteObserver. Bug: 16862614 Change-Id: I0c197a994b89d49123027f24fe46827c2b994ab6
ackageManager.java
|
f06009542390472872da986486d385001e91a2a7 |
08-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Logic to confirm uninstalls. Prompt user for confirmation when caller doesn't have DELETE_PACKAGES permission. Also extend uninstall events to return failure codes. Bug: 16515814 Change-Id: I15b52190ff02dbeaaf038b92364264f64c57ba89
ackageInstaller.java
ackageManager.java
|
7328a1b39b3dae1c0cd390c0a3695c6a46b8e9d8 |
07-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Logic to confirm permissions on install sessions. When an app without INSTALL permission attempts to commit a session, we involve user to confirm permissions. We currently point at the base APK, which defines all permissions for an app, handling the case where a session may only be adding splits. Add failure codes to represent rejection. Fix bug by ignoring stages during initial boot scan. Bug: 16515814 Change-Id: I702bb72445216817bcc62b79c83980c1c2bb0120
PackageInstaller.aidl
nstallSessionInfo.java
ackageInstaller.java
ackageManager.java
|
0068d3dcf1f1a804554a1a09e3b173ac12651786 |
07-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue @16555033: Battery history overflowing too much - No longer track process starts/stops normally. - Increase buffer size to 256KB. - Buffer size increase requires reworking how battery stats are retrieved, since it is going to be hitting IPC limits. - Also, store the last full stats after a reset, to be reported at the next checkin. - Also, discharge and charge times are tagged with the screen and battery save state during that time. Change-Id: Ie108ac9b626846108a9bb858101ac2b93276ac16
PackageInstaller.aidl
|
65810072d6ad7c1c2a019cf37c3156e3971f491a |
07-Aug-2014 |
Kenny Guy <kennyguy@google.com> |
Remove LauncherApps method left for compat. Method was left while updating unbundled apps which have now been updated. Bug: 16864685 Change-Id: I687cb23a1b60b88eeb988f3cf2604dc24b739121
auncherApps.java
|
fbd0e9fa37fc17ccd25e4c1f16195bbd27de3c4c |
07-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Surface user action events when un/installing. This will be used shortly to connect up with permissions confirmation UI. Bug: 16515814 Change-Id: If28cecc28549900d960ac107a1fba0b10ce5bd7b
PackageDeleteObserver2.aidl
PackageInstallObserver2.aidl
PackageInstaller.aidl
PackageManager.aidl
ackageInstaller.java
|
c71c42fdb2ee54a419dc8eb0a5f4f82532b16c0c |
06-Aug-2014 |
Svetoslav <svetoslavganov@google.com> |
Polish of the app widgets cross-profiles feature. 1. Added API for badging an arbitrary drawable at a given location. 2. Updated the icon and previewImage deprecation as they are no longer returning a badged drawable. The methods to load the icon and the preview are now just making it easier for a developer to get the drawables. 3. Fixed a bug in AppWidgetServiceImpl leading to a crash when a user is removed. 4. Fixed a bug in AppWidgetHost which was unnecessarily caching its package name and having code paths where the cached value was not populated when calling into the system. bug:14991269 Change-Id: I50d011a6597d88814715d5ec04ee67815e8ce0bd
auncherActivityInfo.java
|
e41ce995a0c2c6b167ed64b51e34865c5d58ea4d |
29-Jul-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Add hidden API for removing cross-profile package filters Bug: 16646591 Change-Id: Iaf6837fe4390ac1018c49df366ea434776ed7244
PackageManager.aidl
ackageManager.java
|
f17e498fea935a389d88193dde2d236ea674d10b |
06-Aug-2014 |
Amith Yamasani <yamasani@google.com> |
Merge "Allow phone UID to export singleton providers" into lmp-dev
|
41c1ded7f042a4cf303479550b38fa66d7a18906 |
05-Aug-2014 |
Amith Yamasani <yamasani@google.com> |
Allow phone UID to export singleton providers Also add a user variant of replacePreferredActivity for use by SmsApplication. Map user restrictions for SMS/MMS to AppOps perms. Bug: 16681533 Change-Id: I3dfed5fc754e33bb51c6f571851653a7c2770e46
PackageManager.aidl
ackageManager.java
|
f174c6e6de6ba863179401aa7b3d55d91ceed707 |
05-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Stronger constraints around install session IDs. Generate positive, non-zero session IDs, and don't recycle them within a given boot. Guard against ID starvation by crazy apps. Bug: 16792837 Change-Id: I6035afe4d942d358b5ca12b4f818c55885b74aba
ackageInstaller.java
|
a709314537164d959a18ee78768c69c4a9cb33c7 |
30-Jul-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Use the appropriate default icon ComponentInfo subclasses and ApplicationInfo have different ways to retrieving the default icon. Previously, in CL I2db300a69a08030eacc245ee91556f0443ba5878 we defaulted everything to the green Android. This makes sure that they get the right default. Bug: 16630068 Change-Id: Ifa499eac6f1543523d6ecf0831175bfd6b772edb
pplicationInfo.java
omponentInfo.java
ackageItemInfo.java
|
1cb2d0d4bba387665128c62c342e59103ea4be26 |
31-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Persist install sessions, more lifecycle. To resume install sessions across device boots, persist session details and read at boot. Drop sessions older than 3 days, since they're probably buggy installers. Add session callback lifecycle around open/close to give home apps details about active installs. Also give them a well-known intent to show session details. Extend Session to list staged APKs and open them read-only, giving installers a mechanism to verify delivered bits, for example using MessageDigest, before committing. Switch to generating random session IDs instead of sequential. Defensively resize app icons if too large. Reject runaway installers when they have too many active sessions. Bug: 16514389 Change-Id: I66c2266cb82fc72b1eb980a615566773f4290498
PackageInstallerCallback.aidl
PackageInstallerSession.aidl
nstallSessionInfo.java
nstallSessionParams.java
ackageInstaller.java
|
b42c89bfb0415d2a4b1d8b7247309f15fd348974 |
28-Jul-2014 |
Kenny Guy <kennyguy@google.com> |
Add optional handler to LauncherApps callback Allow caller to pass in handler to LauncherApps when adding a callback. Stop apps adding callbacks twice. Bug: 16401733 Change-Id: I2e192091c1b79acb905d899e96d6dacd45e561da
auncherApps.java
|
ad97b8b905bb6f0a30241bea27a56572068c39ab |
30-Jul-2014 |
Amith Yamasani <yamasani@google.com> |
Potential fix for apps disappearing in launcher on system server crash Throw RuntimeException to launcher if there was a RemoteException from LauncherAppsService. This matches the behavior of previous calls that were made to PackageManager that could have resulted in a RemoteException if the system server was dying/dead. Bug: 15687732 Change-Id: Ifda3fda209141b361a286fc033217acfa0ec196e
auncherApps.java
|
a71e3903e5d3f38795c443c052125faede9d9ec7 |
25-Jul-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Return a default icon from the package manager directly Bug: 16369104 Change-Id: I2db300a69a08030eacc245ee91556f0443ba5878
ackageItemInfo.java
|
3f7777fa4f1d392e18bad39edcd4539880c52ff9 |
24-Jul-2014 |
Nicolas Prevot <nprevot@google.com> |
Storing the app who sets a CrossProfileIntentFilter. When we add a CrossProfileIntentFilter, we store the package and userId of the calling app inside the CrossProfileIntentFilter. When an app calls clearCrossProfileIntentFilters, we only remove the filters that the calling app has set itself. BUG: 16537557 Change-Id: I6e7bc859383ea66553d9f4230365df8ba27525f3
PackageManager.aidl
ackageManager.java
|
20e0c50f601e5930a246d4556118423a49c12ca1 |
25-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Offer force-dex-opt when running as root. Recently we removed the PackageManager inotify triggers, meaning the only supported ways of installing apps were: -- adb install -r Foo.apk -- adb shell stop && adb sync && adb shell start Iterating on most system apps (like Settings) can use the first approach, but it doesn't work for "persistent" processes like SystemUI. (ActivityManager is very particular about how it deals with persistent apps, and it always sticks with the first ApplicationInfo found at boot.) So to enable rapid iteration on persistent apps, we now offer the one missing piece of forcing a dexopt with a new pm force-dex-opt command only available to -eng or -userdebug builds. Typical use for iterating on persistent apps now looks like this: $ mmm frameworks/base/packages/SystemUI/ && adb sync && adb shell pm force-dex-opt com.android.systemui && adb shell kill `pid systemui` Yay! Change-Id: I0ae2467f1d7cda56c70ba20953cd25fa8ee766ff
PackageManager.aidl
|
16c8e3f49497b6046972ae650772f65768366be8 |
25-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
PackageInstaller changes based on feedback. Mostly cosmetic changes from API council feedback. Bug: 16543552 Change-Id: Ic926829b3f77c31f50a899c59b779353daf00d59
PackageInstaller.aidl
PackageInstallerCallback.aidl
PackageInstallerObserver.aidl
PackageInstallerSession.aidl
nstallSessionInfo.java
nstallSessionParams.java
ackageInstaller.java
ackageManager.java
|
466d203c4ff032477d9a6bdb077ce3cd9b4fe070 |
23-Jul-2014 |
Kenny Guy <kennyguy@google.com> |
Add method to launch settings app details page. Add a method to LauncherApps to allow launchers to show application details for an app in a managed profile. Bug: 16371359 Change-Id: I23acb4365c09e4a7b9fa742ae6fc7e04434f45aa
LauncherApps.aidl
auncherApps.java
|
2c72b6822debb08fe997926eedc110f62d287d34 |
24-Jun-2014 |
Adam Lesinski <adamlesinski@google.com> |
Add <feature-group> tag and change aapt badging A <feature-group> represents a set of features required for an app to be compatible with a device. Multiple <feature-group> elements represent a logical 'or' of required features. Features defined in the old way with <uses-feature> tags under the <manifest> tag are automatically added to each feature-group defined. Defining a <feature-group> means that any default features are not included (such as android.hardware.touchscreen) and declared permissions do not imply any features. Change-Id: I45626f0fdc546e47bcf2aead7ef05ebcca12b023
ackageParser.java
|
33f5ddd1bea21296938f2cba196f95d223aa247c |
22-Jul-2014 |
Dianne Hackborn <hackbod@google.com> |
Add permissions associated with app ops. Change-Id: I575ad7a3ceea59486ca601f69760b14f6269511d
PackageManager.aidl
ermissionInfo.java
|
e5bcff624fb58b6f95be8ddff7f5b6b3bf5d19c7 |
20-Jul-2014 |
Amith Yamasani <yamasani@google.com> |
Rename setApplicationBlocked to setApplicationHidden This corrects the expected behavior of the app state. Hidden apps can be installed by the store to be brought out of hidden state. Bug: 16191518 Change-Id: Id128ce971ceee99ba1dea14ba07ce03bd8d77335
pplicationInfo.java
PackageManager.aidl
ackageManager.java
ackageParser.java
ackageUserState.java
|
1716baa6d3f0691087a7d512fc289bd88babda1c |
21-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Rename flag and attribute per API council" into lmp-dev
|
7f72f53704cbee26dc2a0be429b8446b2493226c |
21-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Rename flag and attribute per API council ActivityInfo.DO_NOT_PERSIST => PERSIST_NEVER. android:persistableMode="doNotPersist" => "persistNever". Fixes bug 16400594. Change-Id: I94d25f7d2e3dc453b1251c89bce8c210a65dc331
ctivityInfo.java
|
7f51706265cab675ba139d2cfba5c01ce7dba077 |
18-Jul-2014 |
Jesse Hall <jessehall@google.com> |
Add FEATURE_OPENGLES_EXTENSION_PACK_ES31A Bug: 15593761 Change-Id: Id1865cbf27c98a611cc6414fe47ee979c1d7cee2
ackageManager.java
|
7040e9f7fe3e5c9fbd0084eff01b4ce8ae1a16b1 |
17-Jul-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Add PackageManager features for differentiating camera2 devices" into lmp-dev
|
611fecec08eb9efeb4393b986d590369df5c812f |
11-Jul-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Add PackageManager features for differentiating camera2 devices Also rename DNG capability to RAW. Bug: 15415688 Change-Id: I1ea9f65b03c4fa06a5004f9d1d485935742001c8
ackageManager.java
|
7df3625d5bb28d11cce9ac23429f5e3c6ebac030 |
16-Jan-2014 |
Martin Kosiba <mkosiba@google.com> |
Allow for appending of resources to an AssetManager. BUG: 11505352 Change-Id: Ifa290580a6dc63c2f471d0bbf5f066db14aed4d7
ackageParser.java
|
2053168eb4506e2f8795afdbe9731c6451e1589c |
14-Jul-2014 |
Narayan Kamath <narayan@google.com> |
Dexopt for Context.createPackageContext when code is included. The package manager now keeps track of per ISA dex-opt state. There are two important things to keep in mind here : - dexopt can potentially be very slow. In cases where the target package hasn't been dexopted yet, this can take multiple seconds and may cause an ANR in the caller if the context is being created from the main thread. - We will need to remove the constraint that dexopt can only be requested by the system (or root). Apps will implicitly be requesting dexopt by asking for package contexts with code included. It's important to note that unlike dalvik, the dexopt stage in ART isn't optional. ART cannot load classes directly from dex files. bug: 15313272 Change-Id: I0bd6c323a9c1f62f1c08f6292b7f0f7f08942726
PackageManager.aidl
ackageParser.java
|
d8723bd3d68fc62134729a767ffead821add128e |
16-Jul-2014 |
Narayan Kamath <narayan@google.com> |
Merge "Adjust nativeLibraryDir for package contexts of multiArch installs." into lmp-dev
|
7dba6eb3ac4fd6c8195cb0d0425866de50a9e114 |
16-Jul-2014 |
Narayan Kamath <narayan@google.com> |
Adjust nativeLibraryDir for package contexts of multiArch installs. When we're creating a package context for a multi-arch app, adjust the native library directory to match the bitness of the process creating the context. This change also removes apkRoot (which wasn't really being used) and replaces it with a fully constructed secondary library path. The secondary library path is a transitional measure until we can reorganize the system image so that we can use nativeLibraryRoot for system paths as well (nativeLibraryRootRequiresIsa will then be true for all packages except for legacy installs). bug: 16013931 Change-Id: I5ae090334b377b9e087aecf40075fab81b20b132
pplicationInfo.java
|
f7cecf8f4bd7e34c8c49ca8816ffe3966195b6da |
16-Jul-2014 |
Andrew Solovay <asolovay@google.com> |
am c8fcb3bc: am 57553775: am 63477e67: Merge "cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38" into klp-modular-docs * commit 'c8fcb3bcdb71fe16624bea146a67b13c150adb82': cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38
|
c8fcb3bcdb71fe16624bea146a67b13c150adb82 |
16-Jul-2014 |
Andrew Solovay <asolovay@google.com> |
am 57553775: am 63477e67: Merge "cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38" into klp-modular-docs * commit '575537759222e0277c3979e33342407aa7ca1a78': cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38
|
78a130144bdd047665f00782c481d31edb3e5fb7 |
16-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Mark resource-only splits as hasCode=false. PackageManagerService now skips dexopt for split APKs that don't declare they have code. Also surface more detailed error messages in logs. Bug: 14975160 Change-Id: Ie6078dba724815020cee59b7fc52317e88ca097a
ackageParser.java
|
da96e137bcc8191c584ada7b5de31eaae92f244f |
15-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Parse more split APK manifest details. Allow split APKs to define activities, services, receivers, providers, and metadata. However, support for many manifest items are explicitly omitted. Only dexopt split APKs that include code. Bug: 14975160 Change-Id: I2fbf99e2a62328aa2185e5924755af33060282fc
ackageInfo.java
ackageInstaller.java
ackageParser.java
|
5ae13354773911f2c1567332a846020ff93390e3 |
06-Jun-2014 |
Andrew Solovay <asolovay@google.com> |
cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38 Doc had inaccurately said that getLaunchIntentForPackage() throws an exception if the package name is not recognized; in fact, it returns null. Also cleaned up some style issues for that Javadoc item. Doc is staged to: http://asolovay.mtv:9655/reference/android/content/pm/PackageManager.html#getLaunchIntentForPackage(java.lang.String) Bug: 15022655 Original SHA1: I2eab0956eaedac71289e19a3618a3553908f8c38 Change-Id: Ief8dfaac248ba03779c6f13237aff9b26d362fd9
ackageManager.java
|
a8755a8407d1583425cd9e69fb580bba26a66041 |
15-Jul-2014 |
Narayan Kamath <narayan@google.com> |
Fix multiArch parsing for ApkLite. Two separate issues : - We were not parcelling the value at all. - We were looking for it in the wrong manifest attribute. Note that this change has no observable effect on installs (which is probably why it wasn't caught so far). This code path is only used in FileInstallArgs.copyApk (where multiArch was effectively false before this change) but the package manager extracts shared libs *again* inside scanPackageLI where this was being done correctly since the value there came from a "full" package parse, and not a "lite" package parse. Change-Id: I54c3efcf8f57e6970f8fbde8cd1f57d487b13114
ackageInfoLite.java
ackageParser.java
|
69ea974f1712c83a9ad194187237edf1169f9064 |
15-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Public API for PackageInstaller!" into lmp-dev
|
6c833e07a05c48ca60ee4d72421bf8b1e78dc710 |
15-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Public API for PackageInstaller! Flesh out documentation and finalize first cut of API. Also surface installLocation and splitNames through PackageInfo. Bug: 14975160, 15348430 Change-Id: Ic27696d20ed06e508aa3526218e9cb20835af6a0
nstallSessionInfo.java
nstallSessionParams.java
ackageInfo.java
ackageInstaller.java
ackageManager.java
ackageParser.java
|
8b674abf4d83db29ae1e7488dbdb520edf970e67 |
15-Jul-2014 |
Aravind Akella <aakella@google.com> |
Merge "Add PackageManager feature strings for relative humidity and temperature sensors." into lmp-dev
|
9d2f441f9bb2c8dcac1150e2cba1d15a86a4efb1 |
09-Jun-2014 |
dcashman <dcashman@google.com> |
Initial KeySet API. Previously submitted but reverted due to doc-compilation bug. Bug: 6967056 Change-Id: I9bd7ef299a4c92c4b327f5b5d7e951f0753b4c8a
PackageManager.aidl
eySet.java
ackageManager.java
|
8b8e74bd74e5a4bc4316d4bf0fc84cb46106e3ab |
09-Jul-2014 |
Aravind Akella <aakella@google.com> |
Add PackageManager feature strings for relative humidity and temperature sensors. Change-Id: I56351f37f1c51517a3384b6040df0ed2be0c95b0
ackageManager.java
|
a10311434778ea1be1621c2251c0c8c2966f337b |
13-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Package installation listener events. Flesh out implementation of install session observers. Carve out 20% of published install progress for final system operations such as dexopt, etc. Add dumpsys output for active install sessions. Create explicit fsync() instead of overriding meaning of flush(). Hack to throw IOExceptions over Binder calls. Bug: 14975160, 15348430 Change-Id: I874457e40c45d2661bc0a526df9285ffea4bb77c
PackageInstallerSession.aidl
nstallSessionParams.java
ackageInstaller.java
|
e0b0bef75b66f0a87039c8f58c17b1596a2baebe |
13-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Surface detailed error messages from PMS. We now both log detailed error messages and relay them back to any observer. Start refactoring PMS to throw when errors are encountered internally to make it easier to reason about flow control; already uncovered a few instances of errors being silently ignored! Change-Id: Ia335c5e31bd10243d52fd735c513ca828e83dca0
ackageParser.java
|
9726eeb2b01a0e5a3d52139f3bc48d4690af1ea9 |
12-Jul-2014 |
dcashman <dcashman@google.com> |
Merge "Revert "Initial KeySet API.""
|
5de7377feca5242fe7127e2d4dc7792d4886d365 |
12-Jul-2014 |
dcashman <dcashman@google.com> |
Revert "Initial KeySet API." This reverts commit 9a643fe02bc960e266484547dda5572b094a4c72.
PackageManager.aidl
eySet.java
ackageManager.java
|
405912bce074e9e59a246e2357a108e50dffabf8 |
09-Jun-2014 |
dcashman <dcashman@google.com> |
Initial KeySet API. Bug: 6967056 Change-Id: I47a01bd5dc25591cc70f58f38920ad0a021094ae
PackageManager.aidl
eySet.java
ackageManager.java
|
d2794789c8ddcdb5876bb7c609438aac6edd2bfe |
12-Jul-2014 |
dcashman <dcashman@google.com> |
Merge "Initial KeySet API."
|
bb580670350b76fa2fcc5ee873f99b7970759cbf |
10-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Progress toward installer public API: callbacks. Instead of surfacing all the existing cryptic error codes, we're going to classify them into broad categories when surfacing through public API. This change introduces InstallResultCallback and UninstallResultCallback, and wires them up to existing AIDL interfaces. Also start defining general SessionObserver for apps interested in general progress details, such as Launcher apps. Details about active sessions are returned through new InstallSessionInfo objects. Bug: 14975160 Change-Id: I068e2b0c30135f6340f59ae0fff93c321047f8f9
PackageInstallObserver2.aidl
PackageInstaller.aidl
PackageInstallerObserver.aidl
nstallSessionInfo.aidl
nstallSessionInfo.java
nstallSessionParams.aidl
nstallSessionParams.java
ackageInstaller.java
ackageInstallerParams.java
ackageManager.java
|
a0c4a06ba336df1c1775d3918f20ba14b4607052 |
10-Jul-2014 |
Yuncheol Heo <ycheo@google.com> |
Add the system feature for HDMI-CEC. Change-Id: I2a985cedf49d50649c89f2ac5fbb80a81300156d
ackageManager.java
|
8219a25e31b52c701e45ebae82219c64ea18134b |
11-Jul-2014 |
Kenny Guy <kennyguy@google.com> |
Merge "Enforce block uninstall in PackageManager"
|
84f1294a958b42000755dc6570e3eda72ab42140 |
11-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Always derive native library paths at runtime. Over time, we've unpacked native libraries at various places with respect to their source APK. Persisting this path in PackageSettings has caused more pain recently with the switch to supporting multiArch and cluster installs. This change switches us to always derive the native library paths at runtime based on the type of install. This also ensures that transitioning between a bundled system app and an upgraded system app will always build the right path. We still persist the last generated path into PackageSettings to make cleanup at uninstall time easier. Bug: 16208505, 16206748, 16212206 Change-Id: Ieb82a424ca4a92b5674983453c50ba4b695abfb0
pplicationInfo.java
ackageParser.java
|
989eb371bf8f572fed1e65c6d8aeeb2548be89a7 |
17-Jun-2014 |
dcashman <dcashman@google.com> |
Change key-set/public-key manifest relationship. Separate definition of public keys and keysets in the manifest to better represent their relationship. The 'key-set' tags should have nested additional 'public-key' tags that indicate which of the defined 'public-key' tags are associated with them. The first use of a given 'public-key' name should define its value; subsequent uses may refer to it only by name. 'key-set' and 'public-key' names may not intersect. Also, change 'keys' tag to 'key-sets' to avoid issues with previous keysets implementation. Bug: 6967056 Change-Id: I7534e4a42326e97b67b55509187c0d3c21a2bb32
ackageParser.java
|
1b88da54a684cf12f36b74bbc7c9548f35180fbe |
10-Jul-2014 |
Kenny Guy <kennyguy@google.com> |
Enforce block uninstall in PackageManager Bug: 14127299 Change-Id: I144233b97e5774f6a5d1d2b49f3f0f8a360557ac
ackageManager.java
|
bc99305dae000d36f367378b0f88c81b8d82ba91 |
10-Jul-2014 |
Kenny Guy <kennyguy@google.com> |
Merge "Remove old listeners from LauncherApps."
|
44b6dee70eb2dfb7e26aeec9b2640d64e4f7d199 |
10-Jul-2014 |
Kenny Guy <kennyguy@google.com> |
Remove old listeners from LauncherApps. Removed functions kept to support transition from old api names to new. Fix bug with attempting to remove from listeners rather than callbacks list. Bug: 15518265 Change-Id: Ief08a6bd8289608875c1cbf5af9a4389c6e9adfd
auncherApps.java
|
ff110bd61a69f7ed8602ae14b27f7befec76b2e7 |
04-Jul-2014 |
Narayan Kamath <narayan@google.com> |
Multi-arch application installs. Each application now has two ABIs, the primary and the secondary. The app is always launched with the primary, but the secondary might be used by other apps that load the given applications code. This implies we must: - dex2oat the app both ways. - extract shared libraries for both abis. The former is relatively straightforward but the latter requires us to change the layout for shared libs that we unpack from applications. The bulk of this change deals with the latter. This change continues to fill in nativeLibraryPath during scans for backwards compatibility. This will be removed in a future patch. Change-Id: Ia943dd11ef815c5cbfc60f17929eaa2a652a385a
pplicationInfo.java
ackageInfoLite.java
ackageParser.java
|
ec55ef0934b8e0d1bb705434947de817f7be57f1 |
08-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Extend pm to support sessions and split APKs. Separate commands to create an install session, stream files into the staging area, and then commit the install. Streaming can accept data from stdin across adb, avoiding extra copy from push. Extend FileBridge to support blocking close(). Always destroy session regardless of result. Bug: 14975160 Change-Id: Ic3f462e7d1901079b785e210228950cdfa676466
PackageInstaller.aidl
ackageInstaller.java
ackageInstallerParams.java
ackageParser.java
ignature.java
|
404b8578c54c38d3658287030ae06c8221349534 |
09-Jul-2014 |
Narayan Kamath <narayan@google.com> |
Merge "Add manifest attribute for multiArch apps."
|
589a1bc0b00e570db079b4b157f60229ad8ef8f9 |
03-Jul-2014 |
Narayan Kamath <narayan@google.com> |
Add manifest attribute for multiArch apps. bug: 16013931 Change-Id: Ie8b01d364eed0846deeddf11e0d6e4cc1fba3e61
pplicationInfo.java
ackageParser.java
|
d746057f2414cba2bdc69257cc5be8cb681bb592 |
07-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Change new file installs to be cluster-based! Now that all the other pieces are in place, we're ready to start installing new file-based packages as a cluster (the new unified directory-based layout). This greatly simplifies the renaming process. Also add helper methods to ApplicationInfo to give a much clearer mapping between it and internal field names, since we can't change the public API. Add recursive restorecon(). Bug: 14975160 Change-Id: I72a63c5ddbc594c2fec4a91dd59f73ef253fbfd7
pplicationInfo.java
ackageParser.java
|
5e6643c1376130e402d30da647fdfebd86b7f2fc |
09-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Clean up IPackageManager install surface area."
|
513a074de68a4772a9900e90f38e74ff92c15e7c |
09-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Clean up IPackageManager install surface area. Also more removal of encryption support. Change-Id: If525dc5a8422134515f225a8ac4731e968069468
PackageManager.aidl
|
4bb015d90ae2aa3ce30778f3f584e0b7124f7505 |
05-Jul-2014 |
Joe LaPenna <jlapenna@google.com> |
CW on Master: Disable CaptivePortalTracker, EthernetService BUG: 15143878 Change-Id: I6c534a28c1fcd475982ae70e7f3af69f3a219e24
ackageManager.java
|
be520fba1e45c77ca20eb66005a0cf19e10939a1 |
05-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Teach DCS about cluster packages. For the time being, DCS is going to still be doing heavy lifting for some install tasks, so it need to know how to handle both monolithic and cluster packages. This change is mostly plumbing work to eventually handle any various splits APKs that we may encounter. Bug: 14975160 Change-Id: I39848d5666f9083cb4eca493e5cdaa868f3f99fb
ackageParser.java
|
73767b9d607d99b3a027619b5c6b7f1a09b7673d |
05-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Extract native code from split APKs. In the new split APK world, multiple APKs work together to define a single package. This means that native code may be split among those APKs. To handle this, extend NativeLibraryHelper to examine all APKs in a package ordered by splitName. A package has valid native code as long as one matching ABI is found inside. The "best" ABI found across all APKs is picked for the entire package. No attempt is made to ensure that every native library defined is available for the picked ABI; that's the responsibility of the installer. Re-introduce PackageLite to represent a lightweight parsing of an entire package, which may be a single monolithic APK or a cluster of one or more APKs. Remove native code extraction from InstallerSession, since it'll be handled inside PMS for this release. Bug: 14975160 Change-Id: I4f4db0f82e88a46101c7777499ebc0a11fd911f9
ackageParser.java
|
c13053bf1c05b980421611487ce67677c08db299 |
29-May-2014 |
Kenny Guy <kennyguy@google.com> |
Add package state to block uninstall. Add package state to allow profile or device owners to block uninstall of packages. Add API to DevicePolicyManager to set/get the state. Bug: 14127299 Change-Id: I03528819850b42df7bafa7747bb9e4558d20c4e6
PackageManager.aidl
ackageManager.java
ackageUserState.java
|
7482a8d08ea1270c8411ecd634eaf7c2a0fda7ee |
17-Jun-2014 |
Marcin Kosiba <mkosiba@google.com> |
Preload the WebView package into all applications. This is a temporary workaround to allow the WebView to move into an APK. BUG: 11505352 Change-Id: I0c446d44c3f94f70bced7f471ae6fb74f65d5ff9
ackageParser.java
|
57dcf5b177b56195421535938544f32d8b591b42 |
19-Jun-2014 |
Jeff Sharkey <jsharkey@android.com> |
Slow progress towards APK clusters. Differentiate between "split APKs" and "cluster packages". A cluster package is a directory containing zero or more APKs (base+splits), and a monolithic package is a single APK (base). PackageSetting will use the directory name as its codePath, so track the baseCodePath separately. Clarify documentation in several places. Require that all installers provide file:// URIs through existing hidden APIs; PackageInstaller hasn't been able to read content:// URIs for a long time. Bug: 14975160 Change-Id: I1c6fed1b55205c2474b09871161a98a26669d22e
pplicationInfo.java
ackageParser.java
|
ca76cccb61d4d914abbb5079cb65455505494e2f |
02-Jul-2014 |
dcashman <dcashman@google.com> |
Merge "Initial work for key rotation."
|
55b1078e2a1b56daa85edfd5000a5844d3c7914b |
09-Apr-2014 |
dcashman <dcashman@google.com> |
Initial work for key rotation. Introduces the upgrade-keyset tag to AndroidManifest.xml. This specifies a KeySet by which an apk must be signed in order to update the app. Multiple upgrade KeySets may be specified, in which case one of them must be used to sign the updating apk. If no upgrade-keyset is specified, the current logic involving signatures is used. Current Key Rotation Design Decisions: -Apps using a shared user id may not rotate keys. -All acceptable upgrade keysets must be specified, including the key signing the app. This enables key rotation in one update, but also 'locks' an app if an incorrect upgrade keyset is specified. -Minimal changes to existing KeySet code. Bug: 6967056 Change-Id: Ib9bb693d4e9ea1aec375291ecdc182554890d29c
ackageParser.java
|
7f7b0c759e2970178ef68805b21f06a26e24eb76 |
23-Jun-2014 |
Nicolas Prevot <nprevot@google.com> |
Returning badged icons for components of corporate apps. So, corporate apps in disambiguation dialogs are badged. And updating the way we show the icon of the personal space to this new design. BUG: 14377051 Change-Id: Idc707773a64a8feb2d9d4df88c425d5100542636
ackageItemInfo.java
ackageManager.java
esolveInfo.java
|
0363c3eb089afd4474bfd6ae6ee8a500d6e97614 |
23-Jun-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Expose per-user APIs for content services. Bug: 15466880 Change-Id: Ib5a030e78559307627fe0d2e80ce6f1a7825109d
ackageManager.java
|
fa4533f3a07ebed479d2a0e7af7d6e03d4417d41 |
24-Jun-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Skip forwarding launcher intents If we forward intents when looking up launcher icons, we end up having an icon for a disambig activity instead of the apps for that user. Bug: 15769854 Change-Id: Ia57525466dba57b6669b2b5cedf98f202d08f586
ackageManager.java
|
88cc346d0602e0b173b5076cd0051120682da601 |
14-May-2014 |
Nicolas Prevot <nprevot@google.com> |
Show the icon of the personal space. In an intent disambiguation dialog from a managed profile, when the intent can be forwarded to the personal space: show the icon of the parent next to "Personal apps". And put it at the bottom of the dialog. Change-Id: I523222aac5dde9653e784eb26cf23cdaf018b86c
ackageManager.java
esolveInfo.java
|
aeb0ed74670e0502a04b689fe1b4fe0f537f4a91 |
23-Jun-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Merge "Adds cross-profile intent filters for the Settings app"
|
9d4e9bcebbd97ad51daa0ef15cfba5aabb399bbb |
19-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Allow a root activity to relinquish task identity If a an acitivty with attribute android:relinquishTaskIdentity true is the root activity of a task then the intent of that task will be that of the first activity in the stack with android:relinquishTaskIdentity set false. The ability to set intent also includes the ability to set the TaskDescription of the task. Fixes bug 15675610. Fixes bug 10428661. Change-Id: Ib28a9eae3b9832eeeef9106adbebe344184ee5ae
ctivityInfo.java
ackageParser.java
|
0270cfb71df55c1d213340bf9b678a48cc7b8e6e |
20-Jun-2014 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Explicitly collect manifest digests."
|
032f2b246bd01653c592f2b148d6a0debfe164b2 |
20-Jun-2014 |
Jeff Sharkey <jsharkey@android.com> |
Explicitly collect manifest digests. Previously it was a side effect of collectCertificates(). Bug: 15740334 Change-Id: I2e044fdcc1c86ce730b9570bfbecf873366325e1
ackageManager.java
ackageParser.java
|
6e2ae2590ded39f04f76d5ddca0f06fe01586e26 |
12-Jun-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Adds cross-profile intent filters for the Settings app Bug: 15466742 Change-Id: Id9af588f2f3d51a562ef2a06fe7404c96123cc2e
PackageManager.aidl
ackageManager.java
|
275e085d5a42ced54bb79e40ff76c77539e7d82d |
18-Jun-2014 |
Jeff Sharkey <jsharkey@android.com> |
Stronger PackageParser contract, more split work. Require that method callers always provide relevant paths, instead of relying on constructor. Move DisplayMetrics to be an overall parser parameter, and move PARSE_TRUSTED_OVERLAY to flags. Parse split APKs and apply deterministic ordering based on split names. Assert consistent package name and version code across all split APKs in a package, and enforce unique split names and required base APK. Collect certificates for split APKs, enforcing they're all signed consistently. Better flow control and resource cleanup when collecting certs. Refactor validation code so it's easier to reason about. Cleaner maintenance of read buffer when draining stream contents. Change-Id: I8bc8c62095fbb933227b9e76ad8771f4b1246fe8
ackageManager.java
ackageParser.java
|
e7cd37e6138c5e769cc6cb398e632bca24d2d1ab |
19-Jun-2014 |
Nicolas Prevot <nprevot@google.com> |
Merge "Introducing crossProfileIntentFilters that skip the current profile."
|
63798c596dc757135950313eb4bb44ca58696c68 |
27-May-2014 |
Nicolas Prevot <nprevot@google.com> |
Introducing crossProfileIntentFilters that skip the current profile. For these crossProfileIntentFilters, the activities in the current profile cannot respond to the intent. Only activities in the target profile can respond to the intent. BUG: 14936725 Change-Id: I5e2704c2b56ff50a8339dd49284956391d7fad7e
PackageManager.aidl
ackageManager.java
|
9c46e06478ddd821c9172c77f48fa7f64a870ad0 |
19-Jun-2014 |
Christopher Tate <ctate@google.com> |
Merge "Introduce <application> attribute android:fullBackupOnly={boolean}"
|
d1de2567c6758e81a87c0f5eff9ff53ffebab134 |
18-Jun-2014 |
Christopher Tate <ctate@google.com> |
Introduce <application> attribute android:fullBackupOnly={boolean} It is quite possible for an application to be happy with having the OS save full-data archives of its data, but still need to selectively filter the set of saved files or otherwise participate in full-data backup and restore. In general we assume that any app which provides a backup agent implementation will be directly participating via the incremental key/value backup API; this new attribute allows an app to tell the OS "perform full-data backup/restore for me even though I am supplying my own agent implementation to participate." Change-Id: I810c50d44aa683b1f23604b7d1f3e96a1722103a
pplicationInfo.java
ackageParser.java
|
c6543afd6b94671c99bd7a934da010918a015286 |
18-Jun-2014 |
Kenny Guy <kennyguy@google.com> |
Merge "Update API for launcher apps to use abstract class."
|
8a4c9721a9e09d20c63381c13fa29bd9f7cbc3e3 |
16-Jun-2014 |
Jeff Sharkey <jsharkey@android.com> |
Plumb split APKs into public API. Introduces new ApplicationInfo fields to surface zero or more split APKs for an application. Splice these APKs into both the class loader and resource system. Cleaner building of these paths. Run dexopt() on all split APKs found after a parse, and populate into ApplicationInfo. Change-Id: I4a376bf4492d84ea95aafa866e106ea43a43e492
pplicationInfo.java
nstrumentationInfo.java
|
f62d690b00c3808496e6a5c35f3942c78fbb15d5 |
18-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Fix persistent tasks and expand scope"
|
43e52ed32e2d55ef4aee18c4b4bc13b7fdef9cc4 |
17-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Fix persistent tasks and expand scope - Fixed missing tag closure on the xml for storing Intent categories. - Shortened timeout for flushing tasks to persistent storage from one minute to ten seconds. - Made persistency the default except for those tasks on the home stack and those tasks that exclude themselves from the recent task list. - Fixed deletion of tasks after restoring. Tasks now survive a second reboot, not just the first reboot. - Fixed sort order so most recent tasks will be restored at front. Fixes bug 15672002. Change-Id: I16d87d58c6fd2e879cfd0c0b18b2694432a79b71
ctivityInfo.java
ackageParser.java
|
c0154537b0b7926ce6a3c778597b3c2735ca5497 |
16-Jun-2014 |
Kenny Guy <kennyguy@google.com> |
Update API for launcher apps to use abstract class. Leaving old API behind until unbundled launcher has been updated. Bug: 15518265 Change-Id: Ic26878224df51093d7d08651adda08f760b405be
auncherApps.java
|
c4858a2ba972e86436d629c4d3f18eb49116de14 |
16-Jun-2014 |
Jeff Sharkey <jsharkey@android.com> |
Switch PackageParser to reference single path. It previously kept mPath separate from mScanPath for some very odd edge cases around moving apps-on-SD. This changes it to always use a single path, refactors moving to keep separate paths. Refactors method names in PackageParser to be clearer about their APK-versus-package relationship. Beginnings of a split package parser. Instead of requiring that callers check error codes when null, switch to always throwing on parse errors, to require that callers deal with the error. Longer term the entire parser should switch to this style, but its too pervasive for a simple refactoring. Change-Id: If071d8e55e46e56cc201fadfb51cb471713ae973
ackageManager.java
ackageParser.java
|
76f7e7ee20866c41b73f60d2195f34d9b8c542b3 |
13-Jun-2014 |
Amith Yamasani <yamasani@google.com> |
am 54b3006b: Merge "Undo some API changes that affect third party launcher writers" into lmp-preview-dev * commit '54b3006b6340a2a311acb8f70d4602506e63b1ae': Undo some API changes that affect third party launcher writers
|
992fdbeff296670e62078dd0c3d3b2b9bb2c95ec |
12-Jun-2014 |
Amith Yamasani <yamasani@google.com> |
Undo some API changes that affect third party launcher writers Remove hidden interface methods that were added temporarily for launcher compatibility. These cannot be implemented by third parties if they're hidden from the SDK. Bug: 15574383 Change-Id: I976256da4278b7077f8d357e971e8cadb4d2d686
auncherApps.java
|
7683baad6c437af2931020423bf227f97a3ce0ba |
10-Jun-2014 |
Craig Mautner <cmautner@google.com> |
am a7c5791a: Merge "Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK" into lmp-preview-dev * commit 'a7c5791a95bf732c2381f698d78930ee61efd36b': Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK
|
df8e542a8a638c18074221f47c4e4afcd3502810 |
10-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK" into lmp-preview-dev
|
f357c0ca514d73273a18b3896e565b2272e608ad |
09-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK Change definition of FLAG_ACTIVITY_NEW_DOCUMENT from FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET alone. Also add new documentLaunchMode of "never" to allow activity writers to keep their activity from being launched in document mode. Fixes bug 15468528. Change-Id: Ied11adf97e85c5d3f99f4c0bbbb4a2905dcfb24e
ctivityInfo.java
|
5c507c1371d273cdff61d2395d47bd54fa26d614 |
06-Jun-2014 |
Jeff Brown <jeffbrown@google.com> |
Rename PrivateApi annotation to SystemApi. (DO NOT MERGE) Change-Id: I97b473884f81ad375d0733e4766afe091dfdd854
ontainerEncryptionParams.java
anifestDigest.java
ackageManager.java
|
89b3b4a0b214eea12a5f48b61a021103cdc5c10e |
05-Jun-2014 |
Adam Connors <adamconnors@google.com> |
API Review: rename FEATURE_MANAGEDPROFILES To be FEATURE_MANAGED_PROFILES Bug: 15025371 Change-Id: I2f818b4d8488fe7943fe5ff6051d6b1f84ca9e8c (cherry picked from commit 687efd6f5c05dc1e4a9c284bf3edae901af45942)
ackageManager.java
|
82b3201a95063a1fe51842417c444c0dfd8cf780 |
07-Jun-2014 |
Nick Kralevich <nnk@google.com> |
resolved conflicts for merge of 13ed83ee to master Change-Id: Ia3739cfa7af60e6a47bf94d403df190f3f2cd082
|
d5a5b5a547462f3e7c6315a501909bce2418ba86 |
06-Jun-2014 |
Jeff Brown <jeffbrown@google.com> |
Rename PrivateApi annotation to SystemApi. Change-Id: I97b473884f81ad375d0733e4766afe091dfdd854
ontainerEncryptionParams.java
anifestDigest.java
ackageManager.java
|
ffcfcaadfefec2fb56f67a0a614a54bf4599d62b |
05-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Implement maxRecents and fix TaskPersister bug Activities can now set the maximum number of times that they will appear in the recent task lists when using DocCentric mode. The default number is 15, the min 1, and the max 100. Also a bug in TaskPersister that deleted files because it did not properly parse their task ids is fixed. Fixes bug 13736052. Change-Id: I7ccb4e6f89d6202ff31c8577bb7b9d8d1b7e5e8d
ctivityInfo.java
ackageParser.java
|
7283f963d30c2cc9694e1a1a178641ac40dd3a07 |
05-Jun-2014 |
Adam Connors <adamconnors@google.com> |
Merge "API Review: rename FEATURE_MANAGEDPROFILES"
|
551c0789bcc6e2fe428d848f5845e6b939f81c47 |
05-Jun-2014 |
Adam Connors <adamconnors@google.com> |
API Review: rename FEATURE_MANAGEDPROFILES To be FEATURE_MANAGED_PROFILES Bug: 15025371 Change-Id: I2f818b4d8488fe7943fe5ff6051d6b1f84ca9e8c
ackageManager.java
|
a2d1454133405f5a031d5838a68159106f719720 |
05-Jun-2014 |
Elliott Hughes <enh@google.com> |
am ef3aeeca: am 38a5a257: am 759a8978: Merge "Minor javadoc improvements for PackageManager." * commit 'ef3aeecacd4c47f6baeb96d06d69aad1ca4bcb1a': Minor javadoc improvements for PackageManager.
|
ef3aeecacd4c47f6baeb96d06d69aad1ca4bcb1a |
05-Jun-2014 |
Elliott Hughes <enh@google.com> |
am 38a5a257: am 759a8978: Merge "Minor javadoc improvements for PackageManager." * commit '38a5a257a9aaf85606eb7117d943a877dc7d3c93': Minor javadoc improvements for PackageManager.
|
dde24269c1eecb3ade2f625f4777492d4ef71526 |
04-Jun-2014 |
Amaury Medeiros <amaurymedeiros@gmail.com> |
Minor javadoc improvements for PackageManager. - Removed duplicated use of the word "the". - Changed @return and @param explanation of getApplicationEnabledSetting, which should get the enabled state of an application and not just one component. Change-Id: Ide07ec84ceb5b9b5caa28efa9ba838a40ee7b514 Signed-off-by: Amaury Medeiros <amaurymedeiros@gmail.com>
ackageManager.java
|
797b109c60bda8e122075b0c2101d3f2a0b67c07 |
03-Jun-2014 |
Narayan Kamath <narayan@google.com> |
am 7ed98c43: Merge "Add an --abi argument to "pm install"" * commit '7ed98c43f8cbcfbb4862205a72455ab39359a011': Add an --abi argument to "pm install"
|
dad8f819a710510be28e9fdeee84f9b5b2ddacbf |
03-Jun-2014 |
Narayan Kamath <narayan@google.com> |
Merge "Add an --abi argument to "pm install""
|
116bdbd823b607d860b039ec334a1f985eed7a7f |
29-May-2014 |
Narayan Kamath <narayan@google.com> |
Add an --abi argument to "pm install" This allows callers to force an install to a particular ABI. This is intended only for testing (and CTS) and is not meant for usage by the installer package. bug: 14453227 (cherry picked from commit 6431d11cd420536aaa9d93ae510a3151ccc4df1d) Change-Id: I85d4f8785deea02a6a4d3cb0b05e6ef8bf64826b
PackageManager.aidl
|
6431d11cd420536aaa9d93ae510a3151ccc4df1d |
29-May-2014 |
Narayan Kamath <narayan@google.com> |
Add an --abi argument to "pm install" This allows callers to force an install to a particular ABI. This is intended only for testing (and CTS) and is not meant for usage by the installer package. Change-Id: Icb1528c0cd35b1aa9323386cb35ff4aaba374fcb
PackageManager.aidl
|
de8f11654f10cf9e7d6285a26680dda3ac757b5e |
30-May-2014 |
Amith Yamasani <yamasani@google.com> |
am 651fcf79: Merge "Tweak LauncherApps API based on feedback" into lmp-preview-dev * commit '651fcf798faf62f95bafaf3f1aaa1f05358254a2': Tweak LauncherApps API based on feedback
|
e781c81d3394642583d555e7a5d6f6f8f63bc538 |
29-May-2014 |
Amith Yamasani <yamasani@google.com> |
Tweak LauncherApps API based on feedback UserHandle must be after packageName/componentName. Improved javadoc for density. Added getApplicationInfo(). Remove synchronized methods. Temporarily @hide the old APIs to make sure they continue to work for unbundled launchers. Bug: 15025908 Change-Id: Iee6336b54e1b4d5c43f1e643062327ff463cb695
auncherActivityInfo.java
auncherApps.java
|
4b9d79c30eccb61645d98a4f0d49b7769e8c7ccc |
22-May-2014 |
Amith Yamasani <yamasani@google.com> |
Fix singleUser attribute Make it work correctly for singleton content providers. Relax which apps can export singleton content providers. Change-Id: I43d315c25ed76a876bfa6d5e0d1351bc19c9bdba
ackageParser.java
|
8194899071e0a84c95ef10614bd1b9485b48f589 |
16-May-2014 |
Nicolas Prevot <nprevot@google.com> |
Rename code related to cross-profile intents. For example, replace ForwardingIntentFilter by CrossProfileIntentFilter Bug: 15023443 Change-Id: Iee8cdf578817ef9956bcdece803a49b0d07b67f7
PackageManager.aidl
ackageManager.java
|
5ec9aed64cd03545eded622cca214c83c170ab22 |
23-May-2014 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Offer to stream and fsync() install sessions."
|
78cc340c2de873d6995c283b777476f7237d690f |
22-May-2014 |
Jeff Sharkey <jsharkey@android.com> |
Offer to stream and fsync() install sessions. Installers are interested in both streaming APK data and establishing a happens-after relationship to support resuming downloads after a process kill or battery pull. This exposes a generic OutputStream for writing, and hooks up flush() to be a blocking call which returns only when all outstanding write() data has been fsync()'ed to disk. Tests to verify behavior. Bug: 14975160 Change-Id: I38289867c80ac659163bb0c2158ef12d99cc570d
ackageInstaller.java
|
f564c7fe86d2aa9a7622667771d9e4bbf5518ffa |
20-May-2014 |
Ben Murdoch <benm@google.com> |
resolved conflicts for merge of ecf09321 to master Change-Id: I7a440204dfc79f3b82bd95d3d1276158bf3d44a2
|
ecf09321c5604558b159057e430b7faf7e6a7352 |
20-May-2014 |
Ben Murdoch <benm@google.com> |
am e0d6a6b0: Merge "Add PackagManager flag for WebView system feature." into klp-modular-dev * commit 'e0d6a6b05b0861a5aa6dd8189de61a4da8d39dae': Add PackagManager flag for WebView system feature.
|
422c7a5834b4e0f1bbf56d00fb824c9bbbd3ead4 |
16-May-2014 |
Ben Murdoch <benm@google.com> |
Add PackagManager flag for WebView system feature. Add a flag for PackageManager.hasSystemFeature to determine if a functional webview is available on the device. Bug: 13438487 Change-Id: I770f7e924b3e5fa6be0397904acf18c9306096e4
ackageManager.java
|
5d5f19a339bc4a8f10f75b51625d8d50ee0729e0 |
15-May-2014 |
Narayan Kamath <narayan@google.com> |
am 6e2e6868: am 706b1d7e: Merge "Remove "required" prefix from ABI fields." * commit '6e2e686889037711170ee145f9dfdb442cee85db': Remove "required" prefix from ABI fields.
|
6e35a2ad05864e7dec5526d11c007efeec252706 |
30-Apr-2014 |
Narayan Kamath <narayan@google.com> |
Remove "required" prefix from ABI fields. As per a comment on an earlier code review. (cherry-picked from commit a9d64733421d6765eab5c2730fa912f068e26047) Change-Id: I064cffc13c323b721f3a16c83e0e95ee348ef9f6
pplicationInfo.java
|
1e74c37f8e1acb595f407e0f65744bb6b00c9314 |
15-May-2014 |
Narayan Kamath <narayan@google.com> |
Merge "Remove "required" prefix from ABI fields."
|
8b0cfb7dbde6f19a5dd5879fef3d16576f2eeba4 |
15-May-2014 |
Jeff Sharkey <jsharkey@android.com> |
Binder interfaces mean we can't use @PrivateApi. Change-Id: Ie6d516b9ef8b7874160634b3b7b70d19481d1605
ackageManager.java
|
3a44f3f1b446315ef894e01d2ab9b5388c2bd8c4 |
29-Apr-2014 |
Jeff Sharkey <jsharkey@android.com> |
Initial support for split APKs, PackageInstaller. Defines a new PackageInstaller class that will be used for installing and upgrading packages. An application desiring to install an application creates a session, stages one or more package files in that session, and then kicks off the install. Previously, PackageManager would always make its own copy of a package before inspecting it, to ensure the data could be trusted. This new session concept allows the installer to write package data directly to its final resting place on disk, reducing disk I/O and footprint requirements. Writes are directed through an intermediate pipe to ensure we can prevent mutations once an install has been initiated. Also uses fallocate() internally to support optimal ext4 block allocation using extents to reduce fragmentation. Sessions are also the way we support installing multiple "split" APKs in a single atomic operation. For a set of packages to form a valid application, they must have exactly the same package name, version code, and certificates. A session can also be used to add a small handful of splits to an application by inheriting existing packages when not performing a full install. Add PackageParser support for extracting split names and certificates. Bug: 14975160 Change-Id: I23d1bf4fbeb9f99a8c83be0c458900a0f0d1bccc
ontainerEncryptionParams.java
PackageInstallObserver2.aidl
PackageInstaller.aidl
PackageInstallerSession.aidl
PackageManager.aidl
ackageInstaller.java
ackageInstallerParams.aidl
ackageInstallerParams.java
ackageManager.java
ackageParser.java
ignature.java
erificationParams.java
|
89b77cded638cab56a002c28da4d09f144f7c6cb |
01-May-2014 |
Jeff Sharkey <jsharkey@android.com> |
Mark hidden PM APIs that bundled apps depend on. Change-Id: I18f2561ee65888fee08c61babc956bb8c3285366
ontainerEncryptionParams.java
anifestDigest.java
ackageManager.java
|
34f6084bc21b07ae9112be6e7a8f50c49828ac9c |
30-Apr-2014 |
Narayan Kamath <narayan@google.com> |
Remove "required" prefix from ABI fields. As per a comment on an earlier code review. Change-Id: I3ae30f8a7bc90730068644f93b926e0e05a2cdfb
pplicationInfo.java
|
82c93357d0b61a6e12dcfc5eee1101968b8cba22 |
12-May-2014 |
Tim Kilbourn <tkilbourn@google.com> |
am 05c581ac: Merge "DO NOT MERGE Hide more leanback stuff." into klp-modular-dev * commit '05c581ac4d6f44263891eae94a41a3841634d89c': DO NOT MERGE Hide more leanback stuff.
|
0ff8f796d968a45d26038e3a08ba9785f985a1ec |
12-May-2014 |
Tim Kilbourn <tkilbourn@google.com> |
am d6fc5115: Merge "DO NOT MERGE Hide leanback packagemanager apis." into klp-modular-dev * commit 'd6fc5115a656f9d06dd1d455f8bedd5f5eca943b': DO NOT MERGE Hide leanback packagemanager apis.
|
05c581ac4d6f44263891eae94a41a3841634d89c |
12-May-2014 |
Tim Kilbourn <tkilbourn@google.com> |
Merge "DO NOT MERGE Hide more leanback stuff." into klp-modular-dev
|
d6fc5115a656f9d06dd1d455f8bedd5f5eca943b |
12-May-2014 |
Tim Kilbourn <tkilbourn@google.com> |
Merge "DO NOT MERGE Hide leanback packagemanager apis." into klp-modular-dev
|
8bfb3513ee8f0bd6ccd98f347a4cbdf99de703a1 |
09-May-2014 |
Eino-Ville Talvala <etalvala@google.com> |
am 1caeb10a: DO NOT MERGE: Add android.hardware.camera.external feature. * commit '1caeb10a7a288d937195d925c52f441f454cbc9a': DO NOT MERGE: Add android.hardware.camera.external feature.
|
1caeb10a7a288d937195d925c52f441f454cbc9a |
08-May-2014 |
Eino-Ville Talvala <etalvala@google.com> |
DO NOT MERGE: Add android.hardware.camera.external feature. This feature will be listed by Android devices that allow for an external camera to be connected to it. Such camera devices may not always be available or connected. Also clarify that android.hardware.camera.any also encompasses devices that list android.hardware.camera.external. Change-Id: I57497758877e4286c1f0116961731d483b56808f
ackageManager.java
|
2e58d6de062fc48ad2a032d90d4956cf8041a894 |
08-May-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Add android.hardware.camera.external feature."
|
9131da28e17856fa583d42ea23da211f7689487f |
08-May-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Add android.hardware.camera.external feature. This feature will be listed by Android devices that allow for an external camera to be connected to it. Such camera devices may not always be available or connected. Also clarify that android.hardware.camera.any also encompasses devices that list android.hardware.camera.external. Change-Id: I57497758877e4286c1f0116961731d483b56808f
ackageManager.java
|
7d3387bc13427b61708d5a39fc4f626ee869ecdc |
08-May-2014 |
Vinod Krishnan <vinodkrishnan@google.com> |
am 03498d34: am b9d71fa1: Merge "Adding a HeartRate Feature" into klp-modular-dev * commit '03498d349ae3aa5e429e999b97036d194981373f': Adding a HeartRate Feature
|
03498d349ae3aa5e429e999b97036d194981373f |
07-May-2014 |
Vinod Krishnan <vinodkrishnan@google.com> |
am b9d71fa1: Merge "Adding a HeartRate Feature" into klp-modular-dev * commit 'b9d71fa1081dc318a811b60660009d0769c02971': Adding a HeartRate Feature
|
6422abef786632e53337c6c298ffa64f7ddf4d90 |
07-May-2014 |
Brian Carlstrom <bdc@google.com> |
resolved conflicts for merge of 3bbef521 to master Change-Id: I0bbb7c80f6c4f003779da784475d7acbfb898c94
|
3bbef521d4b07f86010ba0729a36ff8b73bcb0ac |
07-May-2014 |
Brian Carlstrom <bdc@google.com> |
resolved conflicts for merge of f2db00fd to klp-modular-dev-plus-aosp Change-Id: I745164033962f6222832f8f19fa316a2e2634fd0
|
2dac05617952e1341f9c522e4c05936d7ef07399 |
06-May-2014 |
Craig Mautner <cmautner@google.com> |
Add attributes and flags for DocCentric. Add Intent flag and attribute for auto removal of task from recents once task completes. Add manifest attribute for auto launching into doccentric. Equivalent to Intent.FLAG_ACTIVITY_NEW_DOCUMENT. Fixes bug 14586473. Change-Id: I04acc9333c3725b4db94a954358eb78df507ff53
ctivityInfo.java
ackageParser.java
|
7c433b3d9c7ca4486f392bb82f56251c69ba6cf4 |
07-May-2014 |
Tim Kilbourn <tkilbourn@google.com> |
DO NOT MERGE Hide more leanback stuff. - leanback intent category - FLAG_IS_GAME Bug: 14116162 Change-Id: I5665dda4c47e24a06707df4989ee117b4e91c246
pplicationInfo.java
|
ff1ec4d9e7b7eb1b6303d147c796f8767ee6715b |
17-Mar-2014 |
Brian Carlstrom <bdc@google.com> |
Use package usage information to decide what dex files to optimize in PackageManagerService Change-Id: Iac137311e2e9d5139b5aa8651c6f3d296802612a
ackageParser.java
|
eeeacab5d52dea25adcc5d3e40b5afe7dfa105de |
06-May-2014 |
Tim Kilbourn <tkilbourn@google.com> |
DO NOT MERGE Hide leanback packagemanager apis. Bug: 14116162 Change-Id: I410d720013ba4e2bc1b0f8a6973daba5ca9008c6
ackageManager.java
|
c79586ede6dcd6a167bc8360f058cb5cc655b33d |
06-May-2014 |
Nicolas Prevot <nprevot@google.com> |
Cleaning code related to the forwarding intent filters. Checking for INTERACT_ACROSS_USERS_FULL Adding equivalent methods in the PackageManager Change-Id: Iaa1328fa666613a78e67ca669ea045144275e895
ackageManager.java
|
6fee7d4cf991a8d39bdefb782937250c87f60f25 |
01-May-2014 |
Nicolas Prevot <nprevot@google.com> |
Introducing removable and non-removable ForwardingIntentFilters. clearForwardingIntentFilters removes only non-removable IntentFilters. The ForwardingIntentFilters set by the profile owner are always removable. Change-Id: If950ccd7e69261b86360ea647fdb501c92f5440b
PackageManager.aidl
|
8afb23cbf6506008d7724197d881979d8c29f17b |
30-Apr-2014 |
Vinod Krishnan <vinodkrishnan@google.com> |
Adding a HeartRate Feature Bug: 14140142 Change-Id: I080bf12995355eac7621ef46e1a4a64d1f865500
ackageManager.java
|
3c4d9c56db5b24699956de0a5a841196185363cc |
01-May-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Merge "Adds an enabled state in UserInfo instead of DevicePolicyManager"
|
df35d570ed25257c6782e632ab1bae5e1603855a |
09-Apr-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Adds an enabled state in UserInfo instead of DevicePolicyManager Bug: 14377459 Change-Id: Ib4ec43d87da96c3dddaf9b7ae1796f261863a182
serInfo.java
|
ff2e05e1f69eb0cbe9ba68cb1adbd2b2922eeeb7 |
01-May-2014 |
Nicolas Prevot <nprevot@google.com> |
Merge "Introduce forwarding intents across profiles."
|
10fa67c77e11699391e27975fc2d276a0b8c7cbb |
24-Mar-2014 |
Nicolas Prevot <nprevot@google.com> |
Introduce forwarding intents across profiles. The package manager service maintains, for some user ids, a list of forwarding intent filters. A forwarding intent filter is an intent filter with a destination (a user id). If an intent matches the forwarding intent filter, then activities in the destination can also respond to the intent. When the package manager service is asked for components that resolve an intent: If the intent matches the forwarding intent filter, and at least one activity in the destination user can respond to the intent: The package manager service also returns the IntentForwarderActivity. This activity will forward the intent to the destination. Change-Id: Id8957de3e4a4fdbc1e0dea073eadb45e04ef985a
PackageManager.aidl
|
7e5264ced758107d83da88d6e476d16028b3cc71 |
30-Apr-2014 |
Kenny Guy <kennyguy@google.com> |
Merge "Extend LauncherApps service to expose enabled state."
|
53fa4ec7f466e70fe3e33d15c4abfc9bb557eb10 |
29-Apr-2014 |
Kenny Guy <kennyguy@google.com> |
Extend LauncherApps service to expose enabled state. Provide methods for checking if a package or activity is enabled for a given profile. Change-Id: If9cb15dc9398a709e60e7b689b664c24c49fcc16
LauncherApps.aidl
auncherApps.java
|
a8e65fd82a323e6065ae9ae6cc8eaa130d3c1efd |
24-Apr-2014 |
Kenny Root <kroot@google.com> |
Only remember the signer certificates for Signatures Previously we would use the JarEntry#getCertificates API which would return a flattened array of all the signers and their certificate chain. Since this isn't what was intended, switch to reading the certificate chains and only paying attention to the signer certificate. In order to migrate during upgrades of the platform, we'll scan on boot with a compatibility mode which will check the stores signatures in the old format by flattening the chains of the scanned packages then comparing the two sets. Bug: 13678484 Change-Id: I02a5c53121d8d6f70a51d7e3b98168a41e11482e
ackageParser.java
ignature.java
|
0150b48c4c4876a90b74826f864a4d864921166e |
26-Apr-2014 |
Amith Yamasani <yamasani@google.com> |
Merge "Handle density request in LauncherActivityInfo"
|
30acde7e90105d15b1639a24db3f9978e664dded |
26-Apr-2014 |
Amith Yamasani <yamasani@google.com> |
Handle density request in LauncherActivityInfo Change-Id: I4e8dc8ef1454b3881bdb80ae118e2d0d306642f3
auncherActivityInfo.java
|
86a6430e526efc9656c539f9d7e5dea34219ef44 |
25-Apr-2014 |
Kenny Guy <kennyguy@google.com> |
Provide access to ActivityInfo.name from LauncherActivityInfo Change-Id: Ia34900f3e232b59f3879dbb3cb3131498023b8ac
auncherActivityInfo.java
|
91097de49b0f683b00e26a75dbc0ac6082344137 |
05-Apr-2014 |
Dianne Hackborn <hackbod@google.com> |
Initial implementation of new voice interaction API. This gives a basic working implementation of a persist running service that can start a voice interaction when it wants, with the target activity(s) able to go through the protocol to interact with it. It may even work when the screen is off by putting the activity manager in the correct state to act like the screen is on. Includes a sample app that is a voice interation service and also has an activity it can launch. Now that I have this initial implementation, I think I want to rework some aspects of the API. Change-Id: I7646d0af8fb4ac768c63a18fe3de43f8091f60e9
PackageManager.aidl
ackageManager.java
|
ffcda1086185f217ebfbac0735f92fcc8a9196c8 |
24-Apr-2014 |
Dianne Hackborn <hackbod@google.com> |
Add support for muliple active development codenames. The resource API level is also bumped by the number of active codenames there are. Change-Id: Ic1bac452d5c13dc3f48040ffa47f54b28abe2ccc
ackageParser.java
|
d2cc56ebb38b0b9e792e81ba9db8148a3a4b72f6 |
24-Apr-2014 |
Craig Mautner <cmautner@google.com> |
resolved conflicts for merge of f8a58208 to master Conflicts: core/java/android/content/pm/PackageParser.java core/res/res/values/attrs_manifest.xml core/res/res/values/public.xml Change-Id: I747772e9dbc7ee1cf8993e574de4b3215f6833b2
|
f8a5820817eb59e0fe16e3ce0f10bb3dca090192 |
24-Apr-2014 |
Craig Mautner <cmautner@google.com> |
am 03981a4c: Merge "Add activity attribute allowEmbedded" into klp-modular-dev * commit '03981a4c2e9689197e4d2c916c07ae16207b5276': Add activity attribute allowEmbedded
|
ffd14a13ce7425562777152256ea7760d95f254d |
24-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Add activity attribute allowEmbedded Activitys without allowEmbedded=true may not be launched in an ActivityView. Fixes bug 13693121. Change-Id: I431d554300fc3504ab1bc7d73a58d5dad24f8639
ctivityInfo.java
ackageParser.java
|
cf677a37fb4560058fe29ebcac97f2c02bd55064 |
19-Apr-2014 |
Kenny Root <kroot@google.com> |
am e00c9185: am 41ec218e: am 6888bee5: am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev * commit 'e00c9185262c675f1680920c258413299995042a': Use hidden API to validate APK chains
|
6888bee598b8c88f7a93ef2da06dd5659cc92dc6 |
19-Apr-2014 |
Kenny Root <kroot@google.com> |
am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev * commit '5a0cc78929bf56c153696ffa16b602acfcc40089': Use hidden API to validate APK chains
|
5a0cc78929bf56c153696ffa16b602acfcc40089 |
19-Apr-2014 |
Kenny Root <kroot@google.com> |
am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev * commit '2ed5f771c47c16e9c2be1f2025ef0a826f0290c3': Use hidden API to validate APK chains
|
2ed5f771c47c16e9c2be1f2025ef0a826f0290c3 |
19-Apr-2014 |
Kenny Root <kroot@google.com> |
am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev * commit '47231936c0593b87c3c9898767327f1516a7ec22': Use hidden API to validate APK chains
|
4a62a6dce9a4b48f1c1c64e47a22d2319b852acd |
19-Apr-2014 |
Kenny Root <kroot@google.com> |
am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev * commit '451ed5f077b9f95deae809ae620bc210c253b922': Use hidden API to validate APK chains
|
451ed5f077b9f95deae809ae620bc210c253b922 |
18-Apr-2014 |
Kenny Root <kroot@google.com> |
am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev * commit '3ecaa88d83d04a0fd55b494829badbb41016f5a1': Use hidden API to validate APK chains
|
16c6b177eef8ab3ae3358bf6f8e7f7b018c32298 |
17-Apr-2014 |
Kenny Root <kroot@google.com> |
Use hidden API to validate APK chains Bug: 13678484 Change-Id: I28dedab74b0e24d47ab9f2190298156c909e9d54
ackageParser.java
|
3014733c8c10de1875de98922e03698416f94e7a |
15-Apr-2014 |
Christopher Tate <ctate@google.com> |
Don't crash if a null key is passed for verification/parsing Change-Id: I77c496d9d86d2831a4166a924afe1493aa0ac0ce
ackageParser.java
|
68b9d97593d2ec79892813ab06f1b89c41de64b0 |
11-Apr-2014 |
Jose Lima <joselima@google.com> |
am 9e99cab7: am 970417c7: Added getLeanbackLaunchIntentForPackage() * commit '9e99cab7d9a0ec2315140c21bb1958eb7ff76a09': Added getLeanbackLaunchIntentForPackage()
|
9e99cab7d9a0ec2315140c21bb1958eb7ff76a09 |
11-Apr-2014 |
Jose Lima <joselima@google.com> |
am 970417c7: Added getLeanbackLaunchIntentForPackage() * commit '970417c7d3e33ccbd6918e28d9bc5da24651f5b3': Added getLeanbackLaunchIntentForPackage()
|
970417c7d3e33ccbd6918e28d9bc5da24651f5b3 |
10-Apr-2014 |
Jose Lima <joselima@google.com> |
Added getLeanbackLaunchIntentForPackage() Change-Id: I23be3bfa59be812a915adc37e08fdf59be8ad90f
ackageManager.java
|
f148f36d140e995ec8f755e60bbb0b37f33c3da7 |
10-Apr-2014 |
Narayan Kamath <narayan@google.com> |
am 9e289d70: am 1d26a3f1: am 09e13cc5: Merge "System services detect and register app CPU ABIs" * commit '9e289d70a8baaed0030413b5991653792e2a816d': System services detect and register app CPU ABIs
|
d11f223c535ed9ce628fe5aaf0fd5692dd0cf9e4 |
10-Apr-2014 |
Narayan Kamath <narayan@google.com> |
resolved conflicts for merge of 286a247e to master Change-Id: I63df9d482da3ce2ac851959223b9180020ffad0c
|
9e289d70a8baaed0030413b5991653792e2a816d |
10-Apr-2014 |
Narayan Kamath <narayan@google.com> |
am 1d26a3f1: am 09e13cc5: Merge "System services detect and register app CPU ABIs" * commit '1d26a3f1efd0d965e8751e8515608c31789bdbe2': System services detect and register app CPU ABIs
|
286a247e4c8fcecb59636f668678d24e33142744 |
10-Apr-2014 |
Narayan Kamath <narayan@google.com> |
am 0fd40cb1: am 80413c9f: Merge "Re-implement native library search and copies." * commit '0fd40cb100bccbd5d9ad6109ca39c818a857f889': Re-implement native library search and copies.
|
ff0c470833b2cb4130a30895093630242d5f238d |
01-Apr-2014 |
Ramin Zaghi <ramin.zaghi@arm.com> |
System services detect and register app CPU ABIs This patch uses the NativeLibraryHelper class to match native libraries in an .apk package with those listed in 'ro.cpu.abilist' property. The result is stored in packages.xml and the ApplicationInfo class. This information will be used by the ActivityManager to decide which zygote to use to launch the given app. Change-Id: I3ec3d050996d8f4621f286ca331b9ad47ea26fa0
pplicationInfo.java
|
1378aba7aeeb7f6dd6cc2503968ba7b0e58d9333 |
28-Feb-2014 |
Ramin Zaghi <ramin.zaghi@arm.com> |
Re-implement native library search and copies. We now use a two step approach : - First we look through the list of shared libraries in an APK, and choose an ABI based on the (priority) list of ABIs a given device supports. - Then we look through the list of shared libraries and copy all shared libraries that match the ABI we've selected. This fixes a long-standing bug where we would sometimes copy a mixture of different ABIs to the device, and also allows us to clearly pick an ABI to run an app with. The code in NativeLibraryHelper has been refactored so that all file name validation & matching logic is done in a single place (NativeLibrariesIterator). This allows us to avoid a lot of redundant logic and straightens out a few corner cases (for eg. where the abi determination & copying logic do not agree on what files to skip). bug: https://code.google.com/p/android/issues/detail?id=65053 bug: 13647418 Change-Id: I34d08353f24115b0f6b800a7eda3ac427fa25fef Co-Authored-By: Zhenghua Wang <zhenghua.wang0923@gmail.com> Co-Authored-By: Ramin Zaghi <ramin.zaghi@arm.com> Co-Authored-By: Narayan Kamath <narayan@google.com>
ackageManager.java
|
5abdbb656063160ff8df2306bd01feba0714d4c1 |
09-Apr-2014 |
Amith Yamasani <yamasani@google.com> |
Avoid security exception when requesting badging When requesting badged icons, use APIs that don't require the caller to have MANAGE_USERS permission. Change-Id: I218cdf5194f38f4affa1874a6fcb43a040ed5295
auncherApps.java
|
4f58263d02f296430a9653126d28501e95c7bb6c |
19-Feb-2014 |
Amith Yamasani <yamasani@google.com> |
Launcher APIs and broadcasts for managed profiles UserManager - Corp badging - Querying list of managed profiles Launcher API - LauncherApps and Service to proxy changes in managed profile to the launcher in the primary profile - Querying and launching launchable apps across profiles Change-Id: Id8f7b4201afdfb5f414d04156d7b81300119289e
LauncherApps.aidl
OnAppsChangedListener.aidl
auncherActivityInfo.java
auncherApps.java
|
d423986e68d76958441c3bec1584a86f7f390988 |
04-Apr-2014 |
Adam Connors <adamconnors@google.com> |
Merge "Add android.software.managedprofiles feature flag."
|
4cfa8dc77ad0d74b214477ba5be28632fb3ff031 |
03-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Add the persistable attribute for Activities This is used for documents to allow them to be persisted across reboots. Fixes bug 13735406. Change-Id: I5655ac99589d58ed5716429cf7a1ffeee677aee1
ctivityInfo.java
ackageParser.java
|
2a764949c943681a4d25a17a0b203a0127a4a486 |
02-Apr-2014 |
Kenny Guy <kennyguy@google.com> |
Rename related users to profiles. Rename the related user concept as profiles. When returning profiles of a user include the user as a profile of itself. Change-Id: Id5d4f29017b7ca6844632ce643f10331ad733e1d
serInfo.java
|
23cc04e598cfb1c7f10e3fab05b188a8738edb35 |
01-Apr-2014 |
Adam Connors <adamconnors@google.com> |
Add android.software.managedprofiles feature flag. Change-Id: I108d2952996d3a74596337ee2294fb33f1e28ee4
ackageManager.java
|
7c495dcd11d64f1630bd1ebaa9259508c1175621 |
27-Mar-2014 |
Alan Viverette <alanv@google.com> |
Merge "Enforce restrictions on recycled TypedArrays"
|
fd274a0d4ab5a6777213fecb8ddf6e8099675283 |
27-Mar-2014 |
Alan Viverette <alanv@google.com> |
Enforce restrictions on recycled TypedArrays No calls may be made to recycled TypedArrays, and we'll throw a detailed exception if developers attempt to do so. Also fixes the place where we were doin' it wrong. BUG: 13673783 Change-Id: Ia7a382d90fce8aef7741d926028b2d01b57435ae
ackageParser.java
|
f1977b4500e82b72ea6aa5c46d97406a20017caf |
25-Mar-2014 |
Christopher Tate <ctate@google.com> |
Expand install observer semantics ...and now fail conservatively when two apps both attempt to define the same permission. Apps signed with the same certificate are permitted to redefine permissions. We also finally have a (hidden) interface class for observing package installation so that we can now rev the interface without breaking existing callers. Bug 13551375 Change-Id: Ifa4e59154dcccbb286ee46a35a6f25e4ad0f0f01
PackageInstallObserver2.aidl
PackageManager.aidl
ackageManager.java
ackageParser.java
|
1ee4eb074c2d85148658e93e865a18834bdced72 |
26-Mar-2014 |
Glenn Kasten <gkasten@google.com> |
Merge "Revert "Expand install observer semantics""
|
7629a18a3f190368e6268d3f2827824905683268 |
26-Mar-2014 |
Glenn Kasten <gkasten@google.com> |
Revert "Expand install observer semantics" This reverts commit ab8a501f255b272af887acb0e66eb71cdf24c755. Change-Id: I4ab4ae1a96efa2adf9d5a513793d8b84eef38b4e
PackageInstallObserver2.aidl
PackageManager.aidl
ackageManager.java
ackageParser.java
|
9067dc03ffc76c5210d26d5a53a211eff046d412 |
26-Mar-2014 |
Christopher Tate <ctate@google.com> |
Merge "Expand install observer semantics"
|
ab8a501f255b272af887acb0e66eb71cdf24c755 |
25-Mar-2014 |
Christopher Tate <ctate@google.com> |
Expand install observer semantics ...and now fail conservatively when two apps both attempt to define the same permission. We also finally have a (hidden) interface class for observing package installation so that we can now rev the interface without breaking existing callers. Bug 13551375 Change-Id: I3a286d024a30e812ee4b098f345401df3c00e178
PackageInstallObserver2.aidl
PackageManager.aidl
ackageManager.java
ackageParser.java
|
e9118138402b5631e7bea74b1b8b5cbfe24ca097 |
24-Mar-2014 |
Jose Lima <joselima@google.com> |
resolved conflicts for merge of 6c45157c to master Change-Id: I95d7f927f4321405318b44a21172b99f3f16e00a
|
d13d701681220cdcb61b5a62669e88bb77d156aa |
24-Mar-2014 |
Jose Lima <joselima@google.com> |
am eb2c85df: Merge "Added isGame application tag to the manifest" into klp-modular-dev * commit 'eb2c85df4b2d8ea5dd3cd08cb0367d5ff666afe6': Added isGame application tag to the manifest
|
12d0b4cd960e18493b1dc237adbfabed432c9df5 |
15-Mar-2014 |
Jose Lima <joselima@google.com> |
Added isGame application tag to the manifest Added the ability to flag applications as Games in the manifest, so they can receive a different treatment in the UI. Change-Id: I4c36bc1a96757030fad58ee050cd68491b31bb6c
pplicationInfo.java
ackageParser.java
|
9b18001ab53c8c78aee0647983adf3ad8a1ee97c |
14-Mar-2014 |
Tim Kilbourn <tkilbourn@google.com> |
am ec033943: am 9873e099: am 55740325: Merge "Add leanback device features." into klp-modular-dev * commit 'ec0339437869ebb42a67a2811dc6de31239d5d62': Add leanback device features.
|
9873e099c32513cdb28c3ffb8c2306ad87f0b052 |
14-Mar-2014 |
Tim Kilbourn <tkilbourn@google.com> |
am 55740325: Merge "Add leanback device features." into klp-modular-dev * commit '557403250b9accf4f17ab87f636f1722949960a3': Add leanback device features.
|
5e0e7b56a98ecf8e13100b4b6c7e2c2a64c3d938 |
14-Mar-2014 |
Christopher Tate <ctate@google.com> |
Merge "Make RegisteredServicesCache understand ASEC-based updates"
|
92703e62c1dc88a410a32b05c2d44f391c193140 |
14-Mar-2014 |
Jose Lima <joselima@google.com> |
resolved conflicts for merge of 4882ddfa to master Change-Id: I179899697c148ac34a67b195e2dbd3df2f9138de
|
f94b6a93a4afa910f4ee4869f001183f7b4c1de7 |
08-Mar-2014 |
Tim Kilbourn <tkilbourn@google.com> |
Add leanback device features. android.software.leanback - the device supports leanback UIs. android.software.leanback_only - the device ONLY supports leanback UIs. leanback_only is a hidden feature for now. Change-Id: I497bd96464125ad81212c804e150f210f3e95af2
ackageManager.java
|
53ac5ef2141c7e7d99d5c00195bc65e86e7fc403 |
13-Mar-2014 |
Jose Lima <joselima@google.com> |
am 91726f4e: Merge "Add banner attribute to app manifest" into klp-modular-dev * commit '91726f4ea7b60025490209ccb2637d712e8d75fd': Add banner attribute to app manifest
|
f78e312db2aa7653ddc021e7dc58ce48f95ba047 |
06-Mar-2014 |
Jose Lima <joselima@google.com> |
Add banner attribute to app manifest Change-Id: I28b0dc6dee9623ec7534bb0e741b88f439b48c9f
omponentInfo.java
ackageItemInfo.java
ackageManager.java
ackageParser.java
|
0598d7075ed739c9fcf115b4f3a417483ee32f84 |
12-Mar-2014 |
Christopher Tate <ctate@google.com> |
Make RegisteredServicesCache understand ASEC-based updates Specifically, when the ASEC container has been unmounted as part of updating the app we mustn't immediately conclude that any services hosted there have become invalid until after we see the matching remount result and have a chance to re-evaluate in the proper new state. Bug 12422464 Change-Id: I27794c6e4348f6a72d64bd2f44b4da7938cc567b
egisteredServicesCache.java
|
e21c52a8c9ef27c348f784daa8ec384152c3264e |
25-Feb-2014 |
Kenny Guy <kennyguy@google.com> |
Merge "Hide managed profiles from user switchers."
|
1a447535cef7e3739d5f763dfe13e568568b9789 |
20-Feb-2014 |
Kenny Guy <kennyguy@google.com> |
Hide managed profiles from user switchers. Hide managed profiles from lockscreen user switcher on tablets. Hide managed profiles from power menu user switcher on phones. Add flag to enable multi user ui turned off by default. Change-Id: I4c69a6f7b0f39c249fc85fd940318df1ddab073f
serInfo.java
|
531270a4a177a9f245d328d9467c6d1adbd5354a |
14-Feb-2014 |
Nicolas Prevot <nprevot@google.com> |
Adding the requiredForProfile flag. Enabling to use requiredForProfile in application manifests It determines which applications will be installed for managed profiles and for restricted profiles Change-Id: I14b4de2c9f41c2bbf5cd9fd0ca6caf5ce2d04131
ackageInfo.java
ackageParser.java
|
627de95925b58e7602374a66ceba76200592ec11 |
24-Feb-2014 |
Sander Alewijnse <salewijnse@google.com> |
Merge "Enables a profile owner or device owner to set and clear default intent handler activities."
|
f475ca33d9232785710aaa438f17915029dfa83b |
17-Feb-2014 |
Sander Alewijnse <salewijnse@google.com> |
Enables a profile owner or device owner to set and clear default intent handler activities. Those intent handlers are persistent preferences. They will remain the default intent handler even if the set of potential event handlers for the intent filter changes and if the intent preferences are reset. Change-Id: Id0cfae46f93c10d89e441f272096a205ec518dd0
PackageManager.aidl
|
0be0a5039b60ae4c1c8c0b6a1a2c0e7400d372d5 |
21-Feb-2014 |
Justin Koh <justinkoh@google.com> |
am 7206ac56: am a79ac472: am 744d3473: Merge "Add hardware feature describing a watch." into klp-modular-dev * commit '7206ac561291298f08809614be95963966a72ca8': Add hardware feature describing a watch.
|
a79ac472d71de6d13f3561012ca0e870bd9fe04b |
20-Feb-2014 |
Justin Koh <justinkoh@google.com> |
am 744d3473: Merge "Add hardware feature describing a watch." into klp-modular-dev * commit '744d3473f8a0f9f95e3fdf83670faf6d1551839e': Add hardware feature describing a watch.
|
b5731f091c711a617e24ceb04cd7a1cc4ef1f717 |
14-Feb-2014 |
Justin Koh <justinkoh@google.com> |
Add hardware feature describing a watch. Add hardware feature describing a watch so that hardware can specify that it is a device that is worn on the body (perhaps the wrist). Change-Id: I9d4cb7e86067f6ad41b39bcc545222b3b0fbf890
ackageManager.java
|
5441745effb885589c03050b59885e8a3ad96ad6 |
19-Feb-2014 |
Adam Lesinski <adamlesinski@google.com> |
am 019b1f26: am 2ea983a5: am 3d9bcb90: Create FEATURE_ constants for print and backup * commit '019b1f2668ac17f5e52b6ce32a524d26134a062a': Create FEATURE_ constants for print and backup
|
2ea983a567bf536f71dd620e1b215d5aeebce531 |
18-Feb-2014 |
Adam Lesinski <adamlesinski@google.com> |
am 3d9bcb90: Create FEATURE_ constants for print and backup * commit '3d9bcb90ee6c0ffff93642539ae64fb672c7f14a': Create FEATURE_ constants for print and backup
|
3d9bcb90ee6c0ffff93642539ae64fb672c7f14a |
18-Feb-2014 |
Adam Lesinski <adamlesinski@google.com> |
Create FEATURE_ constants for print and backup Bug:13079822 Change-Id: I6f4b759951d45989e8aad4011fae431ee2ecae0c
ackageManager.java
|
d5c8044e7e1f1402fdd4a035690329294ab07b33 |
12-Feb-2014 |
Nick Kralevich <nnk@google.com> |
resolved conflicts for merge of 1cbea39f to master Change-Id: Ib33484546c6a03cbc4cd96e97d9d785d68e10700
|
a52dc3eb40777b055c0ca8d7885bd2c9577bcd1a |
11-Feb-2014 |
Kenny Guy <kennyguy@google.com> |
Add concepts of related users and managed profiles to user manager. Related users are a group that will share things like notifications. Managed profiles are a profile of another user. Change-Id: I2d0532f1abf939810f0fa3fc7c77ad13fa567833
serInfo.java
|
48d22323ce39f9aab003dce74456889b6414af55 |
31-Jan-2014 |
MÃ¥rten Kongstad <marten.kongstad@sonymobile.com> |
Runtime resource overlay, iteration 2 Support any number of overlay packages. Support any target package. UPDATED PACKAGE MATCHING ------------------------ In Runtime resource overlay, iteration 1, only a single overlay package was considered. Package matching was based on file paths: /vendor/overlay/system/framework-res.apk corresponded to /system/framework-res.apk. Introduce a more flexible matching scheme where any package is an overlay package if its manifest includes <overlay targetPackage="com.target.package"/> For security reasons, an overlay package must fulfill certain criteria to take effect: see below. THE IDMAP TOOL AND IDMAP FILES ------------------------------ Idmap files are created by the 'idmap' binary; idmap files must be present when loading packages. For the Android system, Zygote calls 'idmap' as part of the resource pre-loading. For application packages, 'idmap' is invoked via 'installd' during package installation (similar to 'dexopt'). UPDATED FLOW ------------ The following is an outline of the start-up sequences for the Android system and Android apps. Steps marked with '+' are introduced by this commit. Zygote initialization Initial AssetManager object created + idmap --scan creates idmaps for overlays targeting 'android', \ stores list of overlays in /data/resource-cache/overlays.list AssetManager caches framework-res.apk + AssetManager caches overlay packages listed in overlays.list Android boot New AssetManager's ResTable acquired AssetManager re-uses cached framework-res.apk + AssetManager re-uses cached 'android' overlays (if any) App boot ActivityThread prepares AssetManager to load app.apk + ActivityThread prepares AssetManager to load app overlays (if any) New AssetManager's ResTable acquired as per Android boot SECURITY -------- Overlay packages are required to be pre-loaded (in /vendor/overlay). These packages are trusted by definition. A future iteration of runtime resource overlay may add support for downloaded overlays, which would likely require target and overlay signatures match for the overlay to be trusted. LOOKUP PRIORITY --------------- During resource lookup, packages are sequentially queried to provide a best match, given the constraints of the current configuration. If any package provide a better match than what has been found so far, it replaces the previous match. The target package is always queried last. When loading a package with more than one overlay, the order in which the overlays are added become significant if several packages overlay the same resource. Had downloaded overlays been supported, the install time could have been used to determine the load order. Regardless, for pre-installed overlays, the install time is randomly determined by the order in which the Package Manager locates the packages during initial boot. To support a well-defined order, pre-installed overlay packages are expected to define an additional 'priority' attribute in their <overlay> tags: <overlay targetPackage="com.target.package" priority="1234"/> Pre-installed overlays are loaded in order of their priority attributes, sorted in ascending order. Assigning the same priority to several overlays targeting the same base package leads to undefined behaviour. It is the responsibility of the vendor to avoid this. The following example shows the ResTable and PackageGroups after loading an application and two overlays. The resource lookup framework will query the packages in the order C, B, A. +------+------+- -+------+------+ | 0x01 | | ... | | 0x7f | +------+------+- -+------+------+ | | "android" Target package A | Pre-installed overlay B (priority 1) | Pre-installed overlay C (priority 2) Change-Id: If49c963149369b1957f7d2303b3dd27f669ed24e
ackageInfo.java
ackageParser.java
|
8472e6189cd4e0520c047bdb28457abc728b373f |
24-Jan-2014 |
Dianne Hackborn <hackbod@google.com> |
Add app version codes to procstats. Now the per-package proc stats data is also per-app-version-code. In addition to changing the data structure to have one more SparseArray and passing a version code all over, this also required improving how we reset the stats so that we can prune a multi-package process record back to a single package. Otherwise, as you install updates to apps, the proc stats data would continue to explode as the data for each of those app's processes got turned to a multi-package due to tracking the old and new versions at the same time. This also bumps the checkin version code, since the package entries also include a new field for the app version code. Change-Id: I80de36addb0a75c7b08aef747c6f6c8012d01ee4
pplicationInfo.java
ackageParser.java
|
1f0299a9cb9566fd89047569388bb2612e8bd445 |
12-Dec-2013 |
Narayan Kamath <narayan@google.com> |
Use StrictJarFile instead of JarFile for cert collection. This ensures that we use the same underlying zip processing code as the runtimes. bug: 10193060 (cherry picked from commit eb565dc527eda8c0a43df0d1f30132638ca4ba20) Change-Id: Iaaa26b02678278394619d0a41613d9ceeae3203c
ackageParser.java
|
eb565dc527eda8c0a43df0d1f30132638ca4ba20 |
12-Dec-2013 |
Narayan Kamath <narayan@google.com> |
Use StrictJarFile instead of JarFile for cert collection. This ensures that we use the same underlying zip processing code as the runtimes. bug: 10193060 Change-Id: I0f287dd6fa95207cd02f648528ef6c08dd360a72
ackageParser.java
|
6090995951c6e2e4dcf38102f01793f8a94166e1 |
19-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Remove unused imports from frameworks/base. Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
eatureInfo.java
mlSerializerAndParser.java
|
63e1883d96d635ce7085c46c8a29af34d521076a |
15-Nov-2013 |
Christopher Tate <ctate@google.com> |
am a5acd62b: am 6e5cf573: am 99437f25: Merge "Ensure recipient can be launched before attempting broadcast delivery" into klp-dev * commit 'a5acd62bdefe5b616c0ea080434e9dd221169527': Ensure recipient can be launched before attempting broadcast delivery
|
ba629da331d01d74067afdda5d4255682d4b24d7 |
14-Nov-2013 |
Christopher Tate <ctate@google.com> |
Ensure recipient can be launched before attempting broadcast delivery User removal or eviction inherently races with broadcast delivery. This patch introduces a latest-possible recheck of the availbility of the target application before attempting to send it a broadcast. Once the process has actually been spun up the system is essentially committed to presenting it as a running application, and there is no later check of the availability of the app: the failure mode for continuing to attempt delivery is a crash *in the app process*, and is user-visible. We now check the app+userid existence of the intended recipient just prior to committing to launch its process for receipt, and if it is no longer available we simply skip that receiver and continue normally. Bug 11652784 Bug 11272019 Bug 8263020 Change-Id: Ib19ba2af493250890db7371c1a9f853772db1af0
PackageManager.aidl
ackageParser.java
|
45484ee6bb45604d90454f56bd09a44d81691148 |
14-Oct-2013 |
Aravind Akella <aakella@google.com> |
am 67af9ce3: am c73810de: am 45ca531e: Merge "Adding stepcounter & stepdetector feature strings." into klp-dev * commit '67af9ce31e7642ffc5737b9c29812c4bfdf789e0': Adding stepcounter & stepdetector feature strings.
|
068b0c05fe089f58d96f71a82d57b87c5ebc1894 |
13-Oct-2013 |
Aravind Akella <aakella@google.com> |
Adding stepcounter & stepdetector feature strings. Change-Id: Ic8cc95612f776db7cb1d1c13a228d5cd8ed64f56
ackageManager.java
|
5b6372171c5ee06dc0ce00644008297e7a14bb38 |
08-Oct-2013 |
Jeff Sharkey <jsharkey@android.com> |
am 9d1383c6: am 5e02e0a9: am bcc77b50: Merge "Add <intent-filter> support to <provider>." into klp-dev * commit '9d1383c61ca0932cb36b104a89c32db15de6a10e': Add <intent-filter> support to <provider>.
|
bcc77b502b56d4b91610adfa10c657003c9c820d |
07-Oct-2013 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Add <intent-filter> support to <provider>." into klp-dev
|
85f5f8132015d8a5043ea4413702420d0d157c9f |
07-Oct-2013 |
Jeff Sharkey <jsharkey@android.com> |
Add <intent-filter> support to <provider>. For the new documents work, we're only interested in the subset of ContentProviders that actually implement DocumentsContract. Instead of returning all providers, add <intent-filter> support to make it easier to limit the set of returned ProviderInfo. Define a well-known action for DocumentsProviders, and start using it when querying for roots. Continue supporting the old <meta-data> approach until all apps have been updated. Bug: 8599233 Change-Id: I05f049bba21311f5421738002f99ee214447c909
PackageManager.aidl
ackageManager.java
ackageParser.java
roviderInfo.java
esolveInfo.java
|
1ac74b74fffd2897046b895eff3e9c6636955a33 |
04-Oct-2013 |
Alex Ray <aray@google.com> |
am 849ef427: am 2bbf0bfc: am 0ab7c883: Merge "Add Consumer IR feature" into klp-dev * commit '849ef427b804c3d308e2d74eebd64e19144ef976': Add Consumer IR feature
|
0c9d61f0989e5a85674fbbc24cf06dd3de1fc326 |
03-Oct-2013 |
Alex Ray <aray@google.com> |
Add Consumer IR feature Bug: 10676690 Change-Id: Id2c118225dc6ef259f5ed97da4071e9b6de3a83a
ackageManager.java
|
23ff9f6128b5d28a99eca87bf03b221145951988 |
24-Sep-2013 |
Dianne Hackborn <hackbod@google.com> |
am 9b7d1484: am 5f86b90b: Merge "Fix issue #10848916: "Always" button is not working." into klp-dev * commit '9b7d148466b1aedb24187294e0c59718afb104a0': Fix issue #10848916: "Always" button is not working.
|
6d8dfbd8149942f25f2b9643a12f1fb38f3be834 |
24-Sep-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #10848916: "Always" button is not working. The problem was that the ResolverActivity filters some activities out of the list it shows, but it uses that display list as the list of components the preference is set against when ultimately setting it on the package manager... but that filtered list is *not* the right component set, since it is not the same as the package manager's view on it. The fix here is to retain the original set of matching components and use that when setting the preferred activity. Note that this does mean that in very unusual cases where filtering is happeing (such as one of the activities not being exported but being seen as a possible completion from another app), then you will be setting the preference for the complete set. Ultimately we probably need to have the package manager apply these filtering rules up-front so this is all consistent, but this is a very rare case so not that important. And then most of the change here is just improving the debug output for intent resolution. Change-Id: Ie35ac2c05a45946439951bbf41433c8b7de79c05
ackageParser.java
esolveInfo.java
|
000ecdd3f5e38c8135cfc3caffea2327c668fbc1 |
17-Sep-2013 |
Amith Yamasani <yamasani@google.com> |
am 6484c42e: am 33caca5c: Merge "Add a feature to specify if device admins are supported on the device" into klp-dev * commit '6484c42eb44bfe8fc8d2972bfc564b96f0f7f16c': Add a feature to specify if device admins are supported on the device
|
33caca5cd56ff41142cea121fabf5e30bebfb39f |
17-Sep-2013 |
Amith Yamasani <yamasani@google.com> |
Merge "Add a feature to specify if device admins are supported on the device" into klp-dev
|
4b8dd603cf2f0ca56ee2f7538cf1ebbe805d15a7 |
17-Sep-2013 |
Christopher Tate <ctate@google.com> |
am cf611b77: am 60fcce6c: Merge "Introduce maxSdkVersion for <uses-permission>" into klp-dev * commit 'cf611b776ed5163008fdad87452f3047c966ec08': Introduce maxSdkVersion for <uses-permission>
|
44a01b742c2ad2ebc6185425be887b4bc987c4d0 |
16-Sep-2013 |
Amith Yamasani <yamasani@google.com> |
Add a feature to specify if device admins are supported on the device Bug: 9520957 DevicePolicyManagerService will play dumb if the feature is not installed. Continue to keep track of failed password attempts for keyguard's use. Change-Id: I28d258dc09a8b4976b188da6f453d8daabcc4bdd
ackageManager.java
|
fb0676a902dd1195e3e35790d137bc1b90e390ba |
17-Sep-2013 |
Christopher Tate <ctate@google.com> |
Introduce maxSdkVersion for <uses-permission> This way an application can automatically sunset its permission requests when running on later versions of the OS where those permissions are no longer relevant, but may be alarming to the user. A canonical example is WRITE_EXTERNAL_STORAGE, which as of KLP becomes unnecessary for an app to use the external storage volume solely for its own large-data needs, without the need for actual file-system sharing among multiple apps. Bug 9761041 Change-Id: I60130af3a108fe4a750c356038a1c8cb897e9c8b
ackageParser.java
|
9b6c9a15922ccb1518b8147f7bd05cae754c8c3c |
14-Sep-2013 |
Christopher Tate <ctate@google.com> |
am fcda3283: am 7560c256: Merge "Add hidden API for querying available \'home\' activities" into klp-dev * commit 'fcda3283d27f8dfaa812fb735af43eea2e077c64': Add hidden API for querying available 'home' activities
|
a2a0850de8e7324db37e0595d5374bb9c9903461 |
06-Sep-2013 |
Christopher Tate <ctate@google.com> |
Add hidden API for querying available 'home' activities To support improved home-app selection UX in Settings. Bug 9958444 Change-Id: I106090784618bf7bea6fce28f4f9b9fb8480d310
PackageManager.aidl
ackageManager.java
|
b6a3ef18342e6671d9674312b66a015d6caa80ed |
13-Sep-2013 |
Tor Norbye <tnorbye@google.com> |
Merge "Add typedefs and nullness annotations."
|
d9273d6f289d9b55da3fd0db2f659fdfb48106a8 |
31-May-2013 |
Tor Norbye <tnorbye@google.com> |
Add typedefs and nullness annotations. This changeset adds in typedef annotations (custom annotations marked with @IntDef) for various int parameters and return values in the API. It also adds nullness annotations for cases where the documentation explicitly mentioned null policy, or where it was blindingly obvious from the context. Also fixed some typos in the documentation. Change-Id: Ica27c01368895818e26237544edd8483007155bb
ctivityInfo.java
ackageManager.java
|
7140a25f0135f473b66d01eb042471b2f0ebc836 |
11-Sep-2013 |
Adam Skory <skory@google.com> |
Revert services assist context in KitKat Reverts extension to assist context API to query foreground services for assist context data. Also hides Intent.ACTION_VOICE_ASSIST because nobody's actually using it yet. Bug: 10461702 Change-Id: Idf6836adc659b434e11ebb2b98e8b814c94a7227
ackageParser.java
erviceInfo.java
|
1d0b177754c81a20e272b91c6f703a634fe5c856 |
06-Sep-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #10560472: ApplicationInfo.manageSpaceActivity not parsed... ...correctly with overloaded resources Change this attribute and a few other manifest attributes to allow them to change based on platform SDK version. Clean up a little more the whole mess with native vs. java config bit masks. Change-Id: Ia0baa3f7aed00bcb432701bcf99a9112124d6519
ctivityInfo.java
ackageParser.java
|
eaeb19048672337714c1724de7992be8cb3f2124 |
06-Sep-2013 |
Michael Wright <michaelwr@google.com> |
Added support for supports-input manifest element Change-Id: Ifa7c87908081585c1940b5a47fdf5138a287d9ea
ackageParser.java
|
322d77185d6e8fe79642f27b653bb51677873cba |
05-Sep-2013 |
John Spurlock <jspurlock@google.com> |
Revert "Re-@hide activity-level FLAG_IMMERSIVE and helpers." This reverts commit 5e777f668526104e7dd97d3972d35eb7b9eef5a2. Change-Id: I6dc00f376cbbe34dafde3470d8e06c9123f81d8d
ctivityInfo.java
|
5e777f668526104e7dd97d3972d35eb7b9eef5a2 |
04-Sep-2013 |
John Spurlock <jspurlock@google.com> |
Re-@hide activity-level FLAG_IMMERSIVE and helpers. Un-@hidden in api 18, but probably should not have been. The framework currently takes no action based on the flag, making the docs misleading. Bug:10460791 Change-Id: If6cc8791a85710897c8fe77cf6682d1460e3416e
ctivityInfo.java
|
16731d4dc02a335cf96edfa4055cbb6039ec78f5 |
31-Aug-2013 |
Adam Skory <skory@google.com> |
Add provideAssistData attr to public.xml http://ag/323631 added the provideAssistData attribute to the Service manifest tag. It did not, however, add that attribute to public.xml - making it impossible to actually build a service that defines said tag. So, add it. Now that the attribute is where it should be, restore @link notation to ServiceInfo.java without breaking the offline docs build ( see http://ag//340279 ). Also, make some log warnings related to providing assist data slightly more verbose. Bug: 10573008 Change-Id: Ie2bcb411c182d69738a2fa4a74de3171b9b9c455
erviceInfo.java
|
79a45c6f1837d5921e512213904c96660b1a80b1 |
29-Aug-2013 |
Amith Yamasani <yamasani@google.com> |
Merge "Improve Intent disambig dialog behavior" into klp-dev
|
df4d1d624d44008e919755c7a212d9e2feb4f00b |
28-Aug-2013 |
Martijn Coenen <maco@google.com> |
Add requireDeviceUnlock attribute for NFC HCE. Also added AID description, and renamed PackageManager feature. The old name has to stay at least for a bit, because we are already deploying apps in our builds that use the constant. Bug: 10461409 Bug: 10461753 Change-Id: I7a5bb023bb567dd8b0a17e8e54e9559d7fcf64f5
ackageManager.java
|
e9ecc8b49992840249bfb9d5d52b8824dd5de39b |
22-Aug-2013 |
Amith Yamasani <yamasani@google.com> |
Improve Intent disambig dialog behavior Keep track of last chosen activity for a particular intent, similar to how it is tracked for "Always" choices. Pre-select the last chosen activity if previously the user picked "Just once". Downgrade "Always" to "Last chosen" if there's a new kid on the block, instead of removing it entirely. Add methods to set and get last chosen entry. UI - switch from Grid to List. Bug: 9958096 Change-Id: Ied57147739a3ade1d36c3a7ec1e8ce77e5c5bb16
PackageManager.aidl
|
365038217553e192d011861422715f8a87b30618 |
08-Aug-2013 |
Ben Murdoch <benm@google.com> |
Fix the build Change-Id: If34523c4b25b3d60edc00b0f37b636bedfc756c2
erviceInfo.java
|
77ece7b192d45351b313ee23270caab373d3c477 |
08-Aug-2013 |
Matt Casey <mrcasey@google.com> |
Merge "Extend assist context to foreground services"
|
dd72c9ed558158f889a8cdfed8a108553ba5a562 |
06-Aug-2013 |
Ben Gruver <bgruv@google.com> |
Improve the logic for determining whether the caller is a system app Bug: 10024554 Change-Id: I742e918840a98dd83d713bdf7a43a919674e65fe
PackageManager.aidl
|
dfc7fd7818cda46b914c8a9d69d1ba00443ffe5b |
06-Aug-2013 |
Adam Skory <skory@google.com> |
Extend assist context to foreground services Add Service.onProvideAssistData(Bundle) which will be called on foreground Services that have the new attr in their manifest of provideAssistData = true; Rename private reference to e.g. "getTopActivityExtras" as "getAssistContextExtras" - do not rename the relevant permission, since it is already public. In ActivityManagerService, request extras both from the top activity and from any foreground services with the above attribute. Extend PendingActivityExtras as PendingAssistExtras with a list of Services from which extras are expected. Reduce the timeout to or reporting extras from 4 sec to just 500 ms. Bug: 9526331 Change-Id: Ia03b96e8189033a68ae9c514c8cea0199a19bce8
ackageParser.java
erviceInfo.java
|
5cf6663c80a9b6039cc70cc9b4041af64f671571 |
23-Jul-2013 |
Dianne Hackborn <hackbod@google.com> |
Merge "Add new facility for apps to declared their preferred intents."
|
b09491f271c0a647632e5a99bfe280cbb7106195 |
23-Jul-2013 |
Dianne Hackborn <hackbod@google.com> |
Add new facility for apps to declared their preferred intents. This is an extension from the existing data/etc/perferred-apps facility. Now applications pre-installed on the system image can declare which intents they would like to be considered the preferred app for. When the system firsts initializes, or the application settings are reset, these are used to configured the current preferred app settings appropriately. You use this with a new <preferred> tag under your activity, which indicates which intents you would like to be the preferred handler for. The syntax for this is written much like an intent filter, however semantically it is not really an intent filter and so has some important differences: - You can not use globbing patterns (for SSPs or paths). - You can use only one action (if you use more than one it will only use the first one, so be careful). Semantically what this is actually used for is a template from which to generate a set of Intent objects, which are used to probe the current environment in order to see if there are multiple activities that can handle the Intent and, if so, generate a new preferred setting for that pointing to your app. As an example, here is how the preferred tag might be written for the Maps application: <preferred> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="http" /> <data android:scheme="https" /> <data android:host="maps.google.com" /> <data android:path="/" /> <data android:pathPrefix="/maps" /> </preferred> <preferred> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="geo" /> </preferred> From this, we generate the following set of potential Intents to be matched, all with ACTION_VIEW, CATEGORY_DEFAULT+CATEGORY_BROWSABLE: Change-Id: I7fd42aec8b6109c7dd20012529662362f1b7437a http://maps.google.com/ http://maps.google.com/maps https://maps.google.com/ https://maps.google.com/maps geo:
ackageParser.java
|
ce1279686b17940127292aa815d46dc1cc4d71af |
23-Jul-2013 |
Martijn Coenen <maco@google.com> |
Merge "Add host-based card emu feature to PackageManager."
|
f4bf158328fd1bcb171baab043460efd5c58152c |
22-Jul-2013 |
Martijn Coenen <maco@google.com> |
Add host-based card emu feature to PackageManager. Change-Id: Id55025e5ab8443be1e6ac23ac5d9ab93565a53f0
ackageManager.java
|
37dca155aaaecd79d801f53851d1d319d7ff0726 |
10-Jul-2013 |
Kenny Root <kroot@google.com> |
KeySets: better rejection for badly-formed manifest During testing, I typed in a <publicKey> tag incorrectly and it clobbered the previously defined key entry since it still parsed the subsequent <keyset> tag defining an alias. This gives more information in the log when running into such parsing errors. Change-Id: Id3c8e85530b1a5e39f4a2cb6ea8bd5521cb6918f
ackageParser.java
|
2758e291c82901e8e22258e519dc5af228d44dcf |
08-Jul-2013 |
Kenny Root <kroot@google.com> |
KeySetManager: fix indentation Change-Id: I4fe67143bce30a7592c6a0f5a094172112bdfe43
ackageParser.java
|
655d0e2029e6ae77a47e922dce4c4989818b8dd1 |
12-Jun-2013 |
Amith Yamasani <yamasani@google.com> |
Single-user restrictions Introduces a new "blocked" state for each package. This is used to temporarily disable an app via Settings->Restrictions. PIN creation and challenge activities for use by Settings and other apps. PIN is stored by the User Manager and it manages the interval for retry attempts across reboots. Change-Id: I4915329d1f72399bbcaf93a9ca9c0d2e69d098dd
pplicationInfo.java
PackageManager.aidl
ackageManager.java
ackageParser.java
ackageUserState.java
|
4ce55a3987c14b939cd416e24116c6ab3c760b82 |
25-Jun-2013 |
Christopher Tate <ctate@google.com> |
Fix FLAG_PRIVILEGED numbering Change-Id: Ia04326acb51a76c0f1931fce94f0501d4ce7faba
pplicationInfo.java
|
ccbf84f44c9e6a5ed3c08673614826bb237afc54 |
09-May-2013 |
Christopher Tate <ctate@google.com> |
Some system apps are more system than others "signatureOrSystem" permissions are no longer available to all apps residing en the /system partition. Instead, there is a new /system/priv-app directory, and only apps whose APKs are in that directory are allowed to use signatureOrSystem permissions without sharing the platform cert. This will reduce the surface area for possible exploits of system- bundled applications to try to gain access to permission-guarded operations. The ApplicationInfo.FLAG_SYSTEM flag continues to mean what it is says in the documentation: it indicates that the application apk was bundled on the /system partition. A new hidden flag FLAG_PRIVILEGED has been introduced that reflects the actual right to access these permissions. At some point the "system" permission category will be renamed to "privileged". Bug 8765951 Change-Id: I6f0fd9cdb9170e076dfc66d83ecea76f8dd7335d
pplicationInfo.java
ackageParser.java
|
df1c0bf7744d4abd3e2000fcfec01c119b857c75 |
13-Jun-2013 |
Dianne Hackborn <hackbod@google.com> |
Add scheme specific part to IntentFilter. Change-Id: I063d086cdc742800b8e31ddf2942f2e9230e2785
ackageParser.java
|
04fe6ebb9f919f196ec06a19bebc09b8e943f95b |
31-May-2013 |
Adam Powell <adamp@google.com> |
Fix a bug resolving the correct icon/logo in action bars Remove some abstraction-breaking magic in ActionBarView and replace it with proper resolution of the icon/logo when creating a window. The old implementation relied on the ActionBarView's context being an Activity. Bug 9171554 Change-Id: Idbbb1942622195dcb55e8119f2d64287b07bb509
omponentInfo.java
|
0256c6f8d31c95f730d286b9e2ebae94736f7098 |
30-May-2013 |
Adam Powell <adamp@google.com> |
Optimizations for ResolverActivity Load app icons using AsyncTask instead of during list item binding. Make sorting resolved components by display name case insensitive. Change-Id: I8e69781ed021035b9f0dac349791b3d8a674cf60
esolveInfo.java
|
f4bf0ae2a7c2d9d92c5c8abdb82baa53b4c9ccda |
21-May-2013 |
Dianne Hackborn <hackbod@google.com> |
New ArrayMap class. This is a new kind of key/value mapping that stores its data as an array, so it doesn't need to create an extra Entry object for every mapping placed in to it. It is also optimized to reduce memory overhead in other ways, by keeping the base object small, being fairly aggressive about keeping the array data structures small, etc. There are some unit and performance tests dropped in to some random places; they will need to be put somewhere else once I decided what we are going to do with this for the next release (for example if we make it public the unit tests should go in to CTS). Switch IntentResolver to using ArrayMap instead of HashMap. Also get rid of a bunch of duplicate implementations of binarySearch, and add an optimization to the various sparse arrays where you can supply an explicit 0 capacity to prevent it from doing an initial array allocation; use this new optimization in a few places where it makes sense. Change-Id: I01ef2764680f8ae49938e2a2ed40dc01606a056b
egisteredServicesCache.java
|
821b58a93df5edcdaaad49582b4a6726770214cd |
02-May-2013 |
Amith Yamasani <yamasani@google.com> |
am f5a553a4: am 55a08c5a: Merge "Allow requiredForAllUsers to work on updates to system apps" into jb-mr2-dev * commit 'f5a553a4278a68fda9795dea759840d4f93546d7': Allow requiredForAllUsers to work on updates to system apps
|
0d8750d771c8ad4db6f1f590ecda4ac23f783a84 |
02-May-2013 |
Amith Yamasani <yamasani@google.com> |
Allow requiredForAllUsers to work on updates to system apps Bug: 8736380 Also set the default type as the constructor docs imply in RestrictionEntry. Change-Id: I446504fad8822804d68f09b45ef62f6d79c4b8df
ackageParser.java
|
ae8ffa0f4e3ecf91c2d0aa51e8f8c3801d323153 |
24-Apr-2013 |
Matthew Xie <mattx@google.com> |
am 2e0a94d2: am b442d074: Merge "Add hardware feature android.hardware.bluetooth.le" into jb-mr2-dev * commit '2e0a94d22b1bd25c4fa9442e03c596bd0cb3fe76': Add hardware feature android.hardware.bluetooth.le
|
a722772b284c8a9889e59fcb28aa0aa87c0e8b46 |
19-Apr-2013 |
Matthew Xie <mattx@google.com> |
Add hardware feature android.hardware.bluetooth.le The feature is used to differ platforms that support bluetooth low engery radio bug 8369273 Change-Id: Ibe23da73f7ecfa854bdb8b8bfc1a32b8e3aeee56
ackageManager.java
|
18197ec438ea57b2b0bc2847e7f6d903137f9e8c |
15-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
am 460071f8: am 919e36d5: Merge "Allow non-system apps to use restricted accounts" into jb-mr2-dev * commit '460071f806337f09ff789892979935916323e6a1': Allow non-system apps to use restricted accounts
|
e993ae197be29e16fc54f6abf2552cf4973d64bf |
15-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Allow non-system apps to use restricted accounts Anyway they need to request account access and user will be asked to approve access to the account at runtime. Bug: 8617168 Change-Id: I31de852b9bb25f496becc3e6470265b5c330e6ad
ackageParser.java
|
362c4ddff3d4278e4545e597f21477f87ebef385 |
14-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
am 19c95bcc: am e188c984: Merge "Introducing manifest flag requiredAccountType" into jb-mr2-dev * commit '19c95bcc76cd68e241e3d29a5e49fc892521527d': Introducing manifest flag requiredAccountType
|
ccbe389b4d2cee16da77685c88fa1475bc08cdb9 |
13-Apr-2013 |
Amith Yamasani <yamasani@google.com> |
Introducing manifest flag requiredAccountType This can be used by apps that won't work without an account of that type in the limited user environment. This way we can avoid letting users select these apps when setting up a limited user. Bug: 8600261 Change-Id: Iaa0dd5ff88e89fa7a1d8a4e70317290268411bdb
ackageInfo.java
ackageParser.java
|
b735e1d426d65007011a3d915ea8e2cdd0002ecb |
12-Apr-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
am 70d2c773: am f5c757c6: Merge "More fix for bug #8159072 Spinner widget should be RTL\'ized" into jb-mr2-dev * commit '70d2c77320287d97fa2d90cc60f85e1706bffb1b': More fix for bug #8159072 Spinner widget should be RTL'ized
|
f5c757c6292fb2623757ef73020d3730ead063d7 |
12-Apr-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "More fix for bug #8159072 Spinner widget should be RTL'ized" into jb-mr2-dev
|
b999d370090ae23290e907cec5094ba840afebf7 |
12-Apr-2013 |
Dianne Hackborn <hackbod@google.com> |
am d9d9c17d: am 77216642: Merge "Implement #7341342 API request: way to determine current orientation..." into jb-mr2-dev * commit 'd9d9c17dda9a343b8b5386d1b9233c89ab6f3419': Implement #7341342 API request: way to determine current orientation...
|
77216642884d5131290803776b0fce4d68128e97 |
12-Apr-2013 |
Dianne Hackborn <hackbod@google.com> |
Merge "Implement #7341342 API request: way to determine current orientation..." into jb-mr2-dev
|
b9ec1ac51b631c4efc9b7a7e7a2b28882105ffa3 |
11-Apr-2013 |
Dianne Hackborn <hackbod@google.com> |
Implement #7341342 API request: way to determine current orientation... ...to allow for orientation locking This doesn't add an API to get the current orientation, since that is inherantly racy. Instead there is a new "locked" orientation mode that locks the screen into whatever the current rotation is. While at it, added a few other useful orientation modes. Change-Id: I5c369e6511cb72294e9e922ea8acffd770df9440
ctivityInfo.java
|
6e2157456a38c7b4db37ddba8c14caed2f0576c2 |
11-Apr-2013 |
Nick Kralevich <nnk@google.com> |
am c5931edb: am c65e4633: Merge "Optional <uses-permission> not yet supported." into jb-mr2-dev * commit 'c5931edb4c8d95e90ac739ec88d8fca2610a57f1': Optional <uses-permission> not yet supported.
|
dc25d25333d3fac96dccfb9bd31d2474d6bc2d78 |
10-Apr-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
More fix for bug #8159072 Spinner widget should be RTL'ized - fix DrawableContainerState.getChangingConfigurations() to take care about its children - make Resources.verifyPreloadConfig() return false when the changing configuration contains layout direction bits (this is when a Drawable is having different version for LTR and RTL layout directions) - use constant state instead of the resource type value for checking if we can preload the drawable - fix typo Change-Id: Idd64caf0fbe0f5cfd5ffe09343e84bafa9446ea5
ctivityInfo.java
|
32eb5b182458c05f744f9ab2963a13ef620ce069 |
11-Apr-2013 |
Nick Kralevich <nnk@google.com> |
Optional <uses-permission> not yet supported. Change-Id: Ieaa97a29db75161f35905ff340b2c525bbf50612
ackageInfo.java
ackageManager.java
ackageParser.java
|
ef36045f9619a6bf735ddb4d75e6a9f3260f7ede |
05-Apr-2013 |
Nick Kralevich <nnk@google.com> |
am 1fdaace1: am 80fdc962: Merge "Error on conflicting <uses-permission>" into jb-mr2-dev * commit '1fdaace1b17ad651d1e5266bb227a26e76b91a50': Error on conflicting <uses-permission>
|
73f2d3c79e57cac58fa0499accb1fb1192b7103f |
04-Apr-2013 |
Nick Kralevich <nnk@google.com> |
Error on conflicting <uses-permission> Don't install packages where we have multiple, conflicting <uses-permission> lines for the same permission. For example, a package which contains: <uses-permission android:name="android.permission.INTERNET" android:required="false" /> <uses-permission android:name="android.permission.INTERNET" android:required="true" /> will now fail to install. In addition, this change slightly refactors the code, and creates a new parseUsesPermission() method. Change-Id: I0f4bb8b51dc4a0c5b73458a70f706e19829275d2
ackageParser.java
|
7b22af2c31deea3925262c842446bb821d1048d7 |
04-Apr-2013 |
Nick Kralevich <nnk@google.com> |
am 2c0283f5: am b2c3aa8e: Merge "PackageParser: ignore <uses-permission> android:required on older apps" into jb-mr2-dev * commit '2c0283f5d1bc43892b2e1e6ad3b111e4933bbe34': PackageParser: ignore <uses-permission> android:required on older apps
|
38f130e19ac3bb4590d400c61af8a4e5bd6c30ce |
04-Apr-2013 |
Nick Kralevich <nnk@google.com> |
PackageParser: ignore <uses-permission> android:required on older apps Don't honor <uses-permission android:required="false"> on older apps. Lots of apps in the wild are improperly using this, and we don't want to break them. Bug: 8528162 Change-Id: I6e0a10bc9feac58d13ef624239c6b91e9fc34590
ackageParser.java
|
de1175db67da94dc3bb2c1bf2cf20b961f67ccc0 |
03-Apr-2013 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 0afa8b36 to master Change-Id: I09a453ab5dbad58e3dc0858972e222a34d53b282
|
6c918cec31f396bb19597d107856122173c90594 |
02-Apr-2013 |
Kenny Root <kroot@google.com> |
Add direct API to get ManifestDigest This makes it faster for applications that don't want to collect all the certificates but do want the AndroidManifest.xml digest. Bug: 8528639 Change-Id: Ide9498d0981188960af194a9568387337c075bcc
anifestDigest.java
ackageParser.java
|
adf7fa3d28df7a4cfd45f35b20f52e48b94d9b1c |
28-Mar-2013 |
kmccormick <kmccormick@google.com> |
am ce2db15d: am 80ab68ce: am 5c3ddcd1: am 425c3d5f: am 99049335: am 3ed65cb3: am 689e827a: Merge "Doc update: superceeded > superseded" into jb-mr1.1-docs * commit 'ce2db15d702dd4a27f860214ae2bfcf2693ee683': Doc update: superceeded > superseded
|
80ab68ce233598ab13a9875fe17d4ec51aa5517b |
28-Mar-2013 |
kmccormick <kmccormick@google.com> |
am 5c3ddcd1: am 425c3d5f: am 99049335: am 3ed65cb3: am 689e827a: Merge "Doc update: superceeded > superseded" into jb-mr1.1-docs * commit '5c3ddcd14b79c4737ea06f68d8efd39543d60382': Doc update: superceeded > superseded
|
5c3ddcd14b79c4737ea06f68d8efd39543d60382 |
28-Mar-2013 |
kmccormick <kmccormick@google.com> |
am 425c3d5f: am 99049335: am 3ed65cb3: am 689e827a: Merge "Doc update: superceeded > superseded" into jb-mr1.1-docs * commit '425c3d5f59f1e315cdbdd5f7530c4380aabf76ab': Doc update: superceeded > superseded
|
425c3d5f59f1e315cdbdd5f7530c4380aabf76ab |
28-Mar-2013 |
kmccormick <kmccormick@google.com> |
am 99049335: am 3ed65cb3: am 689e827a: Merge "Doc update: superceeded > superseded" into jb-mr1.1-docs * commit '99049335a604cae3f515fce32bc5f1b27fe8d29b': Doc update: superceeded > superseded
|
ac66b85a0454793502a12926bddf70b16a0dfd7d |
28-Mar-2013 |
kmccormick <kmccormick@google.com> |
Doc update: superceeded > superseded "Bug: 5935672" Change-Id: Ie2324d00d454cf3f3f3ed422dea2017b8a7a4c54
ackageManager.java
|
b54a93adafd37b615ed0e11c5d4c2c87466a26d3 |
28-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
am 1438d67e: am e494a81f: Merge "Restricted account visibility" into jb-mr2-dev * commit '1438d67e7ddaba1133f181bc70cd706acf57a520': Restricted account visibility
|
e494a81f9b2727edd1c537f34bf0ea83b2fb0097 |
28-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
Merge "Restricted account visibility" into jb-mr2-dev
|
34ba179091be99a32f6c6d205e30cb8e28631ff1 |
28-Mar-2013 |
kmccormick <kmccormick@google.com> |
am d805e374: am 24b8947f: resolved conflicts for merge of 603f987f to jb-mr2-dev * commit 'd805e374c22ce7d0426efb08b38aa44a3633027b': Doc change: Fix typo DONT_DELTE
|
24b8947f62d9bdb91aae408894faa5fe59564e46 |
28-Mar-2013 |
kmccormick <kmccormick@google.com> |
resolved conflicts for merge of 603f987f to jb-mr2-dev Change-Id: I4a130dad9d4669799f5d477f67e0f9a6a04381ca
|
603f987f14d52111f8ee76eb2c6c593ec3d10918 |
28-Mar-2013 |
kmccormick <kmccormick@google.com> |
am 418172bf: am 19840a8d: am 65c66c74: am 6e6e861a: Merge "Doc change: Fix typo DONT_DELTE" into jb-mr1.1-docs * commit '418172bf8823016785526b433801d44a4630f276': Doc change: Fix typo DONT_DELTE
|
418172bf8823016785526b433801d44a4630f276 |
28-Mar-2013 |
kmccormick <kmccormick@google.com> |
am 19840a8d: am 65c66c74: am 6e6e861a: Merge "Doc change: Fix typo DONT_DELTE" into jb-mr1.1-docs * commit '19840a8d40139a12469ef92c3541f2a433d5ae85': Doc change: Fix typo DONT_DELTE
|
0ac1fc9d233b8671f371a71e2a6374b47ef069a9 |
28-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
Restricted account visibility When accounts are shared to a restricted/limited user, apps can opt-in to viewing accounts of a certain type. Other shared accounts are not visible to the app. App would specify the account type in the manifest <application> tag with the attribute restrictedAccountType="foo.bar", where "foo.bar" is the account type as defined by the authenticator. Change-Id: I7586da04d6d6d32aae15adc6b1366f325bb07384
ackageInfo.java
ackageParser.java
|
30498b41827b67a320360e1cc308064bab9d23f1 |
28-Mar-2013 |
kmccormick <kmccormick@google.com> |
Doc change: Fix typo DONT_DELTE "Bug: 8273156" Change-Id: I6ba2e780d1a8c2b7d1771e93125a10b228227020
ackageManager.java
|
adb2578a05199730d1b48b7e092b94113122d381 |
28-Mar-2013 |
Nick Kralevich <nnk@google.com> |
am 96e44a2c: am 98ea19ed: Merge "Reenable optional permissions parsing and expose APIs" into jb-mr2-dev * commit '96e44a2c2ce0579177c50a4fb710adc83530e968': Reenable optional permissions parsing and expose APIs
|
0655ade016e4b0b41e93455e4df5209be622d7c4 |
28-Mar-2013 |
Nick Kralevich <nnk@google.com> |
am e536ba7e: am 59928987: Merge "Add buildPermissionRequestIntent to PackageManager" into jb-mr2-dev * commit 'e536ba7ecbb609ec9ada1bf39455ca0ba94163f6': Add buildPermissionRequestIntent to PackageManager
|
98ea19ed247b9a2e598e2b66b84806313884a4d3 |
28-Mar-2013 |
Nick Kralevich <nnk@google.com> |
Merge "Reenable optional permissions parsing and expose APIs" into jb-mr2-dev
|
5992898755dc60d2d220a0870f76cf4f1fb27ed8 |
28-Mar-2013 |
Nick Kralevich <nnk@google.com> |
Merge "Add buildPermissionRequestIntent to PackageManager" into jb-mr2-dev
|
828c16f140eadb9265f2bf53469902dc7cdb2284 |
27-Mar-2013 |
Nick Kralevich <nnk@google.com> |
Reenable optional permissions parsing and expose APIs Modify the package parsing code to understand optional permissions (android:required="false"). This is essentially a rollback of e824120016248bcfe3962883fe9f3b0481dd1c3d with some minor changes. Expose the requestPermission API to third party apps. This allows an app to request an Intent which, when passed to startActivityForResult, will prompt the user to approve permissions for an app. In the event we decide to not launch with this feature, this change can be rolled back. Change-Id: Ie3626deae9b16e510323f94a2c80377f7c84b26f
ackageInfo.java
ackageManager.java
ackageParser.java
|
035f80d7c75b282f33ab10a33a3019f614ffd67d |
27-Mar-2013 |
Nick Kralevich <nnk@google.com> |
Add buildPermissionRequestIntent to PackageManager Add the buildPermissionRequestIntent API to PackageManager. This allows an app to request an Intent which, when passed to startActivityForResult, will prompt the user to approve permissions for an app. Currently, the API is @hide. It will be unhidden in a future change. Change-Id: I4ec677002afa799a6eb5c2657c28452c91012436
ackageManager.java
|
d734b4f285dff25ed5fed63349d259ff15a07d60 |
28-Mar-2013 |
Dianne Hackborn <hackbod@google.com> |
am 6b8e7b35: am bf20aa76: Merge "Keep track of who has disabled applications." into jb-mr2-dev * commit '6b8e7b35ef763d29a30c87a5a95ef941d39a8ee9': Keep track of who has disabled applications.
|
3fa3c28a356108a6558b6b54a0b10e1a5cc4f1b6 |
27-Mar-2013 |
Dianne Hackborn <hackbod@google.com> |
Keep track of who has disabled applications. Change-Id: I2640d3dc2200b589e2beb42a43cc93efd090f06e
PackageManager.aidl
ackageUserState.java
|
98157242e231d6415672dec751f81f8e32e43563 |
26-Mar-2013 |
Geremy Condra <gcondra@google.com> |
am d6c1394d: am 51163e3b: Merge "Add seinfo parsing to PackageManagerService." into jb-mr2-dev * commit 'd6c1394dd0046944e66d391ff0e099fb5ac57751': Add seinfo parsing to PackageManagerService.
|
0f40dc923c67e8822f9157aec4f786f73848af07 |
25-Mar-2013 |
Robert Craig <rpcraig@tycho.ncsc.mil> |
Add seinfo parsing to PackageManagerService. This patch set allows the PMS to parse the mac_permissions.xml file which contains the seinfo values. Each package that is installed on the device will be assigned an seinfo value based on policy. This seinfo value will help label the app process and data directory. Modifications include adjustments to ApplicationInfo.java to store the seinfo tag per package as well as adjustments to installd to communicate the seinfo tag to libselinux. Change-Id: I61ad1ea12fb6a9a6d0b108ec163bc4bf4c954b58 Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
pplicationInfo.java
|
d3f8d0333cf4d9d2e47b5b082a6f70460adcf5ff |
25-Mar-2013 |
Robert Craig <rpcraig@tycho.ncsc.mil> |
Add seinfo parsing to PackageManagerService. This patch set allows the PMS to parse the mac_permissions.xml file which contains the seinfo values. Each package that is installed on the device will be assigned an seinfo value based on policy. This seinfo value will help label the app process and data directory. Modifications include adjustments to ApplicationInfo.java to store the seinfo tag per package as well as adjustments to installd to communicate the seinfo tag to libselinux. Change-Id: I61ad1ea12fb6a9a6d0b108ec163bc4bf4c954b58 Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
pplicationInfo.java
|
ac6331be6ff6d757c44aad6497f3ea0c63804d5f |
23-Mar-2013 |
Dianne Hackborn <hackbod@google.com> |
am 8277f248: am b685faa2: Merge "Implement #8323587, #8323342, #8323590: new features." into jb-mr2-dev * commit '8277f24865e52915b4825517860629c0385f79ed': Implement #8323587, #8323342, #8323590: new features.
|
119bbc378d3c836f1196e14b847e564205a29728 |
23-Mar-2013 |
Dianne Hackborn <hackbod@google.com> |
Implement #8323587, #8323342, #8323590: new features. 8323587: Add feature for supporting app widgets 8323342: Add feature for replacing the home screen 8323590: Add feature for supporting input methods The app widget service looks for the app widget feature and refuses to work if it doesn't exist. I didn't do this for the input method service because some devices will probably want to still make use of that mechanism without supporting third party input methods. Change-Id: Ie3b089105e104f4d767cdb03cdbe4fdb1c17382e
ackageManager.java
|
e32011e8c06b994d840e6d568b5ffa8915320909 |
21-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
resolved conflicts for merge of 99755cd3 to master Change-Id: I752c387c013c3deaad836df9b0c2294e7149a32a
|
df2e92a535e19c00edd37318d974dab992ccc2c1 |
02-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
Application restrictions API Adds the ability for apps to export some restrictions. The restrictions are presented in Settings based on the restriction type. The user's selections are stored by UserManagerService and provided to the target user's application as a list of RestrictionEntry objects which contain the key, value(s). Also introduce a manifest entry for system apps to request that the app be automatically installed in all users, so that they cannot be deselected by the owner user. Shared account filtering for non-whitelisted apps. Change-Id: I15b741e3c0f3448883cb364c130783f1f6ea7ce6
ackageInfo.java
ackageParser.java
|
dc37c5f2e32d167059382ec4bba68d4f12922516 |
13-Mar-2013 |
Dianne Hackborn <hackbod@google.com> |
am 0c42b580: am 53149acf: Merge "Implement limited shared libraries in apks." into jb-mr2-dev * commit '0c42b58041dc0ede9865335fa48637fb6b677cd3': Implement limited shared libraries in apks.
|
c895be7bc68b6f5b37fbb9881f464dd5ea0eb017 |
12-Mar-2013 |
Dianne Hackborn <hackbod@google.com> |
Implement limited shared libraries in apks. You can now declare shared libraries in apks that are on the system image. This is like the existing mechanism of using raw jar files as shared libraries, but since they are contained in an apk the library can actually be updated from the Play Store. And this even (mostly) works. There are some deliberate limitations on this feature. A new shared library *must* be declared by an apk on the system image. Installing an update to a system image apk does not allow you to add new shared libraries; they must be defined by everything on the base system image. This allows us to get rid of a lot of ugly edge cases (shared libraries that were there disappearing after an update is uninstalled for example) and give some brakes on apps that happen to be pre-installed on devices from being able to throw in new shared libraries after the fact. In working on this, I ran into a recently introduced bug where uninstalling updated to system apps would fail. This was done to allow for the new restricted users that don't have all system apps, but conflicts with the existing semantics for uninstalling system apps. To fix this I added a new uninstall flag that lets you switch on the new mode if desired. Also to implement the desired logic for limitations on declaring new shared libraries in app updates, I needed to slightly tweak the initial boot to keep the Package object for hidden system packages associated with their PackageSetting, so we can look at it to determine which shared libraries are allowed. I think this is probably more right than it was before -- we already need to parse the package anyway, so we have it, and when you install an update to a system app we are in this same state until you reboot anyway. And having this fixed also allowed me to fix another bug where we wouldn't grant a new permission to an updated app if its system image version is updated to request the permission but its version is still older than whatever is currently installed as an update. So that's good. Also add new sample code showing the implementation of an apk shared library and a client app using it. Change-Id: I8ccca8f3c3bffd036c5968e22bd7f8a73e69be22
ackageManager.java
ackageParser.java
|
345fc4cc92a08c2aa51938a05f36af8f8c5b8845 |
11-Mar-2013 |
Jeff Sharkey <jsharkey@android.com> |
am 1b48ecf8: am f2afddb5: Merge "Handle corrupt RegisteredServicesCache XML." into jb-mr2-dev * commit '1b48ecf89a13a104820d5ccf52ba7f5dd622d3a6': Handle corrupt RegisteredServicesCache XML.
|
293ad6c6749044d97ea2a5f3fbd5c6ad58124584 |
11-Mar-2013 |
Jeff Sharkey <jsharkey@android.com> |
Handle corrupt RegisteredServicesCache XML. Avoid getting stuck in infinite loop. Bug: 8360183 Change-Id: I81728dcfbc35b456c9166cf5c5175d0a376df56f
egisteredServicesCache.java
|
99438af8924b6881caabcccffe76d68dddf13290 |
07-Mar-2013 |
Jeff Sharkey <jsharkey@android.com> |
am 73a3754c: am 4861966c: Merge "ArrayUtils.indexOf(), containsAll() with tests." into jb-mr2-dev * commit '73a3754c6766b7220878983317b3d56ce7fc6e58': ArrayUtils.indexOf(), containsAll() with tests.
|
94c91dca55de9ffdbe072fcc5dd6dbf1efe5e4c1 |
07-Mar-2013 |
Jeff Sharkey <jsharkey@android.com> |
ArrayUtils.indexOf(), containsAll() with tests. Change-Id: I040164d4e45126e4a6c1df54bd114f47951da560
ignature.java
|
adb8e146a5eec041d6c8543e17182efe5bec276c |
06-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
am 3eb3774f: am 67df64b3: Shared accounts and sharing of apps * commit '3eb3774f8e54a6f43dcf4f27e1b7a62676791ff6': Shared accounts and sharing of apps
|
67df64b3a48a8157d08a98fa90135d0ac0ee621c |
14-Dec-2012 |
Amith Yamasani <yamasani@google.com> |
Shared accounts and sharing of apps API and preliminary implementation for sharing primary user accounts with a secondary user. AbstractAccountAuthenticator has new methods to retrieve and apply a bundle of credentials to clone an account from the primary to a restricted secondary user. The AccountManagerService initiates the account clone when it starts up the user and detects that the user has a shared account registered that hasn't been converted to a real account. AccountManager also has new hidden APIs to add/remove/get shared accounts. There might be further improvements to this API to make shared accounts hidden/visible to select apps. AccountManagerService has a new table to store the shared account information. Added ability in PackageManager to install and uninstall packages for a secondary user. This is required when the primary user selects a few apps to share with a restricted user. Remove shared accounts from secondary users when primary user removes the account. Change-Id: I9378ed0d8c1cc66baf150a4bec0ede56f6f8b06b
PackageManager.aidl
serInfo.java
|
f1bcca82158c39da3c3696f9af954be2c0be1809 |
08-Jan-2013 |
Geremy Condra <gcondra@google.com> |
Added the KeySetManager. Bug: 7554291 Change-Id: Ic693a544f1e2cab20f6540b3fc4ff673e35bd2c6
eySet.java
ackageParser.java
|
e4cf73437a18c1444055f88a1fcc0d146ec23ac5 |
17-Dec-2012 |
Amith Yamasani <yamasani@google.com> |
Starting point for User Restrictions API Restrictions saved as key/value pairs, mostly booleans right now but might be expanded to other types later. Save and restore restrictions in the user manager service. Enforce some of the restrictions at the framework level. Some are enforced (also) at the app level, such as in Settings. Change-Id: Id11ffe129cb6a177e094edf79635727388c26f40
ackageManager.java
|
8a2ed1d7c0c4f6476e39cc37d9ebd29c7562ce01 |
30-Jan-2013 |
Dianne Hackborn <hackbod@google.com> |
Improve configuration of default preferred apps. The file that defines default preferred apps is now more robust. It is no longer a raw dump of the package manager settings, but instead a more general list of a target activity and filter. When reading it, the remaining information (match value, set of potential matches) is determined dynamically. Change-Id: I0edc6e0d2ed3dd2a6e2238992f18f7fc1f51d8d4
PackageManager.aidl
|
fd7adedebf88427162a3ce27fcc9cfd3893c869d |
23-Jan-2013 |
Dianne Hackborn <hackbod@google.com> |
Add new disabled state for "optional" built-in apps. The disabled state allows you to make an app disabled except for whatever parts of the system still want to provide access to them and automatically enable them if the user want to use it. Currently the input method manager service is the only part of the system that supports this, so you can put an IME in this state and it will generally look disabled but still be available in the IME list and once selected switched to the enabled state. Change-Id: I77f01c70610d82ce9070d4aabbadec8ae2cff2a3
ackageManager.java
ackageParser.java
|
d8e1dbb6bc1fbaf4f2e38c3ba92ced94270deaac |
18-Jan-2013 |
Dianne Hackborn <hackbod@google.com> |
Rework ParceledListSlice to be much easier to use. Take advantage of this to return better information about packages filtered by permissions -- include the permissions they have in the requested array. Also fix issue #8026793 (Contact picture shows default pic while searching for a contact in qsb) by using the base package name of the Context when reporting the app name of an operation. Otherwise you could make a resource-only context for another application and do calls through that and get reported as the wrong app. Change-Id: I5e0488bf773acea5a3d22f245641828e1a106fb8
PackageManager.aidl
arceledListSlice.java
|
e799175b6ba3aadd972f4b861758d675d1f93987 |
17-Jan-2013 |
Dianne Hackborn <hackbod@google.com> |
AppOps: fix nested op tracking, new API to get apps using permissions. Change-Id: I20c7bd58febc01d6911a90440867eaacd133c464
PackageManager.aidl
ackageManager.java
|
a06de0f29b58df9246779cc4bfd8f06f7205ddb6 |
12-Dec-2012 |
Dianne Hackborn <hackbod@google.com> |
New "app ops" service. Initial implementation, tracking use of the vibrator, GPS, and location reports. Also includes an update to battery stats to also keep track of vibrator usage (since I had to be in the vibrator code anyway to instrument it). The service itself is only half-done. Currently no API to retrieve the data (which once there will allow us to show you which apps are currently causing the GPS to run and who has recently accessed your location), it doesn't persist its data like it should, and no way to tell it to reject app requests for various operations. But hey, it's a start! Change-Id: I05b8d76cc4a4f7f37bc758c1701f51f9e0550e15
ackageManager.java
|
73c2aee40a0e0ab2e8bd2bbbc560aa31c38eaac2 |
16-Mar-2012 |
Christopher Tate <ctate@google.com> |
Make immersive mode public & imply update locking Activity.setImmersive(boolean) / android:immersive="bool" are now public. In addition, if the foreground activity is immersive then an update lock will be held on its behalf. This lets applications such as movie players suppress the display of intrusive notifications, OTA-availability dialogs, and the like while they are displaying content that ought not to be rudely interrupted. The update lock aspect of this mode is *advisory*, not binding -- the update mechanism is not actually constrained; it simply uses this information in deciding whether/when to prompt the user. It's more a guideline than a rule. Bug 7681380 Change-Id: I3c412a84cbf3933e3bf0168f2c71c54a86e4b7e5
ctivityInfo.java
|
13579ed3305bf89b41a9fa88e1347f0e0769d279 |
29-Nov-2012 |
Dianne Hackborn <hackbod@google.com> |
Cleaner initial boot. This does some cleanup of the initial boot, especially when booting in "no core apps" mode for encryption/decryption. Change-Id: Ifb3949f580e52f54559e603c4b0b104f6bac2f6c
PackageManager.aidl
|
40e9f2922cae76ffcbc521481e5be8e80e8744ef |
28-Nov-2012 |
Dianne Hackborn <hackbod@google.com> |
Quiet down a lot of logging. Also fix a little problem where the USER_STARTED broadcasts were not being sent as ordered broadcasts(!). Change-Id: I3aa3e0a9b3900967cdd2d115ee103371b0a50c41
egisteredServicesCache.java
|
8b2c3a14603d163d7564e6f60286995079687690 |
12-Nov-2012 |
Jeff Sharkey <jsharkey@android.com> |
Useful annotations for code documentation. Bug: 6537978 Change-Id: I806c3c09e3255f8789455f13bf37c1dde2a93f1f
egisteredServicesCache.java
|
69b0c974b5abb38a4443410cf09f7d5f28cf2c7f |
17-Oct-2012 |
Christopher Tate <ctate@google.com> |
Merge "Fix ApplicationInfo copy ctor" into jb-mr1-dev
|
bcb0255770caa6b053da100de13beb840da71b21 |
17-Oct-2012 |
Christopher Tate <ctate@google.com> |
Fix ApplicationInfo copy ctor Need to copy ALL the fields! Bug 7360899 Change-Id: Ie6ed2d6f41c2efaf793ebf111adc8fa5e8b57d7c
pplicationInfo.java
|
a706e2fd0059b1bb86c487722dbc9fc0fda9c980 |
16-Oct-2012 |
Jeff Sharkey <jsharkey@android.com> |
Lock SyncQueue when user starting, copy RSC list. Document SyncQueue locking policy and protect in onUserStarting() and clearAllBackoffs(). Return copy of ServiceInfo list from RegisteredServicesCache instead of exposing locking externally. Bug: 7357776, 7352537 Change-Id: I6a32ca98a355b639d4207a88bde572179beae359
egisteredServicesCache.java
|
6ab72d74b86e5f4ec3c3909366fd46c225a66bd7 |
09-Oct-2012 |
Jeff Sharkey <jsharkey@android.com> |
Make RegisteredServicesCache multi-user aware. RegisteredServicesCache is used to track account authenticators and sync adapters, which can vary based on user. This change requires that callers now provide a userId when making cache requests. It continues persisting into a single file for now, which is keyed based on UID. It now watches for package broadcasts from all users, and scans packages on-demand. It changes cache callers to provide a relevant userId, and evicts cache entries when users are stopped. Changes SyncManager to only work with accounts from running users, only kicking off pending syncs once a user is started. Bug: 7276595, 7316150 Change-Id: I79466a84aa69aa37e4bd9691c5d6221d3662ff29
egisteredServicesCache.java
egisteredServicesCacheListener.java
|
9c2a38ed10592a54d9bb753ef882632f7a8cd446 |
08-Oct-2012 |
Amith Yamasani <yamasani@google.com> |
Merge "Fix resource reading for secondary users" into jb-mr1-dev
|
64442c11555d828a41af0b8a58ab933357889061 |
07-Oct-2012 |
Amith Yamasani <yamasani@google.com> |
Fix resource reading for secondary users Bug: 7086881 Load resources for the correct user. Also clean up package monitoring and locking. Added dump method to SearchManagerService. Sneaking in a change to make crash dialogs visible to current user. Change-Id: Id56dd15428d66084de995e28be242db27c15fda3
ackageItemInfo.java
|
5962b12bedc4a1d0354816c1cd6b06ba04f6d807 |
05-Oct-2012 |
Craig Mautner <cmautner@google.com> |
Adds showWhenLocked attribute to Activities. The new attribute allows an Activity such as the alarm to appear on all users screens. Bug: 7213805 fixed. Change-Id: If7866b13d88c04af07debc69e0e875d0adc6050a
ctivityInfo.java
ackageParser.java
|
4a9f071f3d3fdd20615167cda6f22da912bc60c7 |
03-Oct-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7272775: Auto Start Apps Not Starting Bad defaults were causing stopped state to be set at each boot. Change-Id: I49b04e9c62f6ac391054201b508fddb6c7985615
ackageUserState.java
|
3ff8e1a80058e5557d13693d3223e1aa011c0038 |
29-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #7211769 and #7244492, thrash around on #7226656." into jb-mr1-dev
|
d4ac8d7b3de27a9f0e4c6af2496ca71d794e42d1 |
28-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7211769 and #7244492, thrash around on #7226656. Issue #7211769: Crash dialog from background user has non-working "report" The report button now launches the issue reporter for the correct user. Also for crashes on background users, either disable the report button, or simply don't show the dialog depending on the build config. Issue #7244492: Bugreport button in Quick Settings doesn't actually do anything Now they do. Issue #7226656: second user seeing primary user's apps I haven't had any success at reproducing this. I have tried to tighten up the path where we create the user to ensure nothing could cause the user's applications to be accessed before the user it fully created and thus make them installed... but I can't convince myself that is the actual problem. Also tightened up the user switch code to use forground broadcasts for all of the updates about the switch (since this is really a foreground operation), added a facility to have BOOT_COMPELTED broadcasts not get launched for secondary users and use that on a few key system receivers, fixed some debug output. Change-Id: Iadf8f8e4878a86def2e495e9d0dc40c4fb347021
ctivityInfo.java
ackageParser.java
ackageUserState.java
serInfo.java
|
37d83a3caf138e35fa1a355787d20c351f6b37a6 |
27-Sep-2012 |
Ben Gruver <bgruv@google.com> |
Pass the originating uid to the package verifier Bug: 6923241 Change-Id: I85a3e0d53b469543cb0551d3a440d2663b5d0697
erificationParams.java
|
98edc951712823dbf5db2b7e9c203a0e98fc616b |
25-Sep-2012 |
Amith Yamasani <yamasani@google.com> |
Load resources for the correct user For apps that are only installed on secondary users, the SystemUI is unable to see them by default. Added some methods to explicitly pass the userId of the user the resources are requested for by the StatusBarIcon Bug: 7214384 Also fix binding to remote views Bug: 7192802 Change-Id: I5d6c5f624aa37fb231f3467f9764c8d99077a91d
ackageManager.java
|
752cd922f7091dfd5401faf70dc248934a9dbb6d |
24-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Always bind to DefaultContainerService as OWNER. When PackageManagerService deals with external storage, always bind to DefaultContainerService as USER_OWNER. This avoids binding to a stopped user, which would fail. Bug: 7203111 Change-Id: I8e303c7558e8b5cbe4fea0acc9a472b598df0caa
ackageCleanItem.java
|
b939e35274334d1f5e71a526efe8d235eb6d7387 |
23-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #7209355, #7214271." into jb-mr1-dev
|
8da429e80d1778d7bcfbfbd64355c70fb466b3ce |
23-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7209355, #7214271. Issue #7209355: Intent on the secondary user results in an intent picker in the Primary user. Issue #7214271: Crash in system UI Also fix a bug where I recently broke the removeTask() operation in the activity manager where it would remove the wrong task. Change-Id: I448c73a0e83a78d9d8d96b4629658c169888d275
esolveInfo.java
|
a91c9f9f7a3c5d09333bdf27ef06012bb4e7d710 |
23-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Unhide and document feature android.hardware.camera.any." into jb-mr1-dev
|
c9108b1856c7b6d98ddc04fbe330df21f2da890d |
22-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Add hardware feature android.hardware.camera.any." into jb-mr1-dev
|
58d37b55bd228032355360ea3303e46a804e0516 |
18-Sep-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Multi-user support for the accessibility layer. 1. This change converts the accessibility manager service to maintain a state per user. When the user changes the services for the user that is going away are disconnected, the local accessibility managers in the processes for this user are disabled, the state is swapped with the new user's one, and the new user state is refreshed. This change updates all calls into the system to use their user specific versions when applicable. For example, regisetring content observers, package monitors, calls into other system services, etc. There are some components that are shared across users such as UI created by the system process and the SystemUI package. Such components are managed as a global state shared across all users and are updated accordingly on a user switch. Since the SystemUI is running in a normal app process this change adds hidden APIs on the local window manager to allow the SystemUI to notify the accessibility layer that it will run accross users. Calls to AccessibiltyManager's isEnabled(), isTouchExplorationEnabled() and sendAccessibilityEvent return false or a are a nop for a background user sice he should not send accessibility events, and should not perform touch exploration. Update the internal accessibility tests due to changes in the AccessibilityManager. This change also fixes several issues that were encountered such as calling out the accessibility manager service with a lock held. Removed some incorrect debugging code from the TouchExplorer that was leading to a system crash. bug:6967373 Change-Id: I2cf32ffdee1d827a8197ae4ce717dc0ff798b259
ackageManager.java
|
920ace0bbc2d4133dbec991d2636c99a57d6245e |
21-Sep-2012 |
Amith Yamasani <yamasani@google.com> |
Query users excluding any being removed Keep track of user creation and last logged-in time. adb shell dumpsys users User switcher shouldn't show users about to be removed. No need to check for singleton for activities. Bug: 7194894 Change-Id: Ic9a59ea5bd544920479e191d1a1e8a77f8b6ddcf
serInfo.java
|
72b4db15b6f30a5bc1c906aece93873b223f7dc2 |
19-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Unhide and document feature android.hardware.camera.any. Bug: 6847310 Change-Id: I67a973dccfdc735aac457fce625003a386ff2fbe
ackageManager.java
|
752af83e5b28a4225510406a0ec868585caf1ccc |
18-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Add hardware feature android.hardware.camera.any. This feature means that a device has at least one camera, facing in some direction, so it matches devices that: - Have just a back-facing camera - Have just a front-facing camera - Have both In the future, it could also be used for devices that have a camera that's neither front- or back-facing, such as a webcam or other flexibly-pointed device. Hidden for now. Bug: 6847310 Change-Id: I51ea3b4db2020b0f056d77e10629a6b5f2daebe1
ackageManager.java
|
8832c18d8b63367929c2d394c9c508f56003d400 |
18-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix API review bugs. 7173152 API REVIEW: android.content.pm.PackageUserState 7172969 API REVIEW: android.app.PendingIntent 7172730 API REVIEW: android.content.Context 7172726 API REVIEW: android.manifest.permission Change-Id: Iad470256d3b5ca5596487f6a699ec1871457c3b5
ackageManager.java
ackageUserState.java
|
2ca2c8787130506d350d997c18bbc274faf88e37 |
17-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
More adjustments to permissions. - New "cost money" flag can be put on a permission to have this emphasized in the UI. - Some further re-organization of permissions to better match UX spec. Change-Id: I450ac739eff6b90e7c7fc39589d68db82b61f897
ackageParser.java
ermissionInfo.java
|
d65afc65ea5b2bf83889dd88a9c94f895da8aece |
16-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "More multi-user stuff." into jb-mr1-dev
|
5dc5a00e7ebadc085ded7e29feacd17e53698486 |
16-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
More multi-user stuff. - New public APIs to find out when a user goes to the foreground, background, and is first initializing. - New activity manager callback to be involved in the user switch process, allowing other services to let it know when it is safe to stop freezing the screen. - Wallpaper service now implements this to handle its user switch, telling the activity manager when it is done. (Currently this is only handling the old wallpaper going away, we need a little more work to correctly wait for the new wallpaper to get added.) - Lock screen now implements the callback to do its user switch. It also now locks itself when this happens, instead of relying on some other entity making sure it is locked. - Pre-boot broadcasts now go to all users. - WallpaperManager now has an API to find out if a named wallpaper is in use by any users. Change-Id: I27877aef1d82126c0a1428c3d1861619ee5f8653
serInfo.java
|
13d428e8306d1bb1a3017045bc5d2f76edec32df |
13-Sep-2012 |
rich cannings <richc@google.com> |
Send more information to verifiers Send package name, version code and the uid of the application requesting the install to package verifiers. Bug: 7164155 Change-Id: I2464dc5d4551f60b4f38f7982495a8920c83e1cd
ackageManager.java
erificationParams.java
|
7454d3b73cfd0d7ad58b0285102b09aad1e0150f |
13-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
New permissions UI, again. Change-Id: I0bbecd88ff1f212b30d1ef32d5bcaa49cdf1e9ce
ackageParser.java
ermissionGroupInfo.java
|
b049e212ab7fe8967893c202efcb30fecfdb82fb |
08-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Include user identifier in external storage paths. When building external storage paths, always include user in path to enable cross-user paths and aid debugging. Each Zygote process continues to only have access to the appropriate user-specific emulated storage through bind mounts. A second set of mounts continue supporting legacy /sdcard-style paths. For example, a process running as owner has these mount points: /storage/emulated_legacy /storage/emulated_legacy/Android/obb /storage/emulated/0 /storage/emulated/obb Since Environment is created before Zygote forks, we need to update its internal paths after each process launches. Bug: 7131382 Change-Id: I6f8c6971f2a8edfb415c14cb4ed05ff97e587a21
serInfo.java
|
151ec4c9f8ca34625733730a4551a23eb97cda23 |
08-Sep-2012 |
Amith Yamasani <yamasani@google.com> |
More multi-user methods in PM pm can list installed packages by user now. Bug: 6926465 Change-Id: I822311bfd6e7e2d6fb315fc484739fbf953c9bb6
PackageManager.aidl
ackageManager.java
|
5e03e2ca7d25b899b129baad2dd5eca6bf99d88a |
06-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
More multi-user stuff: - New (hidden) isUserRunning() API. - Maintain LRU list of visited users. - New FLAG_IS_DATA_ONLY for ApplicationInfo. - Clean up pending intent records when force-stopping a user (or package). (Also fixes bug #6880627: PendingIntent.getService() returns stale intent of force stopped app) - Fix force-stopping when installing an app to do the force-stop across all users for that app. - When selecting which processes to kill during a force stop, do this based on the actual packages loaded in the process, not just process name matching. - You can now use --user option in am when starting activities, services, and instrumentation. - The am --user option accepts "current" and "all" as arguments. - The pm uninstall command now uninstalls for all users, so it matches the semantics of the install command. - PhoneWindowManager now explicitly says to start home in the current user. - Activity manager call to retrieve the MIME type from a content provider now takes a user argument, so it will direct this to the proper user. - The package manager uninstall paths are now implemented around PackageSetting, not PackageParser.Package. This allows them to work even if the application's apk has been removed (in which case it only exists as a PackageSetting, not the PackageParser.Package parsed from the apk). Change-Id: I3522f6fcf32603090bd6e01cc90ce70b6c5aae40
pplicationInfo.java
nstrumentationInfo.java
|
035ce2ca92742894f7f906c93d7d217c647aa19a |
05-Sep-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add support for "-rtl" in resources" into jb-mr1-dev
|
a2875f481bc40fb5c7e5ae2d475dfb6d557294c0 |
31-Aug-2012 |
rich cannings <richc@google.com> |
Merge "Notify verifiers that verification is complete" into jb-mr1-dev
|
f203aeef993b0f4ce65c9630d06bbd50a504e89f |
30-Aug-2012 |
Amith Yamasani <yamasani@google.com> |
Enforce permissions for calls with specified userId Fix a couple of places where incorrect userIds were being passed in. Change-Id: I398c676e0488ff7e584be96e96c8b32652134238
ackageManager.java
|
d1b5cfc94ae940f42be352e7ed98c21c973471b2 |
29-Aug-2012 |
rich cannings <richc@google.com> |
Notify verifiers that verification is complete Send the Intent.ACTION_PACKAGE_VERIFIED to all verifiers when verification is complete (either one verifier verified the package or a timeout occurred). Details of what occurred is in a new extra, PackageManager.EXTRA_VERIFICATION_RESULT. Bug: 7048930 Change-Id: I4f9855a29b0eb6d77f469891402c69e2e8922945
ackageManager.java
|
7e67151b912622f8a279ab1523a9bcf26ebaff3d |
27-Aug-2012 |
rich cannings <richc@google.com> |
Add permission checks for Verification API calls Ensure that only applications with android.Manifest.permission.PACKAGE_VERIFICATION_AGENT can call application verification APIs, like PackageManager.verifyPendingInstall and PackageManager.extendVerificationTimeout Bug: 7049083 Change-Id: I5fc28b37e864d67cd319a1ed9d03a90dd15ad052
ackageManager.java
|
4428e17c5e05c0dad76da8f1c28ccba62a66cd91 |
25-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Some clean up of app install and user management. UserManagerService is now closely tied to PackageManagerService, sharing the same locks. There is no longer direct access of Installer by UserManagerService, instead the package manager is back to solely owning it. Creating a new user now correctly only installs system apps for that user. Fixed some misc bugs, where we were getting nulls when querying content providers and instrumentation in uninstalled users, incorrect locking, etc. Change-Id: Ife69b6e373d0cf7c5cfc03fc588e36b43ad5d8b0
egisteredServicesCache.java
|
7767eac3232ba2fb9828766813cdb481d6a97584 |
24-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Keep track of whether an app is installed for each user. This add a new per-user state for an app, indicating whether it is installed for that user. All system apps are always installed for all users (we still use disable to "uninstall" them). Now when you call into the package manager to install an app, it will only install the app for that user unless you supply a flag saying to install for all users. Only being installed for the user is just the normal install state, but all other users have marked in their state for that app that it is not installed. When you call the package manager APIs for information about apps, uninstalled apps are treated as really being not visible (somewhat more-so than disabled apps), unless you use the GET_UNINSTALLED_PACKAGES flag. If another user calls to install an app that is already installed, just not for them, then the normal install process takes place but in addition that user's installed state is toggled on. The package manager will not send PACKAGE_ADDED, PACKAGE_REMOVED, PACKAGE_REPLACED etc broadcasts to users who don't have a package installed or not being involved in a change in the install state. There are a few things that are not quite right with this -- for example if you go through a full install (with a new apk) of an app for one user who doesn't have it already installed, you will still get the PACKAGED_REPLACED messages even though this is technically the first install for your user. I'm not sure how much of an issue this is. When you call the existing API to uninstall an app, this toggles the installed state of the app for that user to be off. Only if that is the last user user that has the app uinstalled will it actually be removed from the device. Again there is a new flag you can pass in to force the app to be uninstalled for all users. Also fixed issues with cleaning external storage of apps, which was not dealing with multiple users. We now keep track of cleaning each user for each package. Change-Id: I00e66452b149defc08c5e0183fa673f532465ed5
pplicationInfo.java
PackageManager.aidl
anifestDigest.java
ackageCleanItem.aidl
ackageCleanItem.java
ackageInfoLite.java
ackageManager.java
ackageParser.java
ackageUserState.java
|
d9ef3e5495db1c46bcfcc1a2d4386af8db6deb0c |
22-Aug-2012 |
rich cannings <richc@google.com> |
Allow verifiers to extend timeout Create a new verifier API to extend the timeout for a giving package, including the resulting action (allow or deny) upon the timeout occuring. Bug: 6901038 Change-Id: I351f7944327f863aff1d7dd1227be74652fa1511
PackageManager.aidl
ackageManager.java
|
5f7979993979466c79ab4f38d83c6f2aca361662 |
16-Jun-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add support for "-rtl" in resources - fix bug #7035019 Need to have "-rtl" support for Resource Change-Id: Ic82145c2ac672729d8a6c695a5f343276a1a0a2c
ctivityInfo.java
|
0c3804950236fe170ebf6cc7a5f1e3e305b8f315 |
21-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Improve multi-user app management. Introduce API to get per-user storage information, keep track of services associated with users, and various small cleanup. Change-Id: I5d4e784e7ff3cccfed627d66a090d2f464202634
PackageManager.aidl
ackageManager.java
ackageStats.java
|
706e8ba26bf0de19ad5f736516dae40c4c88c2d7 |
20-Aug-2012 |
rich cannings <richc@google.com> |
Pass URLs to package verifiers This change passes the originating URL and accompanied referrer to package verifiers, when available. Bug: 6544677 Change-Id: I9ebc71bc13f549bd88267e444816151a99bda000
PackageManager.aidl
ackageManager.java
erificationParams.aidl
erificationParams.java
|
a3f133afe885f9e005dfc0584cb7b3b90f75f665 |
10-Aug-2012 |
Amith Yamasani <yamasani@google.com> |
Save preferred activity info with user id. So each user can have their own set of intent resolution preferences. ResolverActivity now launches the activity on the correct user, and persists the preference for the correct user. Bug: 6961905 Change-Id: I6d3a8a9af89bc649277d4fc8d0f367ee123f8392
PackageManager.aidl
ackageManager.java
|
2a00329c6d55c6cd9166e01963d7410e95d80d21 |
15-Aug-2012 |
Amith Yamasani <yamasani@google.com> |
UserHandle to UserSerialNo mapping Use AtomicFile for usermanager files. Added a MANAGE_USERS permission that apps (signature permission) can use to create/query/modify/remove users. Change-Id: I5cf232232d0539e7508df8ec9b216e29c2351cd9
serInfo.java
|
f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8 |
16-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Rename UserId to UserHandle. This is the start of turning this into a formal public API. Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
ackageParser.java
|
258848d2ae04f447ff1c18023fa76b139fcc0862 |
11-Aug-2012 |
Amith Yamasani <yamasani@google.com> |
User Manager service to manage users and query user details Moved a bunch of methods from PackageManager to UserManager. Fix launching of activities from recents to correct user. Guest creation APIs Change-Id: I0733405e6eb2829675665e225c759d6baa2b708f
PackageManager.aidl
ackageManager.java
serInfo.java
|
5a28605155e51cdbd58737a8b7c47b337c5539bb |
09-Aug-2012 |
Nick Kralevich <nnk@google.com> |
Merge "PackageParser: remove temporary code." into jb-mr1-dev
|
a30a4806aca7f36fb416f485b332060b03a16c0b |
09-Aug-2012 |
Nick Kralevich <nnk@google.com> |
PackageParser: remove temporary code. This code isn't needed and wasn't doing what I thought it was doing. Bug: 3306452 Change-Id: Ifeab672e379fd331a6f0ef1504eebb29aa6b4466
ackageParser.java
|
a56d9cecee8a34e0554770ac6253dd3a76b9199c |
08-Aug-2012 |
Rich Cannings <richc@google.com> |
Merge "Revert "Pass URLs to package verifiers"" into jb-mr1-dev
|
e1d7c711df3e3a2d2f195457882aa4ddb5626167 |
08-Aug-2012 |
Rich Cannings <richc@google.com> |
Revert "Pass URLs to package verifiers" This reverts commit 24713907fe4632d263aea82f7a35c8fb08918a09 Change-Id: Ie04ba73475b813635c4a74915c45e83250801b6b
PackageManager.aidl
ackageManager.java
|
9d16c219f1ca0836a832e25a61fcaf9c1d0dd67b |
08-Aug-2012 |
Nick Kralevich <nnk@google.com> |
Merge "Content Providers: change default for android:exported" into jb-mr1-dev
|
7d19e0242faac8017033dabb872cdf1542fa184c |
08-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
More mult-user API work. - You can now use android:singleUser with receivers and providers. - New API to send ordered broadcasts as a user. - New Process.myUserHandle() API. For now I am trying out "user handle" as the name for the numbers representing users. Change-Id: I754c713ab172494bb4251bc7a37a17324a2e235e
ctivityInfo.java
ackageParser.java
roviderInfo.java
erviceInfo.java
|
f097b16cfddce2dbb097b929458fe9b0a402963e |
28-Jul-2012 |
Nick Kralevich <nnk@google.com> |
Content Providers: change default for android:exported Change the default value of android:exported to true for applications which target a newer API version. This will help stop inadvertent content provider exposure to untrusted apps. Bug: 3306452 Change-Id: I8cb34e823aef9551319951ce92217345c54cee63
ackageParser.java
|
329465c6b2407ee086a171cac1a3581f83dbb048 |
03-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "Add APIs for interacting across users." into jb-mr1-dev
|
b4163a6e12ee7100c758c6d3d062ade1f2843fce |
03-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Add APIs for interacting across users. - Expose the existing Context.sendBroadcast() as Context.sendBroadcastAsUser(). - Add new android:singleUser attribute for services. - Add new INTERACT_ACROSS_USERS_FULL permission for full system-level access to cross-user interface (allows sendBroadcastAsUser() to send to any receiver). - Add new INTERACT_ACROSS_USERS_FULL permission for more restricted cross-user interaction: this is required for android:singleUser, and allows you to use sendBroadcastAsUser() but only to send to your own receivers. Change-Id: I0de88f6718e9505f4de72e3f45d29c0f503b76e9
ackageParser.java
erviceInfo.java
|
24713907fe4632d263aea82f7a35c8fb08918a09 |
26-Jul-2012 |
rich cannings <richc@google.com> |
Pass URLs to package verifiers This change passes the originating URL and accompanied referrer to package verifiers, when available. Bug: 6544677 Change-Id: If9ff6663ad7f3426b7aea2aceb1413b689788138
PackageManager.aidl
ackageManager.java
|
908aecc3a63c5520d5b11da14a9383f885b7d126 |
01-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Start moving away from DisplayMetrics.DENSITY_DEVICE. This puts in most of the infrastructure needed to allow us to switch between different densities at run time. The main remaining uses of the global are to initialize the Bitmap object (not sure what to do about that since it doesn't have anything passed in the constructor to get this information from), and being able to load drawables if we need a different density than what was preloaded by zygote. Change-Id: Ifdbfd6b7a5c59e6aa22e63b95b78d96af3d96848
ctivityInfo.java
|
40e5df95ff9468cec0624ca7fb14e51c13e4b047 |
01-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "Make AtomicFile a public API. It's about time!" into jb-mr1-dev
|
39606a007a5b1309dd000234f2b8cf156c49fd0f |
01-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Make AtomicFile a public API. It's about time! Change-Id: Ib34e294747405b7ab709cb0bbb2d9a0cc80ce86a
egisteredServicesCache.java
|
e23ae144cc1b6487a7c0e7a33d3016431c81850c |
31-Jul-2012 |
Kenny Root <kroot@google.com> |
am fa74f7e0: am bba948dc: Merge "Delay AccountManagerService initialization" into jb-dev * commit 'fa74f7e04fcad1258a1b85515547dba0466086d8': Delay AccountManagerService initialization
|
26ff6626fc4ee0ae46f01ad309b366921da589fe |
30-Jul-2012 |
Kenny Root <kroot@google.com> |
Delay AccountManagerService initialization Since applications can have Account providers, they need to be delayed until after PackageManagerService says everything is mounted. Otherwise the accounts associated with that provider will be removed immediately when startup happens. Bug: 6820670 Change-Id: Iba81765260421649f706624d0605a40ebc1347b1
egisteredServicesCache.java
|
ddd88726a247e4100cb62b3dc9d0887ca2ae2ec4 |
26-Jul-2012 |
Jeff Smith <whydoubt@yahoo.com> |
am 71930dd7: am a45746ef: Fix several cases of broken droiddoc syntax external issue 35214 * commit '71930dd77e4dc6f6be5c648019d2ab0da5f0584c': Fix several cases of broken droiddoc syntax external issue 35214
|
a45746efadd11bb7dfab026fb3c81a25fae74ca4 |
19-Jul-2012 |
Jeff Smith <whydoubt@yahoo.com> |
Fix several cases of broken droiddoc syntax external issue 35214 patch contributed by Jeff Smith <whydoubt@yahoo.com> Change-Id: I70dcee88a140699bf3e1ab369bed6dcd2fdd3d83
ackageManager.java
|
554259fe02afba852c9999e827b3c086e92637bd |
13-Jun-2012 |
Jeff Sharkey <jsharkey@android.com> |
am 9eabf916: am f6f7f1d2: Low disk space string change, surface state. * commit '9eabf916dc5d53bc6c765d39cca0847993e73dcf': Low disk space string change, surface state.
|
b8151ecd6ef4faa5c16d0a4c3abb45ec84d1f97a |
19-Apr-2012 |
Amith Yamasani <yamasani@google.com> |
Add an icon to the user information. Store the icon in the user folder under /data/system, similar to how the wallpaper is stored. Change-Id: Id8ccb55b9e2ba7b4c557505a7f69f04eca1518cf
PackageManager.aidl
ackageManager.java
serInfo.java
|
f6f7f1d2dc6e8fad5d6ff9a56af9929488873b4f |
13-Jun-2012 |
Jeff Sharkey <jsharkey@android.com> |
Low disk space string change, surface state. Surface current low disk state through IPackageManager for use in Settings app. Bug: 6576409 Change-Id: I9ae9ce99a2faa3015a237036c03567d1ae11628f
PackageManager.aidl
|
b1add0b8f251e237297ff7bad6a1107ef7d760f2 |
12-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
am 6892f1ec: am 0f6471ac: Merge "Fix issue #6641368: can\'t launch gallery" into jb-dev * commit '6892f1ec9670432f1cab71813592077bea991a8b': Fix issue #6641368: can't launch gallery
|
2bd8d0403be62df679f0f94ab4d84c9ae9a2e918 |
11-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #6641368: can't launch gallery This is a revert of 1db36528b12395b9ed9bf8a1005a6d4ace737627, but with comments added so I don't make this mistake again. :) Change-Id: I053216279e3721f08f32f561bb989736ef619f82
ackageParser.java
|
c7e2d4a57bca3c9b2fe005041314c9cbc6f843b2 |
08-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
am 33e39aef: am 0876ab0a: Merge "Fix issue #6295373: "Package com.google.android.apps.authenticator2 has..." into jb-dev * commit '33e39aefdf9266dc4858f7a6171f46f43ffa3ec3': Fix issue #6295373: "Package com.google.android.apps.authenticator2 has...
|
0876ab0ac17518c479e9dffe025884870a586d9c |
08-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #6295373: "Package com.google.android.apps.authenticator2 has..." into jb-dev
|
b313a9990f378a7dd136de2718ae25e442b85ecb |
08-Jun-2012 |
Kenny Root <kroot@google.com> |
am f5490997: am af95137a: Merge "Whoops, this version number wasn\'t updated when JB was introduced!" into jb-dev * commit 'f549099705d0e55410072db89926f1cb95a3e7b5': Whoops, this version number wasn't updated when JB was introduced!
|
1db36528b12395b9ed9bf8a1005a6d4ace737627 |
08-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
Whoops, this version number wasn't updated when JB was introduced! Change-Id: I9c9cd658cc1cba99b84059c8873c22b21b9f3c19
ackageParser.java
|
d0c5f515c05d05c9d24971695337daf9d6ce409c |
08-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #6295373: "Package com.google.android.apps.authenticator2 has... ...mismatched uid: X on disk, Y in settings" errors on Froyo and Gingerbread Deal more gracefully with the uid changing in three ways: 1. If the uid on disk has become root, then have installd change it to the application's uid. This is to correct a potential case where installd was interrupted while linking or unlinking the libs dir, during which it temporarily changes the owner of the dir to root so that a malicious app can not get in its way. So if the uid on disk has become root, we assume we can safely just change it back to the correct uid. 2. When scaning packages at boot, use the same "delete and rebuild data directory" code for third party applications as we have for system applications. This allows us to at least end up in a state where the app will run, even if its data is lost. 3. But we really don't want to get in to case 2, so if an application update is being installed and we find that the uid we now have for the app is different than the one on disk, fail the update. This will protect against for example a developer changing the sharedUserId of their app and getting into this bad state. Bug: 6295373 Change-Id: Ic802fdd818ac62449ff3c61d1fff1aa4d4942f39
ackageManager.java
|
cbc5e0aae45374ec92574b1cab9b31e494ce10e7 |
02-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
am 3522225d: am ea01e4a2: Merge "Survey says: NIET!" into jb-dev * commit '3522225dba19e77defaf56f0e70c0382c2cbb0a2': Survey says: NIET!
|
4034bc431df8903072bca513a81ecdcf858c718b |
01-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
Survey says: NIET! Bug: 6593206 Change-Id: I5390609a5615d6aff1793a9bc361012a0cea330b
ackageParser.java
ermissionGroupInfo.java
|
327bc6bb5037dbd0eb05bdb4b0897196bd154366 |
31-May-2012 |
Kenny Root <kroot@google.com> |
am 65519b8b: am 03e93e51: Merge "Move package-wide flags out of parseApplication" into jb-dev * commit '65519b8bb94321889eb3e34c76428f6dd9e0bd84': Move package-wide flags out of parseApplication
|
7cb9be26c1f16de738178e89e4cf9ec8a35e7d41 |
31-May-2012 |
Kenny Root <kroot@google.com> |
Move package-wide flags out of parseApplication Being on SD card and being forward-locked are package-wide flags that shouldn't depend on an APK having an <application> stanza. Bug: 6563724 Change-Id: If5f2159cd8e3fa136f959b656d82b05ea6bdfae5
ackageParser.java
|
bad4c4bf71c4d5c3077ff8f5020b09a736a86d9b |
21-May-2012 |
Dianne Hackborn <hackbod@google.com> |
am ccf4e2f7: am abe39277: Merge "Fix issue #6515427: Add android.hardware.television and fix..." into jb-dev * commit 'ccf4e2f71b65ace6d55c1e8513dd60b1123805da': Fix issue #6515427: Add android.hardware.television and fix...
|
0cf2c8a53350a800055e76c1c9bf0a6d44480768 |
18-May-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #6515427: Add android.hardware.television and fix... ...logic for notouch in Configuration Added new TELEVISION feature. We now force the configuration to "television" if the TELEVISION feature is set, and "notouch" if the TOUCHSCREEN feature is not set. Also cleaned up documentation, deprecated some configurations that are not used. Change-Id: If1c7a284b580a8a66bda2a75f0c7fa841b3dc9b7
ackageManager.java
|
d640d0641ac87035c608e85d3ab7e499a8b27d2f |
14-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
am f2fe4cb1: am cd586258: Merge "Enforce READ_EXTERNAL through Settings.Secure." into jb-dev * commit 'f2fe4cb11b2b93acf1a983e856efe26b6bb79683': Enforce READ_EXTERNAL through Settings.Secure.
|
cd5862586ab555b53ffd0a62488843838d1aa94d |
12-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Enforce READ_EXTERNAL through Settings.Secure." into jb-dev
|
f53857716a0db805c51c0cae93550d90e32e4749 |
11-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
Enforce READ_EXTERNAL through Settings.Secure. Always defers to user-defined setting, when present. Bug: 6389556 Change-Id: I079d2a41b772facfdac74eefc4c8072fc9284f97
ackageManager.java
|
e4fd3d50c7a39313120a005e659640bc10d94ef4 |
11-May-2012 |
Kenny Root <kroot@google.com> |
am 42a419b4: am 718af32a: Merge "Use long instead of int for file offsets" into jb-dev * commit '42a419b4c0e7d16145e336ceec709dcefbdcf894': Use long instead of int for file offsets
|
103d53005e7a3c2735f4ac76fa9b795a7e7e39d7 |
10-May-2012 |
Kenny Root <kroot@google.com> |
Use long instead of int for file offsets Use long instead of int so we don't run into a 2GB file limit. Fix possible overflows in offset and length. Change-Id: Idb3a34f5600f9c2372b9c89256f21757049fa43b
ontainerEncryptionParams.java
imitedLengthInputStream.java
|
c72b502d897fc1314ccbb8799f8ca66a3d131e17 |
09-May-2012 |
Kenny Root <kroot@google.com> |
am 83ea8609: am 29bb27ef: Merge "Add encryption parameters to package installation" into jb-dev * commit '83ea86091bf94571912694c7caf8be1c21727f91': Add encryption parameters to package installation
|
ceb1b0bfaea56251796b08c07b963de7403d84eb |
24-Apr-2012 |
Anonymous Coward <nobody@android.com> |
Add encryption parameters to package installation Change-Id: Ic9f8ab9f8110f08bb3c00725cfce5b8ee7b766f3
ontainerEncryptionParams.aidl
ontainerEncryptionParams.java
PackageManager.aidl
imitedLengthInputStream.java
acAuthenticatedInputStream.java
ackageManager.java
|
c77218e6b0f69d8480ec2bf9899806fc10b93936 |
07-May-2012 |
Dianne Hackborn <hackbod@google.com> |
am 25fc66b8: am 7bfa1457: Merge "Finish up issue #6249094: Display permissions based on relevance to private data" into jb-dev * commit '25fc66b898a35796af65ec7e3eb9b1584588e063': Finish up issue #6249094: Display permissions based on relevance to private data
|
99222d212f9ff5081d4ce6eef09dbe8eff85b83a |
07-May-2012 |
Dianne Hackborn <hackbod@google.com> |
Finish up issue #6249094: Display permissions based on relevance to private data Added bitmaps for permission group icons. We had to pick either icons for a dark or light background, and it had to be light for settings, so the installer theme has gone back to dark. Tweaked the permission groups to match the icons. Redid the group priorities to make them correct (they were written with higher priorities being less important). Fixed bug where priority was not being used for system apps. Change-Id: Ia3d3f0c1614a11b4cfd11682ce9e6c9f87d75c06
ackageParser.java
|
66388dcb09018933ccd1d38eae563f0890ba4f06 |
04-May-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Hide RTL related APIs - DO NOT MERGE - fix bug #6441155 API review: @hide RTL layout APIs Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
pplicationInfo.java
|
fd5015be41080970c9a992a8ef17a1deefb57478 |
01-May-2012 |
Dianne Hackborn <hackbod@google.com> |
Add new APIs for permission group flags and priorities. Change-Id: I2d476c6aa9dbd05407ec49be45986f42d2acf9e7
ackageParser.java
ermissionGroupInfo.java
|
d776f617f5ad8052245e173602a7b80703f5fb39 |
24-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Disable READ_EXTERNAL enforcement until API level cut. Bug: 6389556 Change-Id: I78238b9de24c1b8ebb4fdc35d8aafd2e85a4adfe
ackageManager.java
|
a4a54e2a5f383e766bfecaec776e0b00002badd1 |
17-Apr-2012 |
Amith Yamasani <yamasani@google.com> |
Make sure persistent processes are not replicated for secondary users. An intent is launched in a singleton process if the process is persistent and the resolved activity/service/etc is not requested to run in a different process. Change-Id: I1463e73a76bc8bde4185f9cf4395edb47515841d
ackageParser.java
|
5d32e772b3a19c1ac84e665f2885755427d590c8 |
13-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Enforce READ_EXTERNAL on non-user builds. Enable default enforcement of READ_EXTERNAL_STORAGE on non-user builds. Users can still explicitly enable enforcement in Settings. Bug: 6131916 Change-Id: I7dc66b624ad252ed2a2ad3647f3ea85dda7f8e82
PackageManager.aidl
ackageManager.java
|
1c27576aff247ff1d7789e0a571958726f161593 |
12-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Include enforcement state in dumpsys. Bug: 6323087 Change-Id: I6d779798538c114ea9816d3bdbbff5552c285df6
ackageManager.java
|
79af6063d536eb7edbc73be0fa2b8eb734758db7 |
10-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "Hide the optional permission stuff, not making it in to JB."
|
e824120016248bcfe3962883fe9f3b0481dd1c3d |
06-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
Hide the optional permission stuff, not making it in to JB. Also lock down the rest of the development tools permissions to be development permissions that must be granted through an explicit shell command. Change-Id: I1ba216fffe1aab4bb9f83fcef108efc504f892f4
ackageInfo.java
ackageParser.java
|
5e4705a82786103982b2c9980b0dcd0bb54208d3 |
06-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix dumb bug. Change-Id: I5e0dfc0f03677888c22d938013299a8ec4597c69
ackageParser.java
|
31b0e0e86ad061cd8005e80817bcad017e2d56dd |
06-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
Implement call log permission compatibility. If a pre-JellyBean application requests read/write contacts, it will implicitly be given read/write call log. Change-Id: I029db4b09fda737bb8fba4e1611355ebdbbfd34f
ackageParser.java
|
dd8fab2629131b09367df747afd9a61e42dd1992 |
23-Mar-2012 |
Adam Powell <adamp@google.com> |
TaskStackBuilder and Activity navigation features for framework Promote navigation helpers from the support library to the core platform. The support library's meta-data element has been replaced with a first-class parentActivityName attribute. This attribute is valid on both activity and activity-alias elements. An activity-alias will inherit the target activity's parentActivityName if one is not explicitly specified. Automatic Up navigation for Activities Add the public method onNavigateUp() to Activity. The default implementation will use the metadata supplied in the manifest about an activity's hierarchical parent (parentActivityName) to do the right thing. If any activities in the parent chain require special Intent arguments, the Activity subclass should override onNavigateUp() to properly implement Up navigation for the app, supplying such arguments as needed. If automatic Up navigation within the same task can't find an activity matching the supplied intent in the current task stack, it will act as an in-app "home" and return to the root activity (presumably the app's front page) in that task. (From this state, pressing "back" with default behavior will return to the launcher.) Change-Id: If163e27e59587f7af36975a09c986cb117ec3bc6
ctivityInfo.java
ackageParser.java
|
59dfce8bdaf011337530a0dbec7f7280871f9bc9 |
03-Apr-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #6140391 Make RTL awareness as an opt-in into the AndroidManifest - introduce "supportsRtl" as a new application attribute in the AndroidManifest - "supportsRtl" default value is FALSE (no RTL support) - adapt the View layoutDirection and textDirection logic to take care of "supportsRtl" value Change-Id: I5e4f9f576e14f35dedc6b0c29a7142c397f598e0
pplicationInfo.java
ackageParser.java
|
135936072b24b090fb63940aea41b408d855a4f3 |
23-Mar-2012 |
Amith Yamasani <yamasani@google.com> |
User management and switching Broadcast intents that get sent out when users are added/removed/switched. More work on generating user-specific information in package manager queries. APIs to update user name and query a user by id. Removed Package.mSetStopped and mSetEnabled, since they're not user specific. User removal: - Cleanup ActivityManager, PackageManager, WallpaperManager, AppWidgetService and AccountManager. - Shutdown processes belonging to the user. Don't show vibrate option in long-press power if there's no vibrator. Lock the screen when switching users, to force unlocking. Change-Id: Ib23a721cb75285eef5fd6ba8c7272462764038fa
PackageManager.aidl
ackageManager.java
ackageParser.java
|
483f3b06ea84440a082e21b68ec2c2e54046f5a6 |
14-Mar-2012 |
Amith Yamasani <yamasani@google.com> |
Package restrictions per user Packages can be enabled/disabled per user. This requires maintaining stopped/launched states and enabled / disabled components and packages per user. Refactored pm.Settings and PackageSettingsBase to keep track of states per user. Migrated the stopped-packages.xml to users/<u>/package-restrictions.xml Changed intent resolution to handle individual user restrictions. Bunch of IPackageManager calls now have a userId argument. Make AppWidgetService handle removals of packages. Added some tests for pm.Settings and PackageManager. Change-Id: Ia83b529e1df88dbcb3bd55ebfc952a6e9b20e861
PackageManager.aidl
ackageParser.java
|
edc84ee8392afa0102f098168329db5bb43a6d4b |
20-Mar-2012 |
Jeff Sharkey <jsharkey@android.com> |
Selective enforcement of READ_EXTERNAL_STORAGE. Store enforcement state of specific permissions, allowing them to be selectively enforced. Currently supports READ_EXTERNAL_STORAGE, which by default isn't enforced, but enforcement can be enabled at runtime. Bug: 6131916 Change-Id: I4bcc215a2eb5e6507d6257b577311cbd13c77acf
PackageManager.aidl
ackageManager.java
|
7924512aa12c6af37d90e8ccfcdf04eb78a294a3 |
12-Mar-2012 |
Dianne Hackborn <hackbod@google.com> |
Add new READ_EXTERNAL_STORAGE permission. Also adds some initial compatibility code for dealing with it. Change-Id: I104bff11798349e4aaa6da9b7be787b257daa1bb
ackageParser.java
|
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 |
09-Mar-2012 |
Ken Wakasa <kwakasa@google.com> |
Fix obvious typos under frameworks/base/core Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
ackageManager.java
|
6569625beef705ec489662b80d372c4423f9c7f7 |
06-Mar-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issues #6103378 and #5959515. Change-Id: I762d86dd7119c9ac02f4b8803c4a250c6b7637c7 6103378: APR: IOOBE at android.content.pm.PackageParser.generatePackageInfo( PackageParser.java:355) 5959515: PackageManager doesn't validate className in setComponentEnabledSetting
ackageParser.java
|
e639da7baa23121e35aa06d6e182558e0e755696 |
22-Feb-2012 |
Dianne Hackborn <hackbod@google.com> |
New development permissions. These are permissions that an application can request, but won't normally be granted. To have the permission granted, the user must explicitly do so through a new "adb shell pm grant" command. I put these permissions in the "development tools" permission group. Looking at the stuff there, I think all of the permissions we already had in that group should be turned to development permissions; I don't think any of them are protecting public APIs, and they are really not things normal applications should use. The support this, the protectionLevel of a permission has been modified to consist of a base protection type with additional flags. The signatureOrSystem permission has thus been converted to a signature base type with a new "system" flag; you can use "system" and/or "dangerous" flags with signature permissions as desired. The permissions UI has been updated to understand these new types of permissions and know when to display them. Along with doing that, it also now shows you which permissions are new when updating an existing application. This also starts laying the ground-work for "optional" permissions (which development permissions are a certain specialized form of). Completing that work requires some more features in the package manager to understand generic optional permissions (having a facility to not apply them when installing), along with the appropriate UI for the app and user to manage those permissions. Change-Id: I6571785c6bb5f6b291862b7a9be584885f88f3a5
PackageManager.aidl
ackageInfo.java
ackageManager.java
ackageParser.java
ermissionInfo.java
|
37ce3a8af6faab675319d0803b288ab1dddc76be |
06-Feb-2012 |
Amith Yamasani <yamasani@google.com> |
Multi-user - wallpaper service - Allow each user to have their own wallpaper (live or static). - Migrate old wallpaper on upgrade. - Update SystemBackupAgent to backup/restore from primary user's new wallpaper directory. Reduce dependency on Binder.getOrigCallingUser() by passing the userId for bindService. Change-Id: I19c8c3296d3d2efa7f28f951d4b84407489e2166
ackageParser.java
|
a0c283eac33dd2da72235751bbfa4f2d9898d5ea |
09-Feb-2012 |
Dianne Hackborn <hackbod@google.com> |
Add new feature for running services in "isolated" sandbox processes. This reserves a range of uids (for each user) in which these processes run. These uids are not associated with an application, so they effectively run with no permissions. When a Service requests to run in such a process through android:isolatedProcess="true", each time it is brought up a new isolated process is started with its own unique uid. What we have so far gives us the basic infrastructure; more work remains to further lock down what these uids have access to. Change-Id: Ibfd27c75619cba61f528f46ede9113f98dc5f45b
ackageParser.java
erviceInfo.java
|
742a67127366c376fdf188ff99ba30b27d3bf90c |
04-May-2011 |
Amith Yamasani <yamasani@google.com> |
Multi-user - 1st major checkin Switching activity stacks Cache ContentProvider per user Long-press power to switch users (on phone) Added ServiceMap for separating services by user Launch PendingIntents on the correct user's uid Fix task switching from Recents list AppWidgetService is mostly working. Commands added to pm and am to allow creating and switching profiles. Change-Id: I15810e8cfbe50a04bd3323a7ef5a8ff4230870ed
PackageManager.aidl
ackageManager.java
ackageParser.java
|
88b15749d223960b5d97ac998e33b1af4034ca85 |
03-Nov-2011 |
Kenny Root <kroot@google.com> |
am e24ac4b2: Merge "Update GET_UNINSTALLED_PACKAGES flag documentation" into ics-mr1 * commit 'e24ac4b219a582f1a99465551b1fd76345553b22': Update GET_UNINSTALLED_PACKAGES flag documentation
|
685f490eff35e33e435e455e9b784c9d70083e49 |
03-Nov-2011 |
Kenny Root <kroot@google.com> |
Update GET_UNINSTALLED_PACKAGES flag documentation Change-Id: I483b84f07836e6ad96c75e7dd3a86633cb29db22
ackageManager.java
|
ca756bfd97d668c8e865c6247ef923b0aad9b065 |
26-Oct-2011 |
Jeff Hamilton <jham@android.com> |
Clarify the docs around the activityInfo field. Change-Id: Id9a5ac610d564165073cb60e5b631b1cba3e8187
esolveInfo.java
|
0836c7cb98dd3ff1ef0379dcb97be8b315fed7eb |
21-Oct-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #5228934: IME shows up on boot, or when digits screen is tapped Activity aliases weren't propagating the softInputMode from the original activity. Change-Id: I47534e6c9a0f94bb6eb3fd2186ba9ffc8d583d08
ackageParser.java
|
6ccd41265db1a6bfb3c54d64aba2df67d373af4f |
13-Oct-2011 |
Kenny Root <kroot@google.com> |
Add support for signature in getPackageArchiveInfo GET_SIGNATURES was indicated as supported, but it never actually did anything. This is needed for the package verifier development sample. Change-Id: I09ca6790cd8bf9435aa208c0711359b4d76fb278
ackageManager.java
|
58f42a59bda3bc912d0d2f81dc65a9d31d140eaa |
10-Oct-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #5405788: Device continuously opening and closing... ...the "Complete action using" dialog When an application goes idle, it sends back to the activity manager the configuration it last used, to make sure the two don't get out of sync. Fix a bunch of edge cases here in dealing with that, and be sure to also send the current configuration when launching an activity so the client is always up-to-date when launching. Also a small fix to not show the upgrading dialog during first boot. Change-Id: I14ed366a87cd689d1c78787369e052422290ac6f
PackageManager.aidl
|
d0e8fb431ac9c1fcc2f5b0eba884d29fc57a4cf1 |
28-Sep-2011 |
Mathew Inwood <mathewi@google.com> |
Merge "Document thrown IllegalArgumentException."
|
1b9f8d92a934188eb200647025bffaf90469ee55 |
26-Sep-2011 |
Mathew Inwood <mathewi@google.com> |
Document thrown IllegalArgumentException. Change-Id: I502f91e3c1130c14ad8f67934bf52a7206de302f
ackageManager.java
|
05ca4c90644921df9193d92b2abdc81ef77e4a62 |
15-Sep-2011 |
Kenny Root <kroot@google.com> |
Allow non-required package verifiers * Verifiers can be specified in the AndroidManifest.xml * Those verifiers can respond to the new Intent action * PackageManager API for those verifiers: verifyPendingInstall Change-Id: I4892bce2e6984871e6e93c60a1ca0dae145f5df5
ackageInfoLite.java
ackageManager.java
ackageParser.java
ignature.java
erifierInfo.aidl
erifierInfo.java
|
e797ed6a74593630219faf7f0ba5dc8235586bce |
23-Sep-2011 |
Scott Main <smain@google.com> |
docs: a few additions and revisions to action bar docs Change-Id: I12c24e5d4ed49d8f9822050d330f617bd614b7b9
ctivityInfo.java
|
3a9b5fbb97e65019abec97f172b4cbf2100d1225 |
20-Sep-2011 |
Kenny Root <kroot@google.com> |
Unhide new PackageManager APIs for API 14 Change-Id: I83110285ccee39a4cd872a1c2af8357f541833d4
PackageManager.aidl
ackageManager.java
|
c11bc8d22405458cd942e38e71ce1a837ed38c9e |
14-Sep-2011 |
Kenny Root <kroot@google.com> |
Be more forgiving in parsing verifier IDs RFC 4648's Base32 is made to be forgiving for users doing manual entry of the digits. For this reason we want to be able to parse lowercase letters as uppercase and number 0 (zero) as letter O along with number 1 (one) as letter I. Cherry-pick into ics-factoryrom Change-Id: I149d8e947ff8b36305c1e61d8a1d80ff0b317cda
erifierDeviceIdentity.java
|
0aaa0d931716e9f57a1d84d795fab2df75092756 |
13-Sep-2011 |
Kenny Root <kroot@google.com> |
Add verifier device identity This adds a special device identifier that is usable only for device validation. The user will be presented with this number encoded in easily-transcribable Base32 in the Developer options of Settings. Change-Id: I4843f55ee90d689a51d0269b22454ca04c1be7ec
ctivityInfo.aidl
pplicationInfo.aidl
onfigurationInfo.java
eatureInfo.aidl
PackageDataObserver.aidl
PackageManager.aidl
PackageStatsObserver.aidl
nstrumentationInfo.aidl
anifestDigest.aidl
ackageInfo.aidl
ackageInfoLite.aidl
ackageManager.java
ackageStats.aidl
ackageStats.java
arceledListSlice.aidl
ermissionGroupInfo.aidl
ermissionInfo.aidl
roviderInfo.aidl
esolveInfo.aidl
erviceInfo.aidl
ignature.aidl
erifierDeviceIdentity.aidl
erifierDeviceIdentity.java
|
d2509fd83597595914ef0627685e917380863eb6 |
12-Sep-2011 |
Dianne Hackborn <hackbod@google.com> |
Add boot mode where only "core apps" are started. A core app is one that has coreApp="true" in its manifest tag. The system can successfully boot (though a little painfully) with only framework-res.apk, SettingsProvider.apk, SystemUI.apk, DefaultContainerService.apk, and Launcher2.apk set as core apps. Currently this boot mode is always turned off. Change-Id: Ieaa4a8031c2c391a12996aa8d8b1d65fc2b09d6b
ackageParser.java
|
45b8b464992bbfa9bd2a587f05c1e1723aedcecd |
07-Sep-2011 |
Irfan Sheriff <isheriff@google.com> |
Add feature definition for Wi-Fi Direct Bug: 5267396 Change-Id: I4f61b0afd1466420ab951f6d74ec444036772b21
ackageManager.java
|
661cd52e0e1d527132eb1cae604d3e64da7ec0cb |
22-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Add progress dialog for booting after an upgrade. This introduces a new facility for code during the boot process to display messages to the user through a progress dialog. This is only for use when performing longer-than-usual post-upgrade operations such as running dexopt on applications or upgrading databases. Change-Id: I0e78439ccec3850fb67872c22f235bf12a158dae
PackageManager.aidl
|
d99b293d5f11b784d7406f5398bc654920b42482 |
18-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #5180553: permission RECEIVE_BOOT_COMPLETED is not checked Change-Id: I069673f2fbdf05e409c5e9ed99ccd1e15b4fe3ed
esolveInfo.java
|
46d2545db48e6b8565ef7beedf6486ef5d7f4507 |
16-Aug-2011 |
Kenny Root <kroot@google.com> |
Merge "Infrastructure to support package verifier"
|
bcc2d40a11432736e94c1dd3c64abd1aac476c20 |
16-Aug-2011 |
Kenny Root <kroot@google.com> |
Merge "Throw exception on odd length Signatures"
|
5ab2157bf1f105b02d3e2913cd3a33f9765b74ca |
27-Jul-2011 |
Kenny Root <kroot@google.com> |
Infrastructure to support package verifier Allow a package verifier to approve or disapprove of a package being installed. Change-Id: Ibfea0f2b1aaa4ab1589a4e59f96144702b9bf94b
PackageManager.aidl
ackageManager.java
|
bcc954d772e8cd5ef640060cbc0be50e7e4778f2 |
09-Aug-2011 |
Kenny Root <kroot@google.com> |
Manifest digest stored during package scanning This allows things that scanned an APK to pass a hash of the manifest to others that would then be able to compare it. Change-Id: I465f5edf3acab2a952c3d321c8df2247ffe012ea
anifestDigest.aidl
anifestDigest.java
ackageParser.java
|
d2d2925ff7ae9456c1c6c9147b1b9fd9a99ea607 |
08-Aug-2011 |
Kenny Root <kroot@google.com> |
Eliminate warnings from PackageParser Change-Id: I1e07029261df59907115fd1f54da3e9b3fbfa240
ackageParser.java
|
1137341885d8dc451dddc2e01319fb0fab00bbc3 |
29-Jul-2011 |
Kenny Root <kroot@google.com> |
Throw exception on odd length Signatures The old version of this code would silently truncate odd-length Signatures. However, this masks some bugs. Add a throw of IllegalArgumentException so users can easily see where they're getting bad input for Signatures. Also, go through the existing code and catch this exception or pre-check the input strings so system_server doesn't crash later. Bug: 5092338 Change-Id: I8c672c5eaeb738a92c4581ce0df09baf719980ef
ignature.java
|
1ebd74acf9977daa42133507e970dab88e08f0ef |
04-Aug-2011 |
Kenny Root <kroot@google.com> |
Better error codes for missing files Make sure that files that don't exist aren't returning bogus 'out of space' error codes. Add some Javadoc so I can remember what each thing does in an IDE. Add copyright header to NativeLibraryHelper Bug: 3375299 Change-Id: Iac46019160921daca65b21d38897e5165063316e
ackageParser.java
|
269248d112e35fe8e9f0d5d11c96dcb2ac1118b0 |
02-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5098288 - Rethink the suite of new themes Cut down the list of new themes for ICS. Holo apps now have Theme.Holo, Theme.Holo.Light, and Theme.Holo.Light.DarkActionBar to choose from. Add manifest attribute android:uiOptions to express splitActionBarWhenNarrow. Other options may move into this later as well. (DialogWhenLarge?) This attribute is valid on both activity and application tags; application settings will serve as the default for activities that do not explicitly set uiOptions. uiOptions are not currently reflected in the startup window for new activities. Change-Id: Iffdc2ce4cc69f79c9bd4e541b7923286e6936c1e
ctivityInfo.java
pplicationInfo.java
ackageParser.java
|
d21d444426911d93c507a929a8223ebf63258954 |
23-Jul-2011 |
Kenny Root <kroot@google.com> |
Stop using charAt for Signatures Simply getting the byte array and operating on that instead of using String.charAt() repeatedly speeds up Signature initializer calls during bootup from 150ms to 9ms (1700% faster). Change-Id: I85ef17ef63477927e0181d5f49a1d521b7b0d98b
ignature.java
|
79ec80db70d788f35aa13346e4684ecbd401bd84 |
24-Jun-2011 |
Christopher Tate <ctate@google.com> |
Make full backup API available to apps New methods for full backup/restore have been added to BackupAgent (still hidden): onFullBackup() and onRestoreFile(). The former is the entry point for a full app backup to adb/socket/etc: the app then writes all of its files, entire, to the output. During restore, the latter new callback is invoked, once for each file being restored. The full backup/restore interface does not use the previously-defined BackupDataInput / BackupDataOutput classes, because those classes provide an API designed for incremental key/value data structuring. Instead, a new FullBackupDataOutput class has been introduced, through which we restrict apps' abilities to write data during a full backup operation to *only* writing entire on-disk files via a new BackupAgent method called fullBackupFile(). "FullBackupAgent" exists now solely as a concrete shell class that can be instantiated in the case of apps that do not have their own BackupAgent implementations. Along with the API change, responsibility for backing up the .apk file and OBB container has been moved into the framework rather than have the application side of the transaction do it. Change-Id: I12849b06b1a6e4c44d080587c1e9828a52b70dae
pplicationInfo.java
ackageParser.java
|
292f8bc9d1b790ab975a87a842c7fabc908b97e0 |
28-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Plumb information from the framework about asec container size. Change-Id: Ie0ec3cb6d463aefa341a8cbea80be790451ba5e3
ackageStats.java
|
2d6833bab353e31ceb4230f3f3563fca2e0d9f6f |
25-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Turn on HW accel by default for apps that target ICS. Change-Id: I010e11e03b2dfd0d1db8c47f74c25a28586fd79c
ackageParser.java
|
0ac3031c159a0904e73eb4439cdc724d8df4a6e6 |
17-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Implement remaining infrastructure for user disabling apps. Change-Id: If8135eb0e27ec36f8f159eb7b6397add7acd0299
pplicationInfo.java
ackageManager.java
ackageParser.java
|
711516d140390aeec9e3eefb8fdb2681c3454980 |
14-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 77fc8b80 to master Change-Id: I014f9a886d6f05607d2a5d101ad2052a6841ee8d
|
e289bff0ec2b1af4ba773e0c8d49d5fd46eb9921 |
14-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Add new landscape and portrait orientation features. Updates aapt to know about these. Also updates aapt badging to: - No longer crash due to the change to how we match unspecified configuration resources. - Report the new "smallest screen" supported screen configs. - Infer old screen size buckets based on new smallest width attrs. - Report all of the different labels and icons in an app. Change-Id: I7376042b817391bd070f549cebbc7f03be4635c8
ackageManager.java
|
e6b03d0979e0bd6dfeda7b45850182c3092bb3e7 |
10-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 9dfd7d0a to master Change-Id: I9fbee3209b7fe5c7b5b42b62309eb60dc49bf9e2
|
e22fe9331ad8a9f81470751fdeca7633f654cffa |
09-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #4582417: Need to add new PackageManager... ...FEATURE_ constant for FAKE_MULTITOUCH in MR2 Change-Id: Ib6950d9dbdd58618aec593de7e0cf1c01b7d6ef9
ackageManager.java
|
b0628bfd5aac480a0d412ac96b8af1d97ac01c30 |
03-Jun-2011 |
Christopher Tate <ctate@google.com> |
Implement shared-storage full backup/restore Every available shared-storage volume is backed up, tagged with its ordinal in the set of mounted shared volumes. This is an approximation of "internal + the external card". This lets us restore things to the same volume [or "equivalent" volume, in the case of a cross-model restore] as they originated on. Also fixed a bug in the handling of files/dirs with spaces in their names. Change-Id: I380019da8d0bb5b3699bd7c11eeff621a88e78c3
ackageParser.java
|
ead40eaedb7993ca8c5153c349dd65f276d6862e |
04-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of cc20b4e3 to master Change-Id: I990368443a16a0577f7a1f5623b348cca3f81ac4
|
2515db74fe2e75018f618591fabe23fda8362bf3 |
03-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
am 3a80c504: am 8b9a2b6c: am e6676351: Work around OpenFeint bug. * commit '3a80c50485809fe72d6de83dacad494c5e84ed24': Work around OpenFeint bug.
|
546d64f56d0f930070289e26021f97638601e388 |
02-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 5c2e4d20 to master Change-Id: Iadbee872468ceafb54c5877046c91f6052f3c953
|
2762ff3dc864018352362f6d103de471f9529ba6 |
02-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Add new supports-screen API to set maximum allowed size. Change-Id: I0a7cd4ba73a4c18558e6daee28963d5fd12c7978
pplicationInfo.java
ackageParser.java
|
e66763516a9c27c192adaba417616371a1c3c9bf |
02-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Work around OpenFeint bug. Change-Id: Ib8320e50bb63fc56dc0118d5c8e9e328dbd3fcb1
ctivityInfo.java
ackageParser.java
|
94250ac69c6e07534e4781d3479dccb79d8c366c |
27-May-2011 |
Dianne Hackborn <hackbod@google.com> |
Merge "Add new supports-screens attributes for declaring the compatible screens." into honeycomb-mr2
|
df6e980e3f63eb0f6f9eb437fa925d5009cd9c44 |
26-May-2011 |
Dianne Hackborn <hackbod@google.com> |
Add new supports-screens attributes for declaring the compatible screens. Change-Id: I40d57e4354e48accc1027c9f90916ea73eb5190d android:requiresSmallestWidthDp provides the smallest supported width. android:compatibleWidthLimitDp provides the largest compatible width.
pplicationInfo.java
ackageParser.java
|
1bb6cf18c0039cb9d2a60713ea34d3709af58c5c |
16-Apr-2011 |
Kenny Root <kroot@google.com> |
Break apart queries to getInstalled* API DO NOT MERGE To avoid blowing past the Binder IPC limit, change the PackageManagerService to have a DB-like interaction where the client tells the service the last "row" that it read. The fact that we use a HashMap instead of a TreeMap makes this problematic. For now we're just making a new ArrayList for the keys and then sorting them for each call. This can make the API slower for callers of this, but it's probably greatly overshadowed by the cost of the data transfer itself. Bug: 4064282 Change-Id: Ia3a8cdaa94581ed9336f2e05694b8c8a5f757bce
PackageManager.aidl
arceledListSlice.aidl
arceledListSlice.java
|
161e67ff3ba26408eea09221734ad2e29a1eed11 |
20-May-2011 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 06a8ceac to master Change-Id: Id51574c825affddfac14ad7214c5496d6a3d6e69
|
06a8ceacb0dc2713cb0bb2c93d2a750f2a58db68 |
20-May-2011 |
Dianne Hackborn <hackbod@google.com> |
am c851ea56: am 69cb8757: Add new "-swNNNdp" resource qualifier. * commit 'c851ea5672f6e042c2e89b2a2ce4a2467e1fcd2a': Add new "-swNNNdp" resource qualifier.
|
69cb87576ba163b61bb0e6477a3b7c57a9b11d40 |
20-May-2011 |
Dianne Hackborn <hackbod@google.com> |
Add new "-swNNNdp" resource qualifier. Change-Id: I0101e88ca9d8d44138bdcaf571f24b0352f4f6ce
ctivityInfo.java
ackageParser.java
|
a51b6fd6f8a53f040894ef07cf23695581595e6b |
20-May-2011 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of b2d0ee16 to master Change-Id: I4483a6d0ccecfea4a1e66bb6eba80d13e8b9a3a4
|
e6cd0c747e76723bc51a23925c239ae10f9d3b5c |
19-May-2011 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 2433c443 to honeycomb-plus-aosp Change-Id: I3385f57e5761679e6700bcbe3c41deb3ecd43ba1
|
0305e354e12c9ff25bfd252cb282346632171b73 |
13-May-2011 |
Dianne Hackborn <hackbod@google.com> |
This API change is now part of MR2. Change-Id: I242e66fb9c46d48244942298361f408062fb05c4
ackageParser.java
|
ebff8f92f13513ce37bd74759eb1db63f2220590 |
13-May-2011 |
Dianne Hackborn <hackbod@google.com> |
DO NOT MERGE. Integrate add new screen width/height in "dp" configs. You can now specify resource configuration variants "wNNNdp" and "hNNNdp". These are the minimum screen width/height in "dp" units. This allows you to do things like have your app adjust its layout based only on the about of horizontal space available. This introduces a new configuration change flag for screen size. Note that this configuration change happens each time the orientation changes. Applications often say they handle the orientation change to avoid being restarted at a screen rotation, and this will now cause them to be restarted. To address this, we assume the app can handle this new config change if its target SDK version is < ICS. Change-Id: I4acb73d82677b74092c1da9e4046a4951921f9f4
ctivityInfo.java
ackageParser.java
|
4a627c71ff53a4fca1f961f4b1dcc0461df18a06 |
01-Apr-2011 |
Christopher Tate <ctate@google.com> |
Full local backup infrastructure This is the basic infrastructure for pulling a full(*) backup of the device's data over an adb(**) connection to the local device. The basic process consists of these interacting pieces: 1. The framework's BackupManagerService, which coordinates the collection of app data and routing to the destination. 2. A new framework-provided BackupAgent implementation called FullBackupAgent, which is instantiated in the target applications' processes in turn, and knows how to emit a datastream that contains all of the app's saved data files. 3. A new shell-level program called "bu" that is used to bridge from adb to the framework's Backup Manager. 4. adb itself, which now knows how to use 'bu' to kick off a backup operation and pull the resulting data stream to the desktop host. 5. A system-provided application that verifies with the user that an attempted backup/restore operation is in fact expected and to be allowed. The full agent implementation is not used during normal operation of the delta-based app-customized remote backup process. Instead it's used during user-confirmed *full* backup of applications and all their data to a local destination, e.g. via the adb connection. The output format is 'tar'. This makes it very easy for the end user to examine the resulting dataset, e.g. for purpose of extracting files for debug purposes; as well as making it easy to contemplate adding things like a direct gzip stage to the data pipeline during backup/restore. It also makes it convenient to construct and maintain synthetic backup datasets for testing purposes. Within the tar format, certain artificial conventions are used. All files are stored within top-level directories according to their semantic origin: apps/pkgname/a/ : Application .apk file itself apps/pkgname/obb/: The application's associated .obb containers apps/pkgname/f/ : The subtree rooted at the getFilesDir() location apps/pkgname/db/ : The subtree rooted at the getDatabasePath() parent apps/pkgname/sp/ : The subtree rooted at the getSharedPrefsFile() parent apps/pkgname/r/ : Files stored relative to the root of the app's file tree apps/pkgname/c/ : Reserved for the app's getCacheDir() tree; not stored. For each package, the first entry in the tar stream is a file called "_manifest", nominally rooted at apps/pkgname. This file contains some metadata about the package whose data is stored in the archive. The contents of shared storage can optionally be included in the tar stream. It is placed in the synthetic location: shared/... uid/gid are ignored; app uids are assigned at install time, and the app's data is handled from within its own execution environment, so will automatically have the app's correct uid. Forward-locked .apk files are never backed up. System-partition .apk files are not backed up unless they have been overridden by a post-factory upgrade, in which case the current .apk *is* backed up -- i.e. the .apk that matches the on-disk data. The manifest preceding each application's portion of the tar stream provides version numbers and signature blocks for version checking, as well as an indication of whether the restore logic should expect to install the .apk before extracting the data. System packages can designate their own full backup agents. This is to manage things like the settings provider which (a) cannot be shut down on the fly in order to do a clean snapshot of their file trees, and (b) manage data that is not only irrelevant but actively hostile to non-identical devices -- CDMA telephony settings would seriously mess up a GSM device if emplaced there blind, for example. When a full backup or restore is initiated from adb, the system will present a confirmation UI that the user must explicitly respond to within a short [~ 30 seconds] timeout. This is to avoid the possibility of malicious desktop-side software secretly grabbing a copy of all the user's data for nefarious purposes. (*) The backup is not strictly a full mirror. In particular, the settings database is not cloned; it is handled the same way that it is in cloud backup/restore. This is because some settings are actively destructive if cloned onto a different (or especially a different-model) device: telephony settings and AndroidID are good examples of this. (**) On the framework side it doesn't care that it's adb; it just sends the tar stream to a file descriptor. This can easily be retargeted around whatever transport we might decide to use in the future. KNOWN ISSUES: * the security UI is desperately ugly; no proper designs have yet been done for it * restore is not yet implemented * shared storage backup is not yet implemented * symlinks aren't yet handled, though some infrastructure for dealing with them has been put in place. Change-Id: Ia8347611e23b398af36ea22c36dff0a276b1ce91
pplicationInfo.java
ackageParser.java
|
25641ca1ac5b09727f86fe01389877332a00455d |
19-Apr-2011 |
Amith Yamasani <yamasani@google.com> |
Merge "Plumbing in PackageManager and installd for multi-user support."
|
0e2c0f37d98bb5539b0fe41865aaf1add0ff1bb3 |
16-Apr-2011 |
Kenny Root <kroot@google.com> |
Break apart queries to getInstalled* API To avoid blowing past the Binder IPC limit, change the PackageManagerService to have a DB-like interaction where the client tells the service the last "row" that it read. The fact that we use a HashMap instead of a TreeMap makes this problematic. For now we're just making a new ArrayList for the keys and then sorting them for each call. This can make the API slower for callers of this, but it's probably greatly overshadowed by the cost of the data transfer itself. Bug: 4064282 Change-Id: Ic370fd148d4c3813ae4f2daffa1a7c28d63d5a09
PackageManager.aidl
arceledListSlice.aidl
arceledListSlice.java
|
0b285499db739ba50f2f839d633e763c70e67f96 |
15-Apr-2011 |
Amith Yamasani <yamasani@google.com> |
Plumbing in PackageManager and installd for multi-user support. - Create /data/user directory and symlink /data/user/0 -> /data/data for backward compatibility - Create data directories for all packages for new user - Remove data directories when removing a user - Create data directories for all users when a package is created - Clear / Remove data for multiple users - Fixed a bug in verifying the location of a system app - pm commands for createUser and removeUser (will be disabled later) - symlink duplicate lib directories to the original lib directory Change-Id: Id9fdfcf0e62406a8896aa811314dfc08d5f6ed95
PackageManager.aidl
ackageManager.java
ackageParser.java
serInfo.aidl
serInfo.java
|
0c5001d776d56bae02a5cc2663286a125d99bc5e |
13-Apr-2011 |
Dianne Hackborn <hackbod@google.com> |
Add APIs to remove tasks. You can remove sub-tasks inside of a task, or an entire task. When removing an entire task, you can have its process killed as well. When the process is killed, any running services will get an onTaskRemoved() callback for them to do cleanup before their process is killed (and the service possibly restarted). Or they can set a new android:stopWithTask attribute to just have the service automatically (cleanly) stopped at this point. Change-Id: I1891bc2da006fa53b99c52f9040f1145650e6808
ackageParser.java
erviceInfo.java
|
beb182a4945b9b762fac77edd1183897bcac5b32 |
11-Apr-2011 |
Amith Yamasani <yamasani@google.com> |
Merge "Package manager changes to store and update user information."
|
4b2e934928a2eb65927bd39197198c28c49efb94 |
31-Mar-2011 |
Amith Yamasani <yamasani@google.com> |
Package manager changes to store and update user information. Some API stubs for managing users and storing their details. List of users is stored in an xml file. Each user's properties are stored in a separate xml file. Some unit tests for modifying the XML files. Change-Id: If2ce2420723111bd426f6762def3c2afc19a0ae5
ackageManager.java
serInfo.java
|
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 |
07-Apr-2011 |
Joe Onorato <joeo@google.com> |
Remove the deprecated things from Config.java. These haven't been working since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
ackageParser.java
|
3fc982f41fda1f254bfbc35490d81cd82a0ed90a |
31-Mar-2011 |
Dianne Hackborn <hackbod@google.com> |
Add new resource configurations for screen width/height in "dp". You can now specify resource configuration variants "wNNNdp" and "hNNNdp". These are the minimum screen width/height in "dp" units. This allows you to do things like have your app adjust its layout based only on the about of horizontal space available. This introduces a new configuration change flag for screen size. Note that this configuration change happens each time the orientation changes. Applications often say they handle the orientation change to avoid being restarted at a screen rotation, and this will now cause them to be restarted. To address this, we assume the app can handle this new config change if its target SDK version is < ICS. Change-Id: I22f8afa136b4f274423978c570fa7c9855040496
ctivityInfo.java
ackageParser.java
|
18cd686fc828c9c75596de1494ecaa5467fcc195 |
23-Mar-2011 |
Scott Main <smain@google.com> |
am ef6b305b: docs: fix markup error * commit 'ef6b305b93009b60ad7c6ddbd200d1b5c554963f': docs: fix markup error
|
ef6b305b93009b60ad7c6ddbd200d1b5c554963f |
23-Mar-2011 |
Scott Main <smain@google.com> |
docs: fix markup error Change-Id: I59e379a7a36c4184862095442c53a6b9496d856e
ackageManager.java
|
3dee21eb0f253a7e78572872b8dfc7b5d990a063 |
02-Mar-2011 |
Kenny Root <kroot@google.com> |
Merge "Switch to returnCode for IPackageDeleteObserver"
|
40bbf9295d5245d3917629ce15f7b37670aef1ac |
01-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
DO NOT MERGE: Backport USB accessory support to gingerbread Signed-off-by: Mike Lockwood <lockwood@android.com>
ackageManager.java
|
c39bb4aaa7be1b9b0cc9fb0b1f03d54f7609ffeb |
28-Feb-2011 |
Kenny Root <kroot@google.com> |
Switch to returnCode for IPackageDeleteObserver Before the IPackageDeleteObserver only knew whether the deletion succeeded or failed, but not the reason why. Bug: 2520191 Change-Id: I1f0d7c04f06c539660b6e17e7e133defb0f61b5b
PackageDeleteObserver.aidl
ackageManager.java
|
f4ca247158ffb83139d675ac0e1d25239c310be2 |
27-Feb-2011 |
Mike Lockwood <lockwood@android.com> |
Add platform features for USB host and USB accessory support. Also removed config_hasUsbHostSupport framework resource, which is now obsolete. Change-Id: I6f18cc1c4f68085de8b8363e1b5edff79aff404f Signed-off-by: Mike Lockwood <lockwood@android.com>
ackageManager.java
|
e7f972122db87dc54e41ed1a6e417534d43bca3a |
24-Feb-2011 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #3426299: Introduce application "stopped" state The package manager now keeps track of whether an application is stopped. There are new intent flags to control whether intent filters in a stopped application will match the intent. This is currently used in one place, sending broadcasts, so that stopped apps can not be launched due to background processes. The package manager during first init makes sure no applications are in the stopped state. When new applications are installed, that begin in the stopped state. When the activity manager is launching a component of an application, it ensures the application is taken out of the stopped state. The "force stop" button in manage applications will now put an application back in to the stopped state; it can't go back out of the stopped state until one of its components is launched by the activity manager. There will probably be a few more places where we need to filter stopped applications out of intent matches, but doing this for broadcast is a very big first step. This also introduces a new broadcast that is sent to an application after it is replaced with a new .apk. But only if the app is not in the stopped state. This makes it a lot easier for developers to implement code to get their application back in proper running shape after an upgrade. Finally another new broadcast is added that is sent to a package's installer at the first time it is launched. This allows the installer to tell the package about it being installed only when it is first actually used. Change-Id: I589c53ff0e0ece868fe734ace4439c0d202dca2d
pplicationInfo.java
PackageManager.aidl
ackageParser.java
|
13033ea52714d48d754c6bc8fccb18514c645a47 |
15-Feb-2011 |
Scott Main <smain@google.com> |
docs: fix misc broken links Change-Id: Id7d0ee36398aca452ceb2c3d15982397f58a06c6
ackage.html
|
f4f05b8f24183b9e0d6959fe8b71fb88543edd9b |
07-Jan-2011 |
Scott Main <smain@google.com> |
Update package descriptions with editorial revisions. Notably, this removes exessive info about resources from the content package, because it's not a good location and the info is avilable in the dev guide, but also added some of the info to the Resources class description. Change-Id: Ie78af26c9cec66314deb98e53078f48e16c08e70
ackage.html
|
a537687c3863912b1199c13c1aa010d74c243fcc |
23-Jan-2011 |
Dan Morrill <morrildl@google.com> |
Adding faketouch feature. Change-Id: Idff0b059c2f82fa4237d6238710e87dc55ae76a8
ackageManager.java
|
327fbd2c8fa294b919475feb4c74a74ee1981e02 |
17-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix a bunch of API review bugs. 3362464 API REVIEW: android.content potpourri 3362445 API REVIEW: Fragment transaction stuff 3362428 API REVIEW: Fragment stuff 3362418 API REVIEW: Loader stuff 3362414 API REVIEW: android.content.pm.ActivityInfo Change-Id: I6475421a4735759b458acb67df4380cc6234f147
ctivityInfo.java
|
a1cbb94dbc9a82d4eb3a47242fe161af21803858 |
17-Jan-2011 |
Kenny Root <kroot@google.com> |
Revert "Add the {get,set}PackageObbPaths calls to API" This reverts commit 5d40fe9c6846ba765072e50ed1254293cb9195e4. Change-Id: Ie41010c92fb860b19a12bcf63f6fe95ffa68da81
PackageManager.aidl
ackageManager.java
|
34d2b41e48281d1df2c844e004740f008e699093 |
17-Jan-2011 |
Kenny Root <kroot@google.com> |
Revert "Add the {get,set}PackageObbPaths calls to API" This reverts commit 6c4d904851772313930f800ac7c323cf90c709bb. Going with a different tactic that doesn't dump stuff on PackageManagerService. Bug: 3214719 Change-Id: I0bbeccf3c21d264deda4256eb53713d2c98284f4
PackageManager.aidl
ackageManager.java
|
bcd6c96e753d2efc76f918c403cecbfdbd4f037a |
17-Jan-2011 |
Kenny Root <kroot@google.com> |
Add OBB size to PackageStats Bug: 3356814 Change-Id: I4f871fb9fd0cb2f3177cc756631f95d928862571
ackageStats.java
|
fc28f412b54d811c61d4997ea94c79875f9ad015 |
17-Jan-2011 |
Kenny Root <kroot@google.com> |
Merge "Put externalSize measurements in PackageStats" into honeycomb
|
366949c2d934435ff9ef8082408ca36ff14a2241 |
15-Jan-2011 |
Kenny Root <kroot@google.com> |
Put externalSize measurements in PackageStats When measuring a package's usage, put the external size in the PackageStats as well. This will allow programs using a lot of space on the external card to be held accountable. Bug: 3308791 Change-Id: If2df07bdbf6ffb31577074fad8f4a87ca4e89086
ackageStats.java
|
75e616e8203a540c860888ccff73ffaa87498c5e |
16-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Change FLAG_FORWARD_LOCK back to its original value to not break things. Change-Id: Ib9a38521cc5031a81bae5a830aaf458b8a5ee7a5
pplicationInfo.java
|
3b81bc18bb661c02ad8074c39dab16644c1e65d0 |
15-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Add manifest API to request a large heap. You can now do android:largeHeap="true" on an application. Doesn't yet do anything, waiting for Dalvik API. Also tweak package parsing so that the SDK API level is set in the configuration, allowing manifest resource value selection based on that. Change-Id: I6e035f9702a97b055416743b88f83a22ba4a9584
pplicationInfo.java
ackageParser.java
|
5d40fe9c6846ba765072e50ed1254293cb9195e4 |
14-Jan-2011 |
Kenny Root <kroot@google.com> |
Add the {get,set}PackageObbPaths calls to API Add getPackageObbPaths() and setPackageObbPaths() to the public API. Bug: 3214719 Change-Id: I8627b5f674a795d5780eb5c08911419110670a41
PackageManager.aidl
ackageManager.java
|
a3cdaa5337fa573c4c61770195d6232c2e587090 |
13-Jan-2011 |
Jason parks <jparks@google.com> |
Revert "Remove the APIs for the old encryption scheme." This reverts commit 1125d780a8b61703b8eb28c5c77dac5f3f0022dd.
pplicationInfo.java
ackageParser.java
|
ca6777b23bbe9283380efb2ba7e6d0a79d8669db |
13-Jan-2011 |
Jason parks <jparks@google.com> |
Merge "Remove the APIs for the old encryption scheme." into honeycomb
|
e8c04db71e347396e9537ead7113ba9f46706e44 |
13-Jan-2011 |
Kenny Root <kroot@google.com> |
Merge "Add the {get,set}PackageObbPaths calls to API" into gingerbread
|
1125d780a8b61703b8eb28c5c77dac5f3f0022dd |
12-Jan-2011 |
Jason parks <jparks@google.com> |
Remove the APIs for the old encryption scheme. Change-Id: I55116a5b29b10dfd50015805ec019b485257f68b
pplicationInfo.java
ackageParser.java
|
502e9a47c64d819a7aa45251bcf7cb5dd77a310b |
10-Jan-2011 |
Kenny Root <kroot@google.com> |
Allow updated system apps to retain priority Previously any updated system apps would not be able to have a greater than 0 priority on an activity intent filter. Moving the priority check later in the package scanning allows it to apply to updated system packages as well. Cherry-pick from gingerbread branch Bug: 2572398 Change-Id: I95d8b6360bf7a3f39cd7a1ff09e1ee57e11583d8
ackageParser.java
|
1c6e764275934b0ddf65aeb86179c75a50ba15d4 |
10-Jan-2011 |
Kenny Root <kroot@google.com> |
Allow updated system apps to retain priority Previously any updated system apps would not be able to have a greater than 0 priority on an activity intent filter. Moving the priority check later in the package scanning allows it to apply to updated system packages as well. Bug: 2572398 Change-Id: I9fdf7906809518b28b49ffec31afec1442d85d3c
ackageParser.java
|
a85a91573af97a76ab08ffd5f8558b73283e1faa |
08-Jan-2011 |
Joe Onorato <joeo@google.com> |
add ComponentInfo.isEnabled() Change-Id: I5ce59f62dc0ce3ce446bdbe397d1515e43031d76
omponentInfo.java
|
6c4d904851772313930f800ac7c323cf90c709bb |
19-Nov-2010 |
Kenny Root <kroot@google.com> |
Add the {get,set}PackageObbPaths calls to API Add getPackageObbPaths() and setPackageObbPaths() to the public API. Bug: 3214719 Change-Id: Icb9f2f92f8c59bb3d31317f609854e81abbd1449
PackageManager.aidl
ackageManager.java
|
1f22d2a31abc5fa8a2d97f1f506bb2c25c87a96b |
08-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
DO NOT MERGE Fix issue #3333958: Package Manager can sometimes mistakenly think... ...an app is disabled! Ouch. Change-Id: I45dc2beef4e413fd447d905632901fadd924cb6e
ackageParser.java
|
433863b1085248a8fdc9bcd0ac8501cc6a7b8ace |
08-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3333958: Package Manager can sometimes mistakenly think... ...an app is disabled! Ouch. Change-Id: I5788c5f8edfe2a0d6f4f0f3359e1742f8ed8d98e
ackageParser.java
|
b35cd54b88292bd6cf0387406ad9071f5475c6a7 |
05-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
No longer needed. Change-Id: Ia2e8264147bb02e29599227d0588e40b1e626358
ackageParser.java
|
194157638ae59418b9d9cb4d73f7e285f59bc579 |
15-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix launching of activities that I broke. Change-Id: I39f4189bad6bdecdc7f9362410f36453fd816121
ackageManager.java
|
ccc714131359eb1022d8c6702b7d82ab9e93f27c |
13-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 78e9f4cb to master Change-Id: I1135361e6d66f524c3f349e2bf1f31bd4191c634
|
e4a5951925f16f18dae91ed65567e96528f17fee |
07-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3154576: battery stats checkin should include UID -> packages+ map Includes some other small fixes to battery collection and a few other things. Output of package info looks like this: 5,0,i,uid,1000,com.android.settings 5,0,i,uid,1000,com.android.providers.subscribedfeeds 5,0,i,uid,1000,com.android.providers.settings 5,0,i,uid,1000,com.android.server.vpn 5,0,i,uid,1000,android 5,0,i,uid,1000,com.android.systemui 5,0,i,uid,1000,com.google.android.backup 5,0,i,uid,1001,com.android.phone 5,0,i,uid,1001,com.android.providers.telephony 5,0,i,uid,1022,com.android.nfc 5,0,i,uid,10021,com.google.android.location 5,0,i,uid,10021,com.google.android.syncadapters.calendar 5,0,i,uid,10021,com.google.android.gsf 5,0,i,uid,10021,com.google.android.syncadapters.contacts 5,0,i,uid,10026,com.android.providers.downloads.ui 5,0,i,uid,10026,com.android.providers.media 5,0,i,uid,10026,com.android.providers.drm 5,0,i,uid,10026,com.android.providers.downloads 5,0,i,uid,10032,com.android.launcher 5,0,i,uid,10039,com.google.android.gm 5,0,i,uid,10041,com.google.android.gallery3d 5,0,i,uid,10049,com.android.providers.calendar Change-Id: I9e38f254eef146339113ad270f5c6e8b60fb7a1d
ackageParser.java
|
30d7189067524000c738c188c4ff91f84f474d25 |
11-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3274841: Orientation change problem with a paused activity Plus a bunch of debug output improvements. And some new Intent helpers for dealing with restarting an app. Change-Id: I50ec56bca6a86c562156b13fe8a6fdf68038a12e
ackageManager.java
|
56285a60e83138bb4b4f2d3bdec91b2f3ca11aa2 |
02-Dec-2010 |
Fred Quintana <fredq@google.com> |
add caching to the AccountManagerService - cache the accounts, userdata and authtokens - make the AccountManagerServiceTest work again - add a log statement for every binder call http://b/issue?id=3188457 Change-Id: I96b94b9b690cf391fe4341e2a72893a6d823777b
egisteredServicesCache.java
|
880119bf43d738ca632b5d3861eb52d655c1c0fc |
19-Nov-2010 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #2367442: Please add API for manipulating installer package names Change-Id: I0563e896a47ae1a6e77aebc2d624fb1bde52ffbc
PackageManager.aidl
ackageManager.java
|
3fa51e3430e3bf902ae4f2d72dfb956103b6bd2d |
11-Nov-2010 |
Alon Albert <aalbert@google.com> |
Improve logging Change-Id: Ia855b1a45a3abbc1a87233462f19b330b72d30b9
egisteredServicesCache.java
|
a0b46c9c441f017a2008ca8ee2c864987465996b |
22-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #3116702: New manifest tags for supported screen sizes Merged from GB. Change-Id: I94730b54bcacd083f77708e84c35f4932a7b9d2e
ackageParser.java
|
a6d9c7c04c4b17d85ac70f4494777555655f3be1 |
22-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #3116702: New manifest tags for supported screen sizes DO NOT MERGE Change-Id: Iabf64d86c89d387ffbfbc39f950d308a73fe17eb
ackageParser.java
|
46cb1d9602905061ff2a9ba3bc7654bfe94183db |
21-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
am 674b856c: am fb2cd0aa: Merge "Fix java doc on FLAG_EXTERNAL." into gingerbread Merge commit '674b856c15206a23d9d8a22fbd936a4f3055894d' * commit '674b856c15206a23d9d8a22fbd936a4f3055894d': Fix java doc on FLAG_EXTERNAL.
|
eddfc04a08cc4d5315930d94d4627caa7dad5596 |
21-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix java doc on FLAG_EXTERNAL. Change-Id: Ic533b3a6c3300a986dd8d0da04243d723cf393ef
pplicationInfo.java
|
615e2fa1755ea3b6b8196f783842cd394ad3beb2 |
10-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
am b77455ee: am 78d68836: Implement tracking of package install times. Merge commit 'b77455ee290691b036ac79236a93e57ff294ef0c' * commit 'b77455ee290691b036ac79236a93e57ff294ef0c': Implement tracking of package install times.
|
78d688369a2240009d3bbe4126996a973b2e2fe2 |
07-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Implement tracking of package install times. Provides information about the time at which the package was first installed and the time it was last updated. Change-Id: Icb43f77b5b669a1ce685e8913046b8be386b6175
ackageInfo.java
ackageManager.java
ackageParser.java
|
8c4e779a4c968d4c7a4e4902484004e1659217aa |
07-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
am e112b744: am 930d6c3c: Merge "Fix issue #3056500: Problem report for ASTRO" into gingerbread Merge commit 'e112b744c08cd7dcffe142f3cd22c96870bad482' * commit 'e112b744c08cd7dcffe142f3cd22c96870bad482': Fix issue #3056500: Problem report for ASTRO
|
72b526a13c9b548a1e1a0239f670e36744cb0fdc |
07-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
am cb9f1e4d: am 6f7e10ca: Merge "Make it easier to figure out whether an app can go on sd card." into gingerbread Merge commit 'cb9f1e4d30ab4f9203e30abe807cbe33d07db4a0' * commit 'cb9f1e4d30ab4f9203e30abe807cbe33d07db4a0': Make it easier to figure out whether an app can go on sd card.
|
817c24752cf1d70bcd53a038a0d06abbb1ec6aad |
05-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3056500: Problem report for ASTRO Change-Id: Ifa07dbc50930f5d6a20cdc0ee541c0566f3785ba
pplicationInfo.java
|
38014763a2ceec005682066da01849adf95839bd |
05-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
am 89230e3b: am 458fc5f5: Merge "Fix issue #3041660: Camera image flips upside down when rotating device" into gingerbread Merge commit '89230e3b7b9ec455373e3f60b62ff65589a9c57d' * commit '89230e3b7b9ec455373e3f60b62ff65589a9c57d': Fix issue #3041660: Camera image flips upside down when rotating device
|
54e570f78b45d6c47578a4a2513097b590b6d43f |
05-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Make it easier to figure out whether an app can go on sd card. Change-Id: I9195a0881b2c435b138f39c2ab1505dc820caf10
pplicationInfo.java
ackageParser.java
|
e5439f228f603f60febe058f633d91d5af2fff76 |
03-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3041660: Camera image flips upside down when rotating device Apps now must explicitly opt in to having their rotation changed while forcing landscape mode. Also add some new orientation constants for other things apps may want to do. Change-Id: If64d84b5ef54793ee717ebda9b4c76408efc9bfd
ctivityInfo.java
|
4768a16cbc9c25fac6bfb9f1f2f7ddfba67aac7b |
02-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
am 9e1556de: am 14e7d693: Merge "Some documentation fixes." into gingerbread Merge commit '9e1556de8382c3eb68d324a7ef559b2cde1b3d6c' * commit '9e1556de8382c3eb68d324a7ef559b2cde1b3d6c': Some documentation fixes.
|
4d023d214d12c8588b6a3441c2b4bd7c09900937 |
01-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Some documentation fixes. Change-Id: Iaae452fc1430af788ce440a043ca7fb53e667a61
ackageManager.java
|
dc71b9e4d67327065a992924a021cad4bc100fa2 |
01-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 6a3eddb4 to master Change-Id: I1ca1d100274d4a733ef2bf58b0d5d7217b4f858e
|
cef65eeb0315c3118bf8860d6f723cb49ff6bc52 |
01-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Rub in a little 'ol log-b-gone. Mmmmmm... great fresh scent! Change-Id: I050e70b31b5d4a9c6731f15a4b51a3620a33a78d
ackageParser.java
|
cc8f44bc819a76ac8d0127c57a303bd839240a62 |
28-Sep-2010 |
Kenny Root <kroot@google.com> |
am e7dd4e38: am 04a426f5: Merge "Use buffered I/O during certificate parsing" into gingerbread Merge commit 'e7dd4e38c47f2f7760d1ce4f86d6321e17f98d1d' * commit 'e7dd4e38c47f2f7760d1ce4f86d6321e17f98d1d': Use buffered I/O during certificate parsing
|
04a426f5b50a628fb73bc29b003b0e5bece17c27 |
27-Sep-2010 |
Kenny Root <kroot@google.com> |
Merge "Use buffered I/O during certificate parsing" into gingerbread
|
2b0fa71c1a9e588fc31944baa5a21c362a0ab1ca |
27-Sep-2010 |
Dan Morrill <morrildl@google.com> |
am c6581a10: am 4e9751f0: Merge "Adding a feature to indicate that the device possesses low-latency audio. The specific criteria for low-latency audio are defined in the CDD, but since that hasn\'t yet been settled for Gingerbread, this change doesn\'t go into details Merge commit 'c6581a1046b062d0e06e50e9b09e6c12a8e54efc' * commit 'c6581a1046b062d0e06e50e9b09e6c12a8e54efc': Adding a feature to indicate that the device possesses low-latency audio.
|
d63f7dbf5d30320e8fd4dd8056d245f7b1e818ba |
27-Sep-2010 |
Kenny Root <kroot@google.com> |
Use buffered I/O during certificate parsing The PackageParser was using a raw InputStream instead of wrapping it in a BufferedInputStream which could degrade performance. Change-Id: I15c86c3ead363ddbadf4ae27e011feda90fcc579
ackageParser.java
|
898e1e8860dea8490ba9208fca7965adf9cb8298 |
27-Sep-2010 |
Dan Morrill <morrildl@google.com> |
Adding a feature to indicate that the device possesses low-latency audio. The specific criteria for low-latency audio are defined in the CDD, but since that hasn't yet been settled for Gingerbread, this change doesn't go into details. We can do a docs change later once GB CDD is final. Change-Id: Ic5ad9d04e8ecd78c81b6f09439affec6bf8cb9b2
ackageManager.java
|
234e42df5fac958ed9f15aae6005dd72e4bdf08a |
25-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
DO NOT MERGE. Fix issue #3000764: API REVIEW: android.R.* Not going out in GB. Change-Id: I9d4f5938ec7d2a54c0f72b8eb5a177ee66f12146
ackageParser.java
|
5744bb4aa5dea525d1ae236cd16379134024eae1 |
02-Sep-2010 |
Dan Morrill <morrildl@google.com> |
Adding new feature definitions for new sensors (barometer and gyroscope.) Change-Id: Ic3a35c7b277921eaa5b05e3285b6aed5ed75bea6
ackageManager.java
|
09f3360f51b216fb9c40f78e7a4eee41cd9cc187 |
13-Sep-2010 |
Chris Palmer <palmer@google.com> |
DO NOT MERGE Correct the PackageManager.checkSignatures documentation. Make the documentation match the current behavior since change ID Ibdeff170bd386d723f774136b18e0ad59d9cdabb. Will add @deprecated tags back in in a separate CL. This is just to get things in the same state as master, following the build breakage mishap. Change-Id: I47c53700892473061093002c32ad8f095b5813d1 Do not merge to master; an equivalent CL has already been committed there.
ackageManager.java
|
f5aafff4851cc55523ac3beb164e994ec223985d |
13-Sep-2010 |
Chris Palmer <palmer@google.com> |
Unbreak the build. Just a quick fix. Will properly re-add @deprecated and update-api next, and then get API approval. Change-Id: Idf57a33dc97bc2619cf48509f74d9e0de935124b
ackageManager.java
|
ed35d0ee857353f42e58342023647d0b10ab9fd3 |
13-Sep-2010 |
Chris Palmer <palmer@google.com> |
Merge "Correct the PackageManager.checkSignatures documentation."
|
cec7eb1c079331ba38ed4472abe26a55d6427324 |
13-Sep-2010 |
Kenny Root <kroot@google.com> |
am 8b11f30c: am 1bece432: Make nativeLibraryDir visible in the API Merge commit '8b11f30cb2cfe9922439e8a032311de114ce4da4' * commit '8b11f30cb2cfe9922439e8a032311de114ce4da4': Make nativeLibraryDir visible in the API
|
1bece4320c1d2308b4a5b5aeda47b065312b3053 |
13-Sep-2010 |
Kenny Root <kroot@google.com> |
Make nativeLibraryDir visible in the API Change-Id: Ic88e76a85b0041e97b4c29c42dfa09db0356391c
pplicationInfo.java
|
42855149750fb848b0d743cf0e5f204a05be2f07 |
10-Sep-2010 |
Chris Palmer <palmer@google.com> |
Correct the PackageManager.checkSignatures documentation. Make the documentation match the current behavior since change ID Ibdeff170bd386d723f774136b18e0ad59d9cdabb. Change-Id: I9d24800ba98f14cb278f029cdf37a086394d1747
ackageManager.java
|
7e955e7ccef41fba8bed9f6b9d4fd59afb9007ae |
04-Sep-2010 |
Kenny Root <kroot@google.com> |
am a060b5f7: am 6dc003a7: Merge "Reduce footprint of Signature from ~7000 to ~1448" into gingerbread Merge commit 'a060b5f73863f4b5f161674a9c5ac0a0d8d76072' * commit 'a060b5f73863f4b5f161674a9c5ac0a0d8d76072': Reduce footprint of Signature from ~7000 to ~1448
|
6dc003a73f7f01aa5dd5831e777e2aa44f65b032 |
04-Sep-2010 |
Kenny Root <kroot@google.com> |
Merge "Reduce footprint of Signature from ~7000 to ~1448" into gingerbread
|
de0ff63700c1836771d797e6c7340b18cb814484 |
04-Sep-2010 |
Kenny Root <kroot@google.com> |
Reduce footprint of Signature from ~7000 to ~1448 Signature had lazy initialization of the mString member when needed, but it would stick around forever when initialized. Each package had one or more Signatures that would be ~7000 bytes each. At a couple hundred packages, that's over 1.3MB just for signatures. Whenever packages.xml was written out, it would write the Signature for each program as well which happens at boot thereby initializing the mString member pretty much immediately. Change-Id: Idb882ffeca2861b3e87437fc83f001710d6c0441
ignature.java
|
69717ccd13bb5568b912701ab39d603cfa7091cc |
03-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
DO NOT MERGE. Some stuff that is Not Ready. Change-Id: I8fdba32722d86b92c791dbf7c6c0166bcdb02852
pplicationInfo.java
|
6c82f673f6c01cdcf7ede82c67601fbd53d090f3 |
04-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
am fd3f44b3: am e1aa82a4: Merge "Adding a feature denoting support for 5 or more fully independent multitouch pointers." into gingerbread Merge commit 'fd3f44b38882c74c10aff0e238ee4ad9fcd8b724' * commit 'fd3f44b38882c74c10aff0e238ee4ad9fcd8b724': Adding a feature denoting support for 5 or more fully
|
6993d3d136fed8600a3e337d710907b50d8d6e49 |
03-Sep-2010 |
Dan Morrill <morrildl@google.com> |
Adding a feature denoting support for 5 or more fully independent multitouch pointers. Change-Id: I9997ed9c481dbd507e9eff70d8beb9e1140cca3f
ackageManager.java
|
16750623421fb404181b12ae04baa2fe26c5b9dd |
02-Sep-2010 |
Dan Morrill <morrildl@google.com> |
Adding features for new hardware, and creating a baseline list of required hardware for the Tablet profile. This is very much subject to change. Change-Id: Id0921b373cf610a7ec9ddd75dc020bf8b22a6911
ackageManager.java
|
f83d4f1779eb4801275a56023c343459a95009af |
02-Sep-2010 |
Hung-ying Tyan <tyanh@google.com> |
resolved conflicts for merge of 3e4975a5 to master Change-Id: Icd382fc43c8a1975801ab42eb184b633520149c7
|
3424c02e6b931a8bbd651ae75217bebd008b2605 |
27-Aug-2010 |
Hung-ying Tyan <tyanh@google.com> |
Add software features for SIP and VOIP and block SipService creation and SIP API if the feature is not available. Change-Id: Icf780af1ac20dda4d8180cea3e5b20e21a8350bc
ackageManager.java
|
90324669f21e0676e66bc4ed681be560bba5f188 |
02-Sep-2010 |
Dan Morrill <morrildl@google.com> |
am 61f1cbdd: am a800a2ef: Merge "Adding a feature definition corresponding to support for Near-Field Communications (NFC)." into gingerbread Merge commit '61f1cbdd71942433ce1515b614ec3d9c259ea037' * commit '61f1cbdd71942433ce1515b614ec3d9c259ea037': Adding a feature definition corresponding to support for Near-Field
|
76437d379357a418b8236b041d1b3e03939264e6 |
01-Sep-2010 |
Dan Morrill <morrildl@google.com> |
Adding a feature definition corresponding to support for Near-Field Communications (NFC). Change-Id: I32b1b949524bfd978f53e23e02d38dfba4a2ea9c
ackageManager.java
|
2394c164a76f6d3f8ad9f1c1517f58f72adab9d7 |
01-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
am ec438e14: am 361199b5: Add PackageManager API to get information about a provider component. Merge commit 'ec438e1448ebc578ee5a4c4beb1e26292cdedd6e' * commit 'ec438e1448ebc578ee5a4c4beb1e26292cdedd6e': Add PackageManager API to get information about a provider component.
|
361199b5e742c6635d4d7a03de6cf37b31cf442c |
31-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Add PackageManager API to get information about a provider component. Kind-of useful when all you have is a ComponentName. Change-Id: I9a99f12daabb29e97e882e09c43ca0df70c00651
PackageManager.aidl
ackageManager.java
|
d02bdaab495641ab50e2123fdfd99a819cc40540 |
26-Aug-2010 |
Daniel Sandler <dsandler@android.com> |
Remove experimental immersive mode support. DO NOT MERGE Bug: 2949215 Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d
ctivityInfo.java
ackageParser.java
|
818c830c59fb8fb0fe7576f1e5a073ab599227c8 |
28-Aug-2010 |
Kenny Root <kroot@google.com> |
am 83285781: am 7046bd92: Merge "Allow native shared libraries in ASEC containers" into gingerbread Merge commit '8328578152fbfd23952a6cda4b2e60853d78eb74' * commit '8328578152fbfd23952a6cda4b2e60853d78eb74': Allow native shared libraries in ASEC containers
|
85387d7ba36e56b291cbde87acb5a5b2200fe01c |
26-Aug-2010 |
Kenny Root <kroot@google.com> |
Allow native shared libraries in ASEC containers This change moves the native library handling earlier in the package installation process so that it may be inserted into ASEC containers before they are finalized in the DefaultContainerService. Note that native libraries on SD card requires that vold mount ASEC containers without the "noexec" flag on the mount point. Change-Id: Ib34b1886bf6f94b99bb7b3781db6e9b5a58807ba
pplicationInfo.java
nstrumentationInfo.java
|
41bfa37cb2ca244432061bddb1c8bf802545ae6e |
27-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 409b7120 to master Change-Id: I1741e205b5ff5ae62a38ab3b096bcc3d96883538
|
02486b1327e3007c62d253dd89ba9db1852b87f8 |
26-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Hide heavy-weight API. And give it a better name, for when it is later un-hidden. Change-Id: Iae0d3054d44f873b9f953bc41d175a47802a185e
pplicationInfo.java
ackageParser.java
|
103bff317be898498afa1a2f33b960f09592da74 |
24-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
am 5474b0f8: am 39792d22: Fix bugs with granting permissions through onNewIntent(). Merge commit '5474b0f8603ee66413c3e44600ca46f162f3089e' * commit '5474b0f8603ee66413c3e44600ca46f162f3089e': Fix bugs with granting permissions through onNewIntent().
|
3e6d50cc484f2eee0cff63789cc7796718eb6b68 |
24-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Make Theme.Holo the default theme for new apps. Also change Holo to have an action bar, instead of a title bar. Change-Id: I45c2f06938509ae02cde99d1c06c228f86e8e3e8
ackageParser.java
|
39792d2262352ae775091876d5488d2412a2ff92 |
20-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix bugs with granting permissions through onNewIntent(). It would grant the permission to the temporary ActivityRecord, not the real one, so it never got cleaned up. Also allow granting of permissions to services because... well, it would be really really useful. And it introduces some refactoring that we'll need to support cut/paste. Change-Id: If521f509042e7baad7f5dc9bec84b6ba0d90ba09
pplicationInfo.java
|
ce845d73015acea0a337dd06721f5c649f565242 |
05-Aug-2010 |
Kenny Root <kroot@google.com> |
am c5183aca: am c68bcc32: Merge "Only allow one movePackage operation in-flight" into gingerbread Merge commit 'c5183acae55e08f4bfcb58aa122a200863748a63' * commit 'c5183acae55e08f4bfcb58aa122a200863748a63': Only allow one movePackage operation in-flight
|
529b60a3b16ac3dff24f2403d760ab8ebc9670ff |
04-Aug-2010 |
Romain Guy <romainguy@google.com> |
Add android:hardwareAccelerated to Activity. Hardware acceleration can now be enabled/disabled locally on each activity declared in the manifest. It can also be enabled/disabled directly on a window through the WindowManager.LayoutParams. Change-Id: I91dd0b26c4e7eb8cd7288e523ed6b7bda6d0990b
ctivityInfo.java
pplicationInfo.java
ackageParser.java
|
deb112674e9940a46c87fa4e3bae5d8d1ee84ef3 |
02-Aug-2010 |
Kenny Root <kroot@google.com> |
Only allow one movePackage operation in-flight When a movePackage operation is requested, don't allow multiple requests to pile up for one package. Once a move is completed, an observer will receive the message and be allowed to call movePackage again. Change-Id: Ie3842b6d96446febc0037bf9b8f1ca250735edc2
ackageManager.java
ackageParser.java
|
b0289f62af77a2811b4528fe284aad871e3c6b31 |
02-Aug-2010 |
Kenny Root <kroot@google.com> |
am 59d4a536: am 739cdab7: Merge "Do not deference before null check" into gingerbread Merge commit '59d4a5369cd68d4b65809ded407611b62b013f9a' * commit '59d4a5369cd68d4b65809ded407611b62b013f9a': Do not deference before null check
|
930d3af75f9e9663222f4c4a1d75b326cf811e35 |
31-Jul-2010 |
Kenny Root <kroot@google.com> |
Do not deference before null check The return of parsePackageLite wasn't checked until after it was deferenced. Move the deference below the null check and remove redundant set. Bug: 2852726 Change-Id: I3eaaea5050948145eed44b64507dc846993d98eb
ackageParser.java
|
4cca89c0425a93dd842d85a56205c017a418e1c1 |
26-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
am 3a2ff74f: am 46730fc7: Fix handling of application disabled state. Merge commit '3a2ff74fa4c3f014555ec64fccc16e1b9f6d0111' * commit '3a2ff74fa4c3f014555ec64fccc16e1b9f6d0111': Fix handling of application disabled state.
|
46730fc78388607fd562044cbaaa26ffc9f65337 |
25-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix handling of application disabled state. Change-Id: I617b76e89eeb75437b384b92f1205bb00b15bb70
ackageParser.java
|
511d9ec363c5bb460e4695de56edc1b7785dc7bf |
09-Jul-2010 |
Kenny Root <kroot@google.com> |
am 0a21801f: am a5402dab: Merge "OBB API for PackageManager" into gingerbread Merge commit '0a21801f5fae22cd5e1b3e9f1c1405c744e24c9b' * commit '0a21801f5fae22cd5e1b3e9f1c1405c744e24c9b': OBB API for PackageManager
|
93565c4b3265c16aee4a82d7556f811776c17db8 |
19-Jun-2010 |
Kenny Root <kroot@google.com> |
OBB API for PackageManager Simple API for tracking .obb files associated with packages. Stores the path in the PackageSettings. No verification of file content is done now since the PackageManagerService can't read the SD card where these files will likely live. Change-Id: Ibeaf26ba0526b6d60f401137e58f46ee9faff39e
PackageManager.aidl
ackageManager.java
|
1df11fc8f17573f0f23229e5eb77c0f82942f7f7 |
28-Jun-2010 |
Chih-Chung Chang <chihchung@google.com> |
am cbbc035b: am de1057c4: Unhide new API for supporting multiple cameras. Merge commit 'cbbc035b640790650d0e377a2d6291cc523a2a35' * commit 'cbbc035b640790650d0e377a2d6291cc523a2a35': Unhide new API for supporting multiple cameras.
|
de1057c4a6aa41c3b88bcc4fd49d70f973f1d9eb |
14-Jun-2010 |
Chih-Chung Chang <chihchung@google.com> |
Unhide new API for supporting multiple cameras. Change-Id: I916a536c80330444a15986ba380205a6deed2390
ackageManager.java
|
c4c6635d1a1dc5ac60abf39d239a9c2a6ce97845 |
23-Jun-2010 |
Daniel Sandler <dsandler@android.com> |
am 57b53265: am ef730e6e: Merge "Fix javadocs." into gingerbread Merge commit '57b5326561b6edb22b09016985b41b7cdb2156c0' * commit '57b5326561b6edb22b09016985b41b7cdb2156c0': Fix javadocs.
|
6c55b8b143b4cc8335789bff58a2ac545bd58806 |
23-Jun-2010 |
Daniel Sandler <dsandler@android.com> |
am 71764c4c: am 613dde4a: Revised "immersive mode" API. Merge commit '71764c4ce5b248a79542238b171a783e82e0fe37' * commit '71764c4ce5b248a79542238b171a783e82e0fe37': Revised "immersive mode" API.
|
8091ca5015b2a9f591ad7d3ee5ec832c16cf5548 |
22-Jun-2010 |
Daniel Sandler <dsandler@android.com> |
Fix javadocs. Change-Id: Ic37c16625ddd0175cc048dd2b22bc75c6962d43d
ctivityInfo.java
|
613dde4aa651e11dac3db859723cc6faf8fc0a82 |
21-Jun-2010 |
Daniel Sandler <dsandler@android.com> |
Revised "immersive mode" API. No longer a window bit, FLAG_IMMERSIVE is now set on ActivityInfo.flags and in the Activity's manifest as android:immersive="true" (ActivityInfo). [An "immersive" activity is one that wishes to avoid being paused by full-screen notifications (like an incoming call). An activity that sets FLAG_IMMERSIVE/android:immersive is sending a signal to the notification manager, status bar, etc. that they should try to find some other way to get the user's attention in high-priority situations.] [Originally: change Ie290c2e.] Change-Id: I967bb10b930b8f0772b10f81f2957a03fa3f1736
ctivityInfo.java
ackageParser.java
|
d0b15cecc63b03ca4e42549ed3a54ae2c7e31866 |
04-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of f3307ae8 to master Change-Id: Ic59db363391f73343eba32894113914ceea5a963
|
860755faa6bdd3c2aeae49c05b87b5bc080ae60c |
04-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
Add support for heavy-weight applications. Only one can be running at a time, their process can not be killed, and a notification is posted while it is running. Change-Id: I843015723947e0c934ae63a1aeee139327c0bc01
pplicationInfo.java
ackageParser.java
|
812ccbeb3ce55c50463fda1d161b2eeed8b19cd2 |
01-Jun-2010 |
Romain Guy <romainguy@google.com> |
Add new hardwareAccelerated manifest attribute to enable HW drawing. Change-Id: I2bb0252f3699cb720e7f5b6868419c9904e4fb35
pplicationInfo.java
ackageParser.java
|
22ec9ab3b881d71866279ba9363c644a9e4e7164 |
30-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix build. Change-Id: Iac00a1d02d04c346807ff2580362adfc838d1813
pplicationInfo.java
|
14cee9f688c32d63d8521188e7422811629bb7c2 |
24-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
New xlarge screen size. Not complete, only for experimentation at this point. This includes a reworking of how screen size configurations are matched, so that if you are on a larger screen we can select configurations for smaller screens if there aren't any exactly matching the current screen. The screen size at which we switch to xlarge has been arbitrarily chosen; the compatibility behavior has not yet been defined. Change-Id: I1a33b3818eeb51a68fb72397568c39ab040a07f5
pplicationInfo.java
ackageParser.java
|
b6c459276f222e01777380c4c1e3a31680e561ec |
27-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
am 44f2c6ba: am 2e4b98dc: Merge "Whoops a little more on issue #2631417: Expose FLAG_EXTERNAL_STORAGE" into froyo Merge commit '44f2c6baa68e02f7837cd1ca285d5c4f0f871b18' into kraken * commit '44f2c6baa68e02f7837cd1ca285d5c4f0f871b18': Whoops a little more on issue #2631417: Expose FLAG_EXTERNAL_STORAGE
|
34483a0f6e1db9b0d96abc8b6dd056ec385f82b6 |
27-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 5a8f877c to kraken Change-Id: I3e320cfe9fcafe4f49e1863eaeddac96bc3f72c6
|
94c567e1e344d49168603f5a0560215a4ce735e6 |
27-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
Whoops a little more on issue #2631417: Expose FLAG_EXTERNAL_STORAGE There was a gap in the bit numbers. Change-Id: I0feef7dc4abed5db7412659b5ad078caffe4f2d4
pplicationInfo.java
|
3202d380226043fa665df3c92252f791f8c52d55 |
27-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2631417: Expose FLAG_EXTERNAL_STORAGE Also update 8.xml to match the current API. Change-Id: I668fe56f6c156c2e8daa458baa7410fdb8ebef52
pplicationInfo.java
|
81cd2e90ccdda498234384c8207afe2213714e60 |
22-Apr-2010 |
Adam Powell <adamp@google.com> |
Logo attribute for manifest and PackageManager methods to fetch it Change-Id: I2c5ac44a4e2af982a616b2012901d7395013b19f
omponentInfo.java
ackageItemInfo.java
ackageManager.java
ackageParser.java
|
3e543abbc18eec03ba7300b53cd65dc1c30fd40b |
08-Apr-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am a599469f: am c2461be6: Merge "Fix 2579461 Move install location values to secure settings. Diable attribute for UI. Set default value to auto. Add command line interface to set install location via pm." into froyo Merge commit 'a599469f9095532cac95a8e7600412f156b88f1c' into kraken * commit 'a599469f9095532cac95a8e7600412f156b88f1c': Fix 2579461
|
40e472521a544f26cb6956995788f7c36fff1404 |
08-Apr-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Fix 2579461 Move install location values to secure settings. Diable attribute for UI. Set default value to auto. Add command line interface to set install location via pm. Change-Id: I80e97b3d24845adad7102f40dcbe238f00efa406
PackageManager.aidl
|
5a0797a91016e85bb50a7d5c0d7e031166429ddd |
06-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
am c94dad83: am 6e52b5d7: 2568467 System crash when installing corrupt APK Merge commit 'c94dad83be792928206363cb43524a68b6a62ffe' into kraken * commit 'c94dad83be792928206363cb43524a68b6a62ffe': 2568467 System crash when installing corrupt APK
|
f0adaa1bd579a0749406f6f5c72d00a0a62eb0e6 |
06-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
am eab92d7b: am 01f6b75b: Merge "Fix issue #2564479: Favorite Recipes App Installation Fail" into froyo Merge commit 'eab92d7bec5ff0d12ee68047bba4ade3afb718a7' into kraken * commit 'eab92d7bec5ff0d12ee68047bba4ade3afb718a7': Fix issue #2564479: Favorite Recipes App Installation Fail
|
6e52b5d76850ee60bbef2f3d8a2e47bd589e28e8 |
05-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
2568467 System crash when installing corrupt APK Also fix another crash I just saw in the package manager, when a permission got left around from a previous install but as no longer defined. Change-Id: I33b87420f0c59e24b8b77fab8b0316461d99e048
ackageParser.java
|
01f6b75baa3b9144240fa8c9772859ab4ac948bd |
06-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #2564479: Favorite Recipes App Installation Fail" into froyo
|
a03dfc079263bc6eb9bbb060273ea346930b4944 |
06-Apr-2010 |
Dan Morrill <morrildl@google.com> |
am ca5e7de8: am 21390f08: Merge "Adding a feature definition for touchscreens that was overlooked in the last round." into froyo Merge commit 'ca5e7de82b18dcd5fb8f617b40b45c95edce8c3e' into kraken * commit 'ca5e7de82b18dcd5fb8f617b40b45c95edce8c3e': Adding a feature definition for touchscreens that was overlooked in the last
|
b0fe033ff8695418645ede29ce683949f68033c2 |
05-Apr-2010 |
Dan Morrill <morrildl@google.com> |
Adding a feature definition for touchscreens that was overlooked in the last round. Change-Id: I8f30676a7b468a9868503b05f366709d5534a44e
ackageManager.java
|
d1cff1b4a477bad7f6c968572ecdff26ca6e8cda |
03-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2564479: Favorite Recipes App Installation Fail Change-Id: Ide1045e3f6bef9ed2a2fee08bfeda8c58feb685f
ackageParser.java
|
767225d8206adf4db968f3fa86d9ebb107a12067 |
31-Mar-2010 |
Jeff Brown <jeffbrown@google.com> |
resolved conflicts for merge of d9ee01a9 to kraken Change-Id: I645177513e6dfa4b3b02c0061b8026bde4acde8d
|
07330791116513710d879c45b2f095cd314cbfd0 |
31-Mar-2010 |
Jeff Brown <jeffbrown@google.com> |
Show SD unavailable icon for apps on SD when ejected. This change include a minor refactoring of PackageItemInfo and related classes to eliminate code duplication and to avoid redundant work searching for an ApplicationInfo instance we already have. Bug: b/2537578 Change-Id: Id0794c3f055ea58b943028f7a84abc7dec9d0aac
pplicationInfo.java
omponentInfo.java
ackageItemInfo.java
esolveInfo.java
|
b4915265a09361c375e792781ead5bfec6c797d9 |
30-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
am ab86fc91: am de2722af: Merge "Package manager optimizations." into froyo Merge commit 'ab86fc91f5b54b8b730c0f594f04bbfb4c41697a' into kraken * commit 'ab86fc91f5b54b8b730c0f594f04bbfb4c41697a': Package manager optimizations.
|
d7c096845dee7616095eda0fe9e7aa08f0ba9c20 |
30-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Package manager optimizations. Addresses: Issue #2550648: PackageManagerService setComponentEnabledSetting unconditionally writes Settings xml Issue #2549084: Make PackageManager.addPermission have async version Also make the writing of settings when changing the preferred activities to use the same async mechanism, and fiddle with thread priorities in the background thread to go up to foreground priority when holding the lock to write settings and a few other places. (At some point we should really clean this up to never acquire the main lock while in the background.) Change-Id: Ib2b7632543f6fb3f92a225518579f3b2d15e1413
PackageManager.aidl
ackageManager.java
|
1f4df90bfab8ca42eabe95f19eadff3432eee7fd |
27-Mar-2010 |
Oscar Montemayor <oam@google.com> |
DO NOT MERGE Removing unused features from source tree. Please refer to Bug#2502219. Change-Id: I879c29bfd5ffe933f64bb1082aaae7c956450a5a
pplicationInfo.java
ackageParser.java
|
691b806ff8b4a6428588e8495cb1a5819a0aee99 |
30-Mar-2010 |
Romain Guy <romainguy@google.com> |
Merge "Fix possible security issue. Bug #2553187" into froyo
|
ef3f5ddc2137ed99e41f00441b688fb56b855179 |
30-Mar-2010 |
Ben Cheng <bccheng@android.com> |
Replace "safeMode" with a more specific name "vmSafeMode" in the public API. Bug: 2553512 Change-Id: Id0dad80ecdcb8c7430dcf1ac26132ccd9c0770f5
pplicationInfo.java
ackageParser.java
|
2aba11f6b9b7b202742a11797084a23d0f940c35 |
30-Mar-2010 |
Romain Guy <romainguy@google.com> |
Fix possible security issue. Bug #2553187 Limit the max number of lines for each entry in the ResolveActivity to 2. Also make sure to discard potential styling tags and newlines/space characters from package name and activity labels. Change-Id: Ibda3688267aa948b921164d3d3abc8c9236e61a2
ackageItemInfo.java
esolveInfo.java
|
e99bb5f10b90736d10cee9729b56cba156fc0921 |
19-Mar-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Add new method call back in MountService. PackageManager invokes this call back when its done handling the media status update. Add new uid check for updateExternalMediaStatus Change killPids method in ActivityManager. Remove mountsd command in Pm.java We cannot arbitrarily enable/disable packages in PackageManager now. Change-Id: I28dcba4afd2b4486f68abdaa1628a31b66544c91
PackageManager.aidl
|
2e805b19cdb309ea6eeb6d2e8b0915681f831f5a |
22-Mar-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Grammar fixes. Change-Id: I77672d2260c26aee146bb6a853137c14e3db1f28
ackageManager.java
|
806da1d46c94c71728b94dec75dec6519c962b5c |
19-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2512507: Shortcuts and Widgets lost on upgrading from Eclair to FRE70D Apps on the system partition are now allowed to change their certs, as long as they are not using a shared user id. Change-Id: I02ff7ac874dc649b7f8cbb705ae8d7ed31e1d125
ackageParser.java
|
90d8ee650be988d8479f4f14ae8e541bb4cb034b |
18-Mar-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Switch default install location to unspecified. Add a new install location unspecified for backward compatibility. There is not much difference between policies auto and unspecified. But we dont have to make any code changes in PackageParser based on our preference for install location. Add tests Change-Id: I563238133261d911d08fbc66344687b7dfc870b1
ackageInfo.java
ackageParser.java
|
14b6abda1309631d49d4bebbb0317a7e1dfc0a50 |
17-Mar-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Add new install flag to install on internal flash only Change default install location policy for new flag. New error code for media unavailable. Change-Id: I5a5d0828b067692b2b94a15a2bcc7534f796c1a2
ackageManager.java
|
8a9ab24a5c9b595ac0268fcade4b5bbfe7c45c2d |
12-Mar-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Do storage checks before initiating a move. Add new remote method to check for insufficient error conditions. Some fixes in MountService when updating media status on PackageManagerService Fix size calculation condition in installd. Add new error code if media is unavailable. New tests for testing error codes. Some additional debugging statements in MountService. Change-Id: Ibfe90d5ed6c71d57f9c1c67806f38b5ae9ecdfbf
ackageManager.java
|
3de55bcd34afd5871816526294f9514d1adf3fe5 |
13-Mar-2010 |
Christopher Tate <ctate@google.com> |
API CHANGE: expose the backup-related ApplicationInfo flag masks Fixes bug #2507582 by doing the following: - Un-@hide the FLAG_ALLOW_BACKUP, FLAG_KILL_AFTER_RESTORE, and FLAG_RESTORE_ANY_VERSION mask constants in ApplicationInfo. These correspond, respectively, to the <application> manifest tag's android:allowBackup, android:killAfterRestore, and android:restoreAnyVersion attributes. - Remove the android:restoreNeedsApplication attribute and the corresponding FLAG_RESTORE_NEEDS_APPLICATION constant [which was still marked @hide]. We now always use the application's own Application class when performing a normal restore. In the future when we support an externalized full-filesystem backup/restore operation, we will use an OS-defined agent class with a base-class Application instance, but this will not happen until a future release. Also expands real documentation on the above ApplicationInfo constants; that work is part of bug #2465360 Change-Id: I735d07a963ae80a01343637d83bef84e4c23fdcc
pplicationInfo.java
ackageParser.java
|
15a4d2ffd04dc6c70f2cd17dae12ac6bc14c69ab |
12-Mar-2010 |
Kenny Root <kroot@google.com> |
Add correct copyright headers to multiple files Format for the list of changes shows the origin commit reference followed by the file name. 33931-p9 awt/org/apache/harmony/awt/gl/font/AndroidGlyphVector.java 33931-p9 awt/org/apache/harmony/awt/gl/image/PngDecoderJava.java 133776-p9 core/java/android/app/IntentService.java 127013-p9 core/java/android/appwidget/AppWidgetHost.java 27863-p9 core/java/android/bluetooth/BluetoothAudioGateway.java 60765-p9 core/java/android/content/SyncResult.java 43920-p9 core/java/android/content/pm/ActivityInfo.java 43920-p9 core/java/android/content/pm/ApplicationInfo.java 43920-p9 core/java/android/content/pm/InstrumentationInfo.java 43920-p9 core/java/android/content/pm/PackageInfo.java 44103-p9 core/java/android/content/pm/PackageItemInfo.java 68960-p9 core/java/android/content/pm/PackageStats.java 43920-p9 core/java/android/content/pm/ResolveInfo.java 43920-p9 core/java/android/content/pm/ServiceInfo.java 60641-p9 core/java/android/content/res/Configuration.java 60734-p9 core/java/android/content/res/TypedArray.java 137672-p9 core/java/android/inputmethodservice/ExtractButton.java 123112-p9 core/java/android/inputmethodservice/ExtractEditText.java 119291-p9 core/java/android/inputmethodservice/IInputMethodSessionWrapper.java 112946-p9 core/java/android/inputmethodservice/IInputMethodWrapper.java 115078-p9 core/java/android/os/BatteryStats.java 124790-p9 core/java/android/text/style/UpdateAppearance.java 45083-p9 core/java/android/view/RawInputEvent.java 101491-p9 core/java/android/view/inputmethod/EditorInfo.java 114701-p9 core/java/android/view/inputmethod/ExtractedText.java 123112-p9 core/java/android/view/inputmethod/ExtractedTextRequest.java 119291-p9 core/java/com/android/internal/os/HandlerCaller.java 129279-p9 core/java/com/android/internal/os/PkgUsageStats.java 114701-p9 core/java/com/android/internal/view/IInputConnectionWrapper.java 114701-p9 core/java/com/android/internal/view/InputConnectionWrapper.java 84364-p9 opengl/java/android/opengl/EGLLogWrapper.java 11355-p9 opengl/tools/glgen/src/CFunc.java 11355-p9 opengl/tools/glgen/src/CType.java 11355-p9 opengl/tools/glgen/src/CodeEmitter.java 11355-p9 opengl/tools/glgen/src/GenerateGL.java 11355-p9 opengl/tools/glgen/src/JFunc.java 11355-p9 opengl/tools/glgen/src/JType.java 11355-p9 opengl/tools/glgen/src/JniCodeEmitter.java 11355-p9 opengl/tools/glgen/src/ParameterChecker.java 57236-p9 services/java/com/android/server/status/AnimatedImageView.java 66754-p9 services/java/com/android/server/status/CloseDragHandle.java 57188-p9 services/java/com/android/server/status/DateView.java 46928-p9 services/java/com/android/server/status/ExpandedView.java 70590-p9 services/java/com/android/server/status/FixedSizeDrawable.java 45968-p9 services/java/com/android/server/status/IconData.java 57470-p9 services/java/com/android/server/status/IconMerger.java 82719-p9 services/java/com/android/server/status/LatestItemView.java 45968-p9 services/java/com/android/server/status/NotificationData.java 66754-p9 services/java/com/android/server/status/NotificationLinearLayout.java 57458-p9 services/java/com/android/server/status/NotificationViewList.java 45968-p9 services/java/com/android/server/status/StatusBarException.java 45968-p9 services/java/com/android/server/status/StatusBarIcon.java 46130-p9 services/java/com/android/server/status/StatusBarNotification.java 45968-p9 services/java/com/android/server/status/StatusBarView.java 46199-p9 services/java/com/android/server/status/Ticker.java 62286-p9 services/java/com/android/server/status/TickerView.java 57188-p9 services/java/com/android/server/status/TrackingView.java 86041-p9 telephony/java/android/telephony/PhoneStateListener.java 87020-p9 telephony/java/com/android/internal/telephony/TelephonyIntents.java 136269-p9 telephony/java/com/android/internal/telephony/gsm/SpnOverride.java 34409-p9 tests/FrameworkTest/src/com/android/frameworktest/FrameworkTestApplication.java 55717-p9 tests/FrameworkTest/src/com/android/frameworktest/performance/InvalidateCycle.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityLandscape.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityPortrait.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollablePanScan.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollableResize.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollablePanScan.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollableResize.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityResize.java 127341-p9 tests/ImfTest/src/com/android/imftest/samples/ButtonActivity.java 129347-p9 tests/ImfTest/src/com/android/imftest/samples/DialogActivity.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/EditTextActivityDialog.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityNoScrollPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollResize.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivityNotSelected.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivitySelected.java 25959-p9 tests/framework-tests/src/android/test/FrameworkTests.java 46162-p9 tests/framework-tests/src/com/android/internal/http/multipart/MultipartTest.java 77101-p9 tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java 9788976b1465ce982b5ae7c741345edd0ecd9322 core/java/android/accounts/AuthenticatorDescription.java 53332883543868fb83e111a07306368b7772b340 core/java/android/app/UiModeManager.java 93e7e22ec91dbc641d10ca6d70423e1357a95bba core/java/android/app/FullBackupAgent.java 328c0e7986aa6bb7752ec6de3da9c999920bb55f core/java/android/content/CursorEntityIterator.java 307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncQueue.java 307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncOperation.java eb034652c2037a47ebfd99779e8383bb8bb528af core/java/android/content/pm/LabeledIntent.java 49237345d83e62fdb9eb8d50b13ad086636a04fa core/java/android/content/pm/FeatureInfo.java a2b6c3775ed6b8924232d6a01bae4a19740a15f8 core/java/android/content/pm/PackageInfoLite.java 3ecd5f437580e49d80beecd29489d5fb1f7a7db0 core/java/android/content/pm/RegisteredServicesCacheListener.java 5ebbb4a6b3e16f711735ae0615b9a9ea64faad38 core/java/android/content/pm/XmlSerializerAndParser.java c4516a7b62de525e3d6d5e76851bdfaf12c11f05 core/java/android/database/sqlite/SQLiteTransactionListener.java 9bbc21a773cbdfbef2876a75c32bda5839647751 core/java/com/android/internal/backup/LocalTransport.java 21f1bd17b2dfe361acbb28453b3f3b1a110932fa core/java/com/android/internal/content/PackageMonitor.java 4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseSurfaceHolder.java 4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseIWindow.java e540833fdff4d58e37c9ba859388e24e2945ed45 core/java/com/android/internal/os/SamplingProfilerIntegration.java 192ab903887bbb8e7c7b6da5c581573850e30f46 core/tests/coretests/src/android/widget/expandablelistview/PositionTesterContextMenuListener.java 1619367ab823150fa8856d419abe02ceb75886f1 media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java 27f8002e591b5c579f75b2580183b5d1c4219cd4 opengl/tools/glgen/stubs/gles11/glGetString.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetProgramInfoLog.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glShaderSource.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GenerateGLES.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/Jsr239CodeEmitter.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GLESCodeEmitter.java 69e21f5f6e0d04539cd92848ea009dd615d88c2c opengl/tests/gldual/src/com/android/gldual/TriangleRenderer.java c028be4f3b8c7476b46859f66c3f33d528adf181 packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestActivity.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestRunner.java df8a3f31d871db25e952972c2eb346a71186e9e3 tests/BrowserTestPlugin/src/com/android/testplugin/TestPlugin.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java Copyright header moved to top in following file: core/tests/coretests/src/android/widget/ListViewTest.java Change-Id: I3c3198be5a0ba36e18679ed834170432bf0b8418
ctivityInfo.java
pplicationInfo.java
eatureInfo.java
nstrumentationInfo.java
abeledIntent.java
ackageInfo.java
ackageInfoLite.java
ackageItemInfo.java
ackageStats.java
egisteredServicesCacheListener.java
esolveInfo.java
erviceInfo.java
mlSerializerAndParser.java
|
2ee89ea2887252053c31541c54126a8b084c9bca |
11-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Applications should -not- be able to set preferred activities. I can't believe I let this slip through. And in the SDK no less. :( The APIs for setting preferred activities will now throw a security exception when used. This may break some apps, we'll see how it goes. If it is too bad we can just make these log and not throw anything, but I would much prefer they throw an exception. Change-Id: I3aed434750eef8b202aa9d5bd774a0121be521c6
ackageManager.java
|
6069beb2dfed6da837bf7faa3db3f6119edc017a |
10-Mar-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Rename ApplicationInfo.FLAG_ON_SDCARD to ApplicationInfo.FLAG_EXTERNAL_STORAGE Change-Id: Iadef9f9bb2851c38b6d79be1bafbf932abce4210 Change-Id: I2e412bace3d8005db5057a3497bd836d0038b90c
pplicationInfo.java
ackageParser.java
|
cf244ada58539ce857ec041d7288d0271204fbb6 |
10-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Add ability for some manifest attributes to reference resources. This loosens our restriction on many manifest attributes requiring literal string values, to allow various ones to use values from resources. This is only allowed if the resource value does not change from configuration changes, and the restriction is still in place for attributes that are core to security (requesting permissions) or market operation (used libraries and features etc). Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8
ackageParser.java
|
a2b6c3775ed6b8924232d6a01bae4a19740a15f8 |
06-Mar-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Add conditions to check for updated system applications. Restrict them to internal flash only even before we copy. Return error codes when install flag options mismatch. Some conditions for existings apps - install flags override existing location - explicity manifest option install location overrides previous location - if upgraded package's install location is unspecified or auto, fall back to recommended install policy which considers user setting as well. Check for sdcard status before finding available size on sdcard Add light weight parsing for manifest attributes including package name and install location only Change-Id: I5143dda87c88c595f564b317326c926d0ec3ceb8
ackageInfo.java
ackageInfoLite.aidl
ackageInfoLite.java
ackageParser.java
|
50ab63f5831fed5cfa888fb67f0a27eb4c0a86c4 |
06-Mar-2010 |
Dan Morrill <morrildl@google.com> |
Adding definitions & APIs for features that are newly-optional in FroYo. This also refactors the files containing the features so that they are more modular. Note that this also changes data/etc/Android.mk so that required_hardware.xml is NOT copied automatically for all devices anymore. Accordingly, that file is removed.
ackageManager.java
|
20cb56e26e91df91bd64d4251222e0d421cdbe47 |
04-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix some bugs. Bug #2376231: Apps lose window focus (and back key causes ANR) if the lock screen is dismissed while the phone is in landscape mode This is another case where we weren't recomputing the focused window after changing the visibility policy. bug #2479958: Investigate source of "Resources don't contain package for resource number 0x7f0a0000" Um, okay, so it turns out there were bugs all over the place where we would load an XML resource from a another application, but not use the Resources for that application to retrieve its resources...! I think the only reason any of this stuff was working at all was because it typically only cared about retrieving the resource identifiers of the items (it would look up the values later). Bug #2401082: Passion ERE26 monkey crash - InputMethodManagerService Add some null checks.
egisteredServicesCache.java
|
c1552397be706c243338389c628a44eee6011eae |
04-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Allow multiple original-package tags. Also fix some issues with moving files from update commands.
ackageParser.java
|
ef05e076ced1a32c5c0aaee28403779834adb2ba |
02-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2448075: aapt doesn't fix up activity-alias android:targetActivity links And related: - The aapt tool now sets a resource configurations sdk level to match any configs that have been set (for example if you specify density your sdk level will be at least 4). - New option to modify the targetPackage attribute of instrumentation. - Clean up of aapt options help. - Fix of UI type values to leave 0 for "unspecified". - Make the UI mode config APIs public.
ctivityInfo.java
|
1f9e1b4c37c135b75cf064cbb5675aa576e2942a |
26-Feb-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Remove public variables in PackageManager Dont invoke getInstallLocation for forward locked apps. If INSTALL_ON_SDCARD is selected as default, forward locked apps are not being installed because of conflicting flags.
ackageManager.java
|
aaec779513737a70007dea955f60e1b8bcbc2f1a |
25-Feb-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Pick up default install location
ackageParser.java
|
2269d1572e5fcfb725ea55f5764d8c3280d69f6d |
25-Feb-2010 |
Dianne Hackborn <hackbod@google.com> |
Re-arrange android-common so framework no longer links with it. This is the framework part, moving classes around so the framework no longer needs to link to android-common. Makes some APIs public, others that didn't need to be public are private in the framework, some small things are copied.
ackageParser.java
egisteredServicesCache.java
|
3dda518a4fd57cdded3afa50d8aa206501de7fc6 |
25-Feb-2010 |
Christopher Tate <ctate@google.com> |
Add 'restoreAnyVersion' attr for apps that want to restore "future" data If a backup-participating app sets android:restoreAnyVersion="true" in its manifest <application> tag, then its agent will be invoked for restore even if the available dataset was created by a later version of the app than is currently installed on the device. This will not typically be a problem for third party applications, since for them the installation and initial data restore are tightly coupled, but it can cause serious problems for applications which are both preinstalled on the system partition and overridden by later updates. The primary difficulty that this new attribute addresses is this: 1. User buys a Nexus One, Market self-updates, and the user installs some apps. At this point the backup data on the server may indicate that the version of Market which originated its bookkeeping is newer than the stock N1 Market app. 2. User loses their phone, and buys a replacement N1. At setup time, Market has not yet had a chance to self-update, so when the restore comes in, it's tagged as being from "the future" and so the restore is refused. No apps get reinstalled. Bug: 2442127 Change-Id: I076a9553dc613e5c3189350e778315718ed1ed2b
pplicationInfo.java
ackageParser.java
|
cf6eaeaae9e6745dd6e07540812c79821d7043c2 |
24-Feb-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Some framework fixes for apps on sd change hard coded path in installd fix tests Work around for renaming containers. Do forced unmount when destroying containers. Force a gc in default container service to release handle to parsed package and thus avoid getting killed by vold Some cosmetic changes to PackageManager api. Unit tests for renaming container for MountService Remove internal size limit on app to be installed.
PackageManager.aidl
|
1bb6906c7a903ee6427c8ff37bdc5896c386ff73 |
20-Feb-2010 |
Christopher Tate <ctate@google.com> |
Automatically restore app data at install time When an application being installed defines a backupAgent in its manifest, we now automatically perform a restore of the latest-known-good data for that app. This is defined as "data backed up by this app from this handset, if available; otherwise data for this app as it existed when the device was initially provisioned." If neither option exists for the app, no restore action is taken. The CL involves major changes in the Backup and Package Managers... * The Package Manager's act of installing an application has now been split into two separate phases, with a data-restore phase optionally occurring between these two PM actions. First, the details of the install are performed as usual. Instead of immediately notifying install observers and issuing the install-related broadcasts, the in-process install state is snapshotted and the backup manager notified that a restore operation should be attempted. It does this by calling a new API on IBackupManager, passing a token by which it identifies its in-progress install state. The backup manager then downloads [if possible] the data for the newly-installed application and invokes the app's backupAgent to do the restore. After this step, regardless of failure, it then calls back into the Package Manager to indicate that the restore phase has been completed, supplying the token that was passed in the original notification from the Package Manager. The Package Manager then runs the final post-install actions: notifying install observers and sending out all the appropriate broadcasts. It's only at this point that the app becomes visible to the Launcher and the rest of the OS. ... and a few other bits and pieces... * The ApplicationInfo.backupAgentName field has been exposed to the SDK. This can be reverted if there's a reason to do so, but it wasn't clear that this info needs to be hidden from 3rd party apps. * Debug logging of restore set IDs and operation timeout tokens [used during any asynchronous Backup Manager operation] are now consistently in hex for readability. * We now properly reset our binder identity before calling into the transport during restore-set operations. This fixes a permissions failure when a single-app restore was attempted. * The 'BackupTest' test app is no longer lumped onto the system partition by default. Change-Id: If3addefb846791f327e2a221de97c8d5d20ee7b3
pplicationInfo.java
PackageManager.aidl
|
8946dd3355fc1dcbad872c0546e356474d4cc5de |
19-Feb-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Move package from internal to external and vice versa.
PackageManager.aidl
PackageMoveObserver.aidl
ackageManager.java
|
bd3f527ea0fcca2be0f773e5d6832a80a884699f |
19-Feb-2010 |
Mike LeBeau <mlebeau@android.com> |
Elaborate a little on the documentation for PackageManager's resolveActivity. Not sure if this wording is perfectly appropriate, so comments welcome.
ackageManager.java
|
5b993ce7bc29e43a3215a50ce6ce5d6550d4e5e2 |
12-Feb-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Include install location preference when installing packages. Changes include Add new remote call in default container service to determine install location. Rename INSTALL_ON_SDCARD Remove recommentAppInstall method Add some additional flags used in remote stubs. Move check for protected apps prior to copy. Unit tests DefaultContainerService first parses the file uri(if content uri is specified it returns a default install internal only value) and returns a recommended location. Based on which the temporary id is determined either a file name or a container id and the file is copied there. This is then later renamed during install. Todo's light weight parsing of package when determining location since we just need the install location attribute only when finding out recomended location. This will also enable to move the check for updated system apps(cannot be on sdcard) prior to copying.
ackageManager.java
|
470969346d7958f859d97d1a136b4ecc11e2a464 |
12-Feb-2010 |
Dianne Hackborn <hackbod@google.com> |
Add APIs for mapping between new and current package names. This will allow Market and others to find out what the "real" name of a package is, when it is currently running under the old name of a previously installed version.
PackageManager.aidl
ackageManager.java
|
27b28b3f62bd3b54fa13acd5d035940b9be464f3 |
09-Feb-2010 |
Tobias Haamel <haamel@google.com> |
Introduce special UI modes for night and car usage. The device mode is now called ui mode. Furthermore is the order of precedence for the resources now in such a way that the ui mode needs to be specified after the orientation and before the density. The ui mode can be set, like it is done for the locale, as follows: IActivityManager am = ActivityManagerNative.getDefault(); Configuration config = am.getConfiguration(); config.uiMode = Configuration.UI_MODE_TYPE_CAR | Configuration.UI_MODE_NIGHT_ANY; am.updateConfiguration(config); To allow users to disable the car mode and set the night mode the IUiModeManager interface is used. The automatic night mode switching will be added in a separate change.
ctivityInfo.java
|
6dee18c5cfdd5d63f3a9c299d2b61f819c07e920 |
10-Feb-2010 |
Dianne Hackborn <hackbod@google.com> |
New implementation of <original-package> tag. We now have the new package retain the name of the old package. This makes sure that all existing references to it (shortcuts, widgets, etc) will still work. This does mean that your package can run under either the old or new name, depending on whether the user got it with an update. Buyer beware! I have tried testing all of the paths of updating, installing another update in /data, uninstalling the update, updating system with an even newer update, etc. I think they all work. No promises though.
ackageParser.java
|
23085b781e145ed684e7270af1d5ced6800b8eff |
09-Feb-2010 |
Ben Cheng <bccheng@android.com> |
Support per-application switch to execute the VM in safe mode. The new attribute can be set by adding android:safeMode="true" in AndroidManifest.xml with the SDK. Tested with pairing locally compiled SDK with Eclipse and verified that the JIT (the only component currently included in the safe mode) is indeed disabled with the new attribute. Bug: 2267583
pplicationInfo.java
ackageParser.java
|
117818e4f171b1fd9daa05349c48f61388f04567 |
09-Feb-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Add new manifest option for install location Change recommendAppInstallLocation api add code to parse new attribute. Define flags in PackageInfo Add new settings attributes for enabling setting and value for install location Some tests The policy for install location: if explicitly set in manifest as internal only we try to install the app only on internal storage. if set to preferExternal, we try to install it on sdcard if possible. If not we fall back to internal. If the user enables setting SET_INSTALL_LOCATION(which will always be set to false in final release builds) and sets a prefered location, we try to honour it.
ackageInfo.java
ackageManager.java
ackageParser.java
|
e83cefcef07f9ac025642c1ffec76b4c7ab39cf2 |
05-Feb-2010 |
Dianne Hackborn <hackbod@google.com> |
New external storage APIs. This implements the spec for external storage organization, and properly reflects how the media scanner organizes the files it finds. Also includes package manager support for removing app private files from external storage when the application is uninstalled. For the new APIs and paths, the main place to look is Environment and Context.
PackageManager.aidl
ackageManager.java
|
8e867eb454efadca1f45a48d879ee57c883dbb91 |
09-Feb-2010 |
Bjorn Bringert <bringert@android.com> |
Merge "Fix NPE in PackageParser"
|
ace5a3fbfbf1b41905410925f1ea007040a7a675 |
05-Feb-2010 |
Kenny Root <kroot@google.com> |
Hide resourceDirs from public API Change-Id: I070558c0adca43c8650ac740d3cda4334d0f4a50
pplicationInfo.java
|
e04b1ad9cd3d9a159d4c7721a374f987be1062cd |
09-Feb-2010 |
Bjorn Bringert <bringert@android.com> |
Fix NPE in PackageParser Before, PackageParser threw NPE when reading <path-permission> android:writePermission set. Fixes http://b/issue?id=2430967 Change-Id: I4c69f0210ab362a649ff239c5f9e927d93c2f241
ackageParser.java
|
b56ae20b22fd7283df32072a431ab6d4965f3c1b |
05-Feb-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Rename media resource broadcasts Add checks for fwdlocked and updated system apps add more tests remove duplicate adds
ackageManager.java
egisteredServicesCache.java
|
b858dfda5012a1040927ed62c3bb856c3294d882 |
02-Feb-2010 |
Dianne Hackborn <hackbod@google.com> |
Implement system data migration support. This adds three new features: - <original-package android:name="com.foo" /> manifest tag. This allows an .apk to specify another package it originally came from, propagating all state and data from the old to new package. - <adopt-permissions android:name="com.foo" /> manifest tag. In some more complicated cases, a new .apk may be a combination of multiple older .apks that each declared their own permissions. This allows you to propagate the permissions from these other .apks into the new one. - A new system/etc/updatecmds directory. You can place files here which describe data files to move from one package to another. (See below for details.) Also in this change: we now clean up the data directories of .apks that disappear from the system image, and some improvements to logging and reporting error messages. A typical file in the updatecmds directory looks like this: ------- com.google.android.gsf:com.google.android.providers.talk databases/talk.db com.google.android.gsf:com.google.android.googleapps databases/gls.db ------- This says that for com.google.android.sfs, there are two packages to move files from: From com.google.android.providers.talk, the file databases/talk.db. From com.google.android.googleapps, the file databases/gls.db As part of moving the file, its owner will be changed from the old package to whoever is the owner of the new package's data directory. If those two files had existed, after booting you would now have the files: /data/data/com.google.android.gsf/databases/talk.db /data/data/com.google.android.gsf/databases/gls.db Note that all three of these facilities assume that the older .apk is completely removed from the newer system. The WILL NOT work correctly if the older .apk still remains.
ackageParser.java
|
08675a3376819a82aa5ab344bc3e7b1635c30b05 |
28-Jan-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Apps on sdcard: Add new broadcasts Add new broadcasts ACTION_MEDIA_RESOURCES_AVAILABLE and ACTION_MEDIA_RESOURCES_UNAVAILABLE that get broadcast by PackageManagerService when sdcard gets mounted/unmounted by MountService so that packages on sdcard get recognized by various system services as being installed/available or removed/unavailable by the system. The broadcasts are sent before the actual package cleanup which includes mounting/unmounting the packages and we force a gc right after so that any lingering file references to resources on sdcard get released.
egisteredServicesCache.java
|
cdc428bdb73db7e0d3403b6515c65573b182e218 |
01-Feb-2010 |
Oscar Montemayor <oam@google.com> |
Apps on SD project. Javadoc fixes for new method in PackageManager class.
ackageManager.java
|
539d3c475f44b1499499a8b70375a192545cf113 |
30-Jan-2010 |
Oscar Montemayor <oam@google.com> |
Apps on SD card project. Refactored recommendAppInstallLocation(..) method in PackageManager by making it an instance method. Since PackageManager has only abstarct instance methods, moved implementation to ApplicationContext.ApplicationPackageManager class, in line with the rest of the method implementations. Tah way, chage is consistent with best coding practices. Also MockPackageManager received the additional method.
ackageManager.java
|
1228d0a1dddb8c03474ee3823499936a8b1d850c |
28-Jan-2010 |
Oscar Montemayor <oam@google.com> |
Apps on SD card project. This class implements heuristics to determine best app install location, without looking at the package flags (pre-parsing stage).
ackageManager.java
|
8aa2e8939c61d788cbc192098465e79f584e173a |
22-Jan-2010 |
Dianne Hackborn <hackbod@google.com> |
More device admin work: description, policy control. There is now a description attribute associated with all components, that can supply user-visible information about what the component does. We use this to show such information about device admins, and wallpapers are also updated to be able to show this in addition to the existing description in their meta-data. This also defines security control for admins, requiring that they declare the policies they will touch, and enforcing that they do so to be able to use various APIs.
omponentInfo.java
ackageParser.java
|
1edab2b551995a8df25f4b533405d6003b8b8b66 |
22-Jan-2010 |
David 'Digit' Turner <digit@google.com> |
Make PackageManager unpack gdbserver binaries at installation time. Native-debuggable packages contain a lib/<abi>/gdbserver executable. This patch ensures that the package manager will copy it to the proper location (/data/data/<appname>/lib) at installation time. Note that such packages are marked with a new ApplicationInfo flag named FLAG_NATIVE_DEBUGGABLE, to be used later by the Activity Manager.
pplicationInfo.java
|
d1ab01682b136b586aac94334f976f03c762b3c7 |
22-Jan-2010 |
Kenny Root <kroot@google.com> |
Add extra resources field for ApplicationInfo Allow ApplicationInfo to track multiple files it wants to use as resources by adding a string array to its public definition. Change-Id: Ieffc4b1755270520b59c4e5a3c084e86aef02346
pplicationInfo.java
|
8d528c85d00cea5168ed6842f17c7f5afae338c4 |
15-Jan-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Fix build error
pplicationInfo.java
|
af8e9f4805643f90a9dc0ecfa119e0a860c12f8a |
12-Jan-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
app install on sdcard. provide skeleton implementation to install an app on sdcard, just resources. Add new install path for /asec in installd. ignore . when checking for apk path since the sdcard packages id'ed by package name. Add new -s option to adb shell pm Refactor fwd locked from scanMode to ApplicationInfo. Add new flag for sd install Add new parse flags for fwd locking and installing on sdcard New mock api's in PackageManagerService to invoke MountService api's. These will be refactored again and so have been wrapped internally. Some error codes in PackageManager Changes in PackageManagerService to use mPath and mScanPath during installation and switch to using PackageParser.Package.applicationInfo attributes for source and public resource directories. Some known issues that will be addressed later using system_uid for now. needs some tinkering with uid and packagesetting creation to use the actual app uid error handling from vold not very robust. ignoring lot of things for now sending a delayed destroy to delete packages. will revisit later revisit temp file creation later. just copy for now
pplicationInfo.java
PackageManager.aidl
ackageManager.java
ackageParser.java
|
f0108cda21bec61418b24aa6217406072780b5d5 |
22-Dec-2009 |
Tom Taylor <tomtaylor@google.com> |
resolved conflicts for merge of ad2fa35d to master Change-Id: Ia4362cd48ac0689b91003943a4cd9660da72ff90
|
d4a4729c0cac582a2dcec7c8cfb316b81885a0f0 |
21-Dec-2009 |
Tom Taylor <tomtaylor@google.com> |
Update imports to android-common Several files were moved to android-common. Update all the references to import those files from the new location.
ackageParser.java
egisteredServicesCache.java
|
009909b417ba0dd79aad5e9ec887e0562fbb148b |
16-Dec-2009 |
Xavier Ducrohet <xav@android.com> |
am b43b35a0: am e6547423: Merge change I10073d50 into eclair Merge commit 'b43b35a034ad667ba749270537155e7534906153' * commit 'b43b35a034ad667ba749270537155e7534906153': Add Annotation for optional features.
|
3274b9b7da6f3ee0ee0285deb955907adec52bad |
15-Dec-2009 |
Xavier Ducrohet <xav@android.com> |
Add Annotation for optional features. This is used by the SDK to display available features in the editors. Change-Id: I10073d503d1b3dcb92a5dc526cd054285b85fa3a
ackageManager.java
|
8a1b6decfbee41bd513540d86423258743cf8d00 |
03-Dec-2009 |
Dianne Hackborn <hackbod@google.com> |
am e2585127: am 9ed7dc10: am 5886050f: Merge change I0d8f7593 into eclair Merge commit 'e2585127974ce972a013407e2af95d8776a99a8e' * commit 'e2585127974ce972a013407e2af95d8776a99a8e': Fix issue #2296457: PackageManager.addPackageToPreferred needs to a no-op
|
a7ca0e5e320bbb643f8bc9feb4717dbc5e78e0b9 |
01-Dec-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2296457: PackageManager.addPackageToPreferred needs to a no-op Change-Id: I0d8f75938226e1bb49cf7b1154445631b0bb0bc9
ackageManager.java
|
506de3b57667e76cf92086b30d007c21c2cebbfd |
25-Nov-2009 |
Dianne Hackborn <hackbod@google.com> |
am 5417933a: am d1689ea8: am 8e1985d4: Merge change Ie552036f into eclair Merge commit '5417933a456f23a0ca30bb73632feee5dd5f8e46' * commit '5417933a456f23a0ca30bb73632feee5dd5f8e46': Fix issue #2286419: maxSdkVersion causes existing apps to disappear.
|
935ef2c4f43eaa849f62055c383d8fd7dcf3eead |
25-Nov-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2286419: maxSdkVersion causes existing apps to disappear. Change-Id: Ie552036f4ea673e0ce9981ff1cbd1fbe08678510
ackageParser.java
|
187f0749b8412553a0b8ff6abecc1d956653e03b |
20-Nov-2009 |
Dianne Hackborn <hackbod@google.com> |
am 79374643: am b9ab7126: am 524812fb: Merge change I7d40ad9a into eclair Merge commit '7937464319133d478d5e8b386e9d08668eddd8a9' * commit '7937464319133d478d5e8b386e9d08668eddd8a9': More on issue #2271640: Fix wallpaper etc docs
|
08ee42ce864dc2b3ca2ca92af7220a3681d06835 |
20-Nov-2009 |
Dianne Hackborn <hackbod@google.com> |
More on issue #2271640: Fix wallpaper etc docs Publish the features developers may be interested in. Change-Id: I7d40ad9a9f4b9770e2f8dd1b0a729b0d322c062e
ackageManager.java
|
78bceeb925dff57543d7d9cd27f560448fb2e854 |
12-Nov-2009 |
Dianne Hackborn <hackbod@google.com> |
am 8c3fc080: am 5bb200fd: am 2ade6421: Merge change I775e1ec0 into eclair Merge commit '8c3fc0801bb32a99dd5ab97c93bb615999b2c977' * commit '8c3fc0801bb32a99dd5ab97c93bb615999b2c977': Debugging for issue #2250075: Desk dock clock app sometimes doesn't
|
12527f9fb1cb0a1ad3be8149c1c88a0e731cb4d6 |
12-Nov-2009 |
Dianne Hackborn <hackbod@google.com> |
Debugging for issue #2250075: Desk dock clock app sometimes doesn't This adds a history of the last 100 broadcasts that is printed in the debug log, to be able to see what recently happened at the time the bug report was taken. Also does some optimization of the printing of the broadcast records to make it feasible to print this number of entries. (We kind-of need to do this because there are some broadcasts like SIG_STR and SYNC_STATE_CHANGED that are being broadcast a LOT.) Change-Id: I775e1ec0f63369c8bca8c83cee27b95ddc5ec450
ctivityInfo.java
pplicationInfo.java
ackageItemInfo.java
|
bb3921c9dd351d9fb2ca197d2aaf6aa1845f2aea |
12-Nov-2009 |
Fred Quintana <fredq@google.com> |
am 7efa6715: am e871be66: Merge change I735f4553 into eclair-mr2 Merge commit '7efa671569955aead877d10e7d6b1fa3129184a4' * commit '7efa671569955aead877d10e7d6b1fa3129184a4': Make the RegisteredSErvices Cache not allow the registered service for a
|
1874aa487cf5da31f5770d21f0973a417f99247c |
11-Nov-2009 |
Oscar Montemayor <oam@google.com> |
Encrypted File Systems project. Implementation of opt-out flag in AndroidManifest XML file. This flag is necessary for applications to specifythat their daa is never to be encrypted when the encrypted file system feature is commplete and enabled. Encrypted File Systems project. Adding android:neverEncrypt flag to AndroidManifest.XML to allow packages to opt-out from EFS features. Encrypted File Systems Project. Fixing white spaces and end-line issues. Encrypted File SYstems Project: opt-out flag. Removed AndroidManifest.xml changes, as will make that change in a separate integration.
pplicationInfo.java
ackageParser.java
|
5ebbb4a6b3e16f711735ae0615b9a9ea64faad38 |
10-Nov-2009 |
Fred Quintana <fredq@google.com> |
Make the RegisteredSErvices Cache not allow the registered service for a type to change without first uninstalling the previous service for that type, unless the newly installed service is in the system image. Notify the listener when a service is added or removed. Make the AccountManagerService remove the accounts for an authenticator when the registered authenticator changes from one uid to another. Make the AbstractSyncableContentProvider force a sync when the database is first created.
egisteredServicesCache.java
egisteredServicesCacheListener.java
mlSerializerAndParser.java
|
d83006cbe86545a1e8882b1a4ed90005ebf3423e |
29-Oct-2009 |
Suchi Amalapurapu <asuchitra@google.com> |
When upgrading packages with shared user ids make sure we are eliminating the package about to be deleted or upgraded when updating permissions associated with the shared user. Include a simple null check when retrieving the permission. Fix PackageParser to avoid ArrayIndexOutOfBounds exceptions in several places
ackageParser.java
|
8d5ae98549f68a1214a72e6d79456503eb7d96f5 |
06-Oct-2009 |
Suchi Amalapurapu <asuchitra@google.com> |
Make sdk version and code names static finals in PackageParser. Remove api to set these values. Remove an unused method in AppSecurityPermissions
ackageParser.java
|
bd0a81ff1c0e92e80e05e2f12bb1805c7d081e94 |
04-Oct-2009 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #2163789: Way too much logging Dr.No from mcleron. Change-Id: Iaca2268684f83fe8757e64db0b0e047a19755311
ackageParser.java
|
29e4a3c566f435c32f0b95e4ac8e8b33cac6faba |
01-Oct-2009 |
Dianne Hackborn <hackbod@google.com> |
Update from API review. Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
egisteredServicesCacheListener.java
|
a33e3f79259b56b03c7912af35944f34ad190e3c |
30-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2154794: Force close when start facebook application. I think when we were scanning the updated app in the system image, from an older version on the data partition, we were not setting the existing package to have the system flag, so not auto-granting any new permissions. This also includes some other cleanup in the package manager to remove old files in various places, and tighten up logging. Also similar logging cleanup elsewhere. Change-Id: I6d113c7cf7e736ab9be512d6d7c94c806a24199a
ackageParser.java
|
7eca687c2ee8f633678a1cd3ebf0886c0e6bbcf9 |
29-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix bug where we would return null with disabled components. Change-Id: I1624a42803f1c4b02736f558a8eeeeba2890667e
ackageParser.java
|
039c68e75606e837cf021815a0210836724574ad |
27-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
The touch screen is probably a feature. Also extend the feature APIs a bit. Change-Id: I99e932d7f4e61edb0e20f75c55e9831e4b59a14d
PackageManager.aidl
ackageManager.java
|
3b3e145d3c41fd68974e08f799b1fd1f8f060cf0 |
25-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
A variety of work on animations. - The lock screen now fades in and out. - Fixed a bug where we would accidentally freeze the screen when switching to an activity with a different orientation than the current (but the screen itself is in the current orientation). This would mess up the animations on the car dock. - New API to force a particular animation for an activity transition (untested). - New wallpaper animations. - Resources now uses the next API version when in a development build, to help applications being developed against such builds. Change-Id: I2d9998f8400967ff09a04d693dc4ce55f0dbef5b
pplicationInfo.java
|
ffa424800d0338b8b894aef2ea1e3e3344cbda7a |
24-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off Lot of infrastructure for more things to go away when "clear system dialogs" happens, and now do this when we turn on the lock screen. Change-Id: I567130296fe47ce82df065ed58ef21b37416ceaf
ctivityInfo.java
ackageParser.java
|
3ecd5f437580e49d80beecd29489d5fb1f7a7db0 |
17-Sep-2009 |
Fred Quintana <fredq@google.com> |
- Make the AccountManagerService delete accounts that have no Authenticator, both when the package is removed and when the phone is booted. - add the ability to register with the RegisteredServicesCache to be notified when the set of Authenticators changes.
egisteredServicesCache.java
egisteredServicesCacheListener.java
|
93e462b79d6896da10e15e74c5aec6beb098dddf |
16-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #1780928: Need support hiding nav keys. This implements support for devices whose hardware can hide their navigation keys. It works much like the existing keyboardHidden configuration, and for compatibility uses the same configuration change bit. Also add FLAG_TURN_ON_SCREEN for windows, which has the system cause the screen to be turned on when the window is displayed. Great fun when used with FLAG_SHOW_WHEN_LOCKED! Change-Id: I0b867f19af85cfd8786a14cea194b34f7bdd9b7a
ctivityInfo.java
|
eb034652c2037a47ebfd99779e8383bb8bb528af |
07-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Implement all of the infrastructure for configuring wallpapers. Actually being able to configure a wallpaper relies on additional work in the launcher and wallpapers that will be in another change. Also note that this breaks all existing wallpapers, since they now need to include a meta-data item about themselves. This also will be fixed in another change. Change-Id: I97d2c2bd07237abc32f92b9147c32530a2f73c71
abeledIntent.java
esolveInfo.java
erviceInfo.java
|
c42c0dd1c4e2f7a4abaac1b2c9a6344448f9db7a |
03-Sep-2009 |
Jeff Hamilton <jham@android.com> |
Fix the registration of the package changes broadcast receiver. Change-Id: Ib0b49153a0ec1af7c5a92753860df0f46064a7df
egisteredServicesCache.java
|
5e1ab335e6e8fbfa19c64d53880a22f472010953 |
02-Sep-2009 |
Christopher Tate <ctate@android.com> |
Expand apps' control over the settings restore process Applications can now specify two more aspects of the restore process: whether they need to run with their own custom Application subclass rather than being launched in the usual restricted mode during restore, and whether it's okay for the backup manager to kill the app process once restore has completed. The new manifest attributes for these are, respectively, android:restoreNeedsApplication and android:killAfterRestore. If unspecified in the manifest, restoreNeedsApplication is false, and killAfterRestore is true. In order to support kill-after-restore cleanly, this change also adds a new system-process-only interface to the Activity Manager, which will schedule a "commit suicide" event on the target app's main thread looper. The framework backup agents have been given the appropriate new backup attributes as well.
pplicationInfo.java
ackageParser.java
|
49237345d83e62fdb9eb8d50b13ad086636a04fa |
28-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
Add platform infrastructure for features. This introduces a new mechanism to define features associated with a platform, query the current device for the available features, and enforce that apps requiring features that aren't available can't be installed. Also now allows uses-library to specify that a library is optional, so the lack of such a library will not prevent the app from being installed (but if it does exist it will be correctly linked into the app). Change-Id: I5b369b46cfa0b3d37c9e08fd14ef1098a978e67b
onfigurationInfo.java
eatureInfo.aidl
eatureInfo.java
PackageManager.aidl
ackageInfo.java
ackageManager.java
ackageParser.java
|
c748541ca0caffbe33c1d4690773d89c06bb3253 |
27-Aug-2009 |
Suchi Amalapurapu <asuchitra@google.com> |
Add a null check in PackageParser
ackageParser.java
|
4a51c20ce607c74914f90fd897f04080121ac13b |
22-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
I am getting tired of the java doc warnings, so fix them. Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
PackageManager.aidl
roviderInfo.java
|
25660ec2c8175559d86d50bc2bfdef29589d0813 |
13-Aug-2009 |
Joe Onorato <joeo@android.com> |
Unbreak the sdk build. I didn't break it, so if this doesn't fix it, somebody else should give it a shot.
ackageManager.java
|
766cbfe44be3c5013a6a22bd6cd8ad1055a37256 |
13-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
Add new API to compare certs of two UIDs.
PackageManager.aidl
ackageManager.java
|
02f5228c3c224dc8804cbedd40899fa0c42bfd4a |
29-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of f0d83fd9 to master
|
7f2054392e9957d3ba8579ef08c29cfb27df564e |
28-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Updates from API review. * AccessibilityService -- document onBind() to not be implemented. * GestureLibrary.getLearner() -- needs to be hidden. * IntentSender -- remove protected constructors, document that it is retrieved from a PendingIntent. * Hide permissions: SHUTDOWN, STOP_APP_SWITCHES. * Context -- hide BACKUP_SERVICE. * ContextWrapper -- hide getSharedPrefs bla h blah * Intent.parseUri() -- fix docs. * ApplicationInfo.FLAG_TEST_ONLY?!? * Hide MockContext.getSharedPrefs blah blah
pplicationInfo.java
|
d4a1d2e14297a3387fdb5761090961e714370492 |
17-Jul-2009 |
Fred Quintana <fredq@google.com> |
add account manager permission checking
egisteredServicesCache.java
|
c00c04d7d8758a5ade185d465624e47dcf1bd7c0 |
22-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
am 11b822d2: Simplify density compatibility to a boolean. Merge commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864' * commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864': Simplify density compatibility to a boolean.
|
11b822d2a91ea17c34c0cb1c11e80a9a30d72864 |
22-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Simplify density compatibility to a boolean. Instead of a list, we now just have a single boolean indicating whether an application is density aware, and this set set to true by default as of Donut.
pplicationInfo.java
ackageManager.java
ackageParser.java
|
a8339dfec9d1b2c6d6fd2f8268f8075d184f64c0 |
22-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 9fc20b0e: Merge change 8126 into donut Merge commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf' * commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf': First pass at reworking screen density/size APIs.
|
c4db95c077f826585d20be2f3db4043c53d30cf5 |
22-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
First pass at reworking screen density/size APIs. This changes the names of the directories in aapt, to what you see in the list of DpiTest resources. Also adds a new "long" configuration for wide screens, which the platform sets appropriate, and introduces a new kind of resizeability for not large but significantly larger than normal screens which may have compatibility issues.
pplicationInfo.java
ackageParser.java
|
fe923cf2d6b5dec2b49370d70689152e0966c40d |
21-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 2c25fac2: Merge change 8036 into donut Merge commit '2c25fac23e5daafd62238f4c3dd031e3f4cd76f1' * commit '2c25fac23e5daafd62238f4c3dd031e3f4cd76f1': * Disable compatibility mode for all cases.
|
69fff4a72d4dfc9208db79d773ef3ca23350287e |
21-Jul-2009 |
Mitsuru Oshima <oshima@google.com> |
* Disable compatibility mode for all cases.
pplicationInfo.java
ackageParser.java
|
a065b01904d5017232c9b51ccb174412ff57e138 |
20-Jul-2009 |
Mitsuru Oshima <oshima@google.com> |
am 841f13c8: * Reverted the change in PackageParser that I checked by accident * More surface view fix. - correct event translation on surface view. - use compatible window * removed FLAG_NO_COMPATIBILITY_SCALE. It was my misunderstanding of how SurfaceView works, Merge commit '841f13c8e9ff3f7695b6c18a8abcec3c947983ff' * commit '841f13c8e9ff3f7695b6c18a8abcec3c947983ff': * Reverted the change in PackageParser that I checked by accident
|
841f13c8e9ff3f7695b6c18a8abcec3c947983ff |
18-Jul-2009 |
Mitsuru Oshima <oshima@google.com> |
* Reverted the change in PackageParser that I checked by accident * More surface view fix. - correct event translation on surface view. - use compatible window * removed FLAG_NO_COMPATIBILITY_SCALE. It was my misunderstanding of how SurfaceView works, and this was not necessary. * Added compatibility related info to package dumpsys
ackageParser.java
|
a62e3e4d0f4d18f4b8d31876e035d3ae57f88f40 |
13-Jul-2009 |
Mitsuru Oshima <oshima@google.com> |
am ba3ba579: * Use cached resources for widgets Merge commit 'ba3ba57921dedaaef669719c0359c0caf60e008b' * commit 'ba3ba57921dedaaef669719c0359c0caf60e008b': * Use cached resources for widgets
|
ba3ba57921dedaaef669719c0359c0caf60e008b |
09-Jul-2009 |
Mitsuru Oshima <oshima@google.com> |
* Use cached resources for widgets
ackageParser.java
|
54a26bc85f4fe972e929e42b986c65a710a229b3 |
11-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 889c2d37 to master
|
854060af30f928c0a65591e9c8314ae17056e6b8 |
10-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix bug #1873249i: Apps can DoS/brick device This is the problem where various things are listening for broadcasts (such as battery status, PIN/PUK/Network) that an application can send to cause harm to the system. Solving this is tricky because many of these broadcasts are sticky, and I have never figured out how to do permissions with sticky broadcasts in a sane way. So instead, I am going to punt on the general problem and just brute force it: There is new a way for system components to declare specific broadcast actions to be protected, which means that only the system and the phone can send them. This is good enough for now. None of it is exposed in the public API so we can make something a little less stupid in the future if we ever need to.
PackageManager.aidl
ackageParser.java
|
e3f054411b9f025848f68389c4e2c325e76b3826 |
09-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 2af632f8 to master
|
2af632f87d487deaa5b2eb71341cfc4f0c0d1173 |
08-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Add new <path-permission tag for use by global search. This adds a new <path-permission> tag you can use inside of a <provide> to define additional path-based permissions that broaden the global read and write permissions. The initial use for this will be global search, so that a content provider that is protected by permissions can make a part of itself available to global search under another permission. This addresses the issue with global search not being able to request permissions it would need of providers it doesn't know about at build time.
ackageParser.java
athPermission.java
roviderInfo.java
|
c3f60ddaeadb69c1e85198e609e575f55ecc28ac |
09-Jul-2009 |
Mitsuru Oshima <oshima@google.com> |
am 1ecf5d28: Re-implementation of large screen support using window manager. * added background filler surface to fill the outer rim. Using the same layer as dim surface because they never co-exists (in the same window) * clean up the obsolete code in Compatibilt Merge commit '1ecf5d28817f0a051e77488380dcd5bc622ea169' * commit '1ecf5d28817f0a051e77488380dcd5bc622ea169': Re-implementation of large screen support using window manager.
|
1ecf5d28817f0a051e77488380dcd5bc622ea169 |
07-Jul-2009 |
Mitsuru Oshima <oshima@google.com> |
Re-implementation of large screen support using window manager. * added background filler surface to fill the outer rim. Using the same layer as dim surface because they never co-exists (in the same window) * clean up the obsolete code in CompatibiltyMode/ViewRoot for support large screen support.
pplicationInfo.java
ackageParser.java
|
f6ff591decdea6299aab1a5b6f95917800571de4 |
30-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 72eb0aca: Merge change 5483 into donut Merge commit '72eb0acad5cffc57ce5006f6deab29ee259e461e' * commit '72eb0acad5cffc57ce5006f6deab29ee259e461e': Expand support for different screen sizes.
|
723738cfaec3dd7b0fe152c872c41bebf94074c4 |
26-Jun-2009 |
Dianne Hackborn <hackbod@google.com> |
Expand support for different screen sizes. Applications can now declare that they support small, normal, or large screens. Resource selection can also be done based on these sizes. By default, pre-Donut apps are false for small and large, and Donut or later apps are assumed to support all sizes. In either case they can use <supports-screens> in their manifest to declare what they actually support.
ctivityInfo.java
pplicationInfo.java
ackageParser.java
|
c73e9ad55a28f6bec3260e919573e0597fdd23ab |
19-Jun-2009 |
Suchi Amalapurapu <asuchitra@google.com> |
am bc806f65: Remove deprecated api. Aptly rename freeStorageWithIntent to freeStorage. Merge commit 'bc806f65edc33f6eda0f475ac84e5e037a013a90' * commit 'bc806f65edc33f6eda0f475ac84e5e037a013a90': Remove deprecated api. Aptly rename freeStorageWithIntent to freeStorage.
|
bc806f65edc33f6eda0f475ac84e5e037a013a90 |
18-Jun-2009 |
Suchi Amalapurapu <asuchitra@google.com> |
Remove deprecated api. Aptly rename freeStorageWithIntent to freeStorage.
PackageManager.aidl
ackageManager.java
|
8dbbe3b52f815c49be986814743a521f802b4785 |
19-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 63e7155c: Merge change 4696 into donut Merge commit '63e7155c7d1d0c3f0027400aa09e9a45f648a80d' * commit '63e7155c7d1d0c3f0027400aa09e9a45f648a80d': Fix targetSdkVersion, make resize mode a flag, delayed dexopt, easy ApplicationInfo.
|
5c1e00b14d2ef10ec76abf3e951fa8003a67f558 |
19-Jun-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix targetSdkVersion, make resize mode a flag, delayed dexopt, easy ApplicationInfo. - Fix a bug where targetSdkVersion could not be set if minSdkVersion. Stupid, stupid. Also make sure to fail if minSdkVersion is for a code name. Really stupid. - Change the API for resize compatibility mode to be a bit in the flags field, instead of a separate boolean. - Implement delayed dexopting, to avoid the looong full dexopt during boot. This is only enabled for "eng" builds. When in this mode, the activity manager will make sure that a dexopt has been done before loading an .apk into a process, and will try to avoid displaying ANRs if they are due to the dexopt causing some operation to take longer than it normally would (though I make no guarantees about this totally working). - Add API to Context to get the ApplicationInfo for its package, for easy access to things like targetSdkVersion.
pplicationInfo.java
PackageManager.aidl
ackageManager.java
ackageParser.java
|
abb01dba70fa52b3576fa9f6a175f3840b959fde |
18-Jun-2009 |
Dianne Hackborn <hackbod@google.com> |
am c14b9ccd: Extend Intent/Uri conversion for use by Browser Merge commit 'c14b9ccdf13163cae5ce5d21bcf377010b37594b' * commit 'c14b9ccdf13163cae5ce5d21bcf377010b37594b': Extend Intent/Uri conversion for use by Browser
|
c14b9ccdf13163cae5ce5d21bcf377010b37594b |
18-Jun-2009 |
Dianne Hackborn <hackbod@google.com> |
Extend Intent/Uri conversion for use by Browser This introduces a new Uri form of Intent with an "intent:" scheme, and a corresponding update to the parser to handle these, so that the browser can use this generic facility for starting activities based on the links that are clicked and allow for web pages to link to arbitrary intents. There is also a new "package" field on Intent which allows you to limit the components it finds to a given package. This replaces the new method that was added to PackageManger for doing this when resolving activities, and implements it for all Intent queries against the package manager.
PackageManager.aidl
ackageManager.java
|
e1fae30e20b1515eeb036a7c103e1e70de130bdd |
18-Jun-2009 |
Suchi Amalapurapu <asuchitra@google.com> |
Merge commit '0781df94' into manualmerge Conflicts: Android.mk api/current.xml
|
1ccac75e1f1b97eccb916a8de04fc1012b30f6e5 |
12-Jun-2009 |
Suchi Amalapurapu <asuchitra@google.com> |
Remove circular dependency in PackageManager. api freeStorage uses PendingIntent from android.app Create a new public IntentSender class that can be used by PackageManager instead. This new class uses IIntentSender internally and can only be created by PendingIntent for now. Provide a new getIntentSender api in PendingIntent to create an instance of this class. Move IIntentSender and IIntentReceiver from android.app to android.content Change imports of IIntentSender and IIntentReceiver to reflect the new package name The PackageManager api has been named as freeStorageWithIntent and will be renamed as freeStorage once the older api(which has been deprecated) will be removed shortly.
PackageManager.aidl
ackageManager.java
|
9788976b1465ce982b5ae7c741345edd0ecd9322 |
15-Jun-2009 |
Fred Quintana <fredq@google.com> |
add icon and label to the authenticator description
egisteredServicesCache.java
|
bd6b11dd582d7c7dde64e355f967f5ed77a9870d |
11-Jun-2009 |
Mitsuru Oshima <oshima@google.com> |
am e5fb3288: resolution support fix/improvement * adding compatibility menu * backup gravity * set expanable=true if the screen size is hvga * density. * added "supports any density" mode. I\'ll add sdk check later. * disallow to catch orientation c Merge commit 'e5fb328825995aa33b5b7ecf8b5bee2b17f81715' * commit 'e5fb328825995aa33b5b7ecf8b5bee2b17f81715': resolution support fix/improvement
|
e5fb328825995aa33b5b7ecf8b5bee2b17f81715 |
10-Jun-2009 |
Mitsuru Oshima <oshima@google.com> |
resolution support fix/improvement * adding compatibility menu * backup gravity * set expanable=true if the screen size is hvga * density. * added "supports any density" mode. I'll add sdk check later. * disallow to catch orientation change event if the app is not expandable. This was causing layout problem under non-expandable mode. I discussed this with Mike C and we agreed to do this approach for now. We'll revisit if this causes problem to a lot of applications.
pplicationInfo.java
|
76ff31b201da1e4b0b9cfe21bf5a877cc9d645fe |
06-Jun-2009 |
Suchi Amalapurapu <asuchitra@google.com> |
am d299b819: Add a new attribute to android manifest for defining the GLES version number. This attribute is parsed by the PackageParser into ConfigurationInfo. The major and minor version numbers are defined as the higher and lower order bits. Merge commit 'd299b8194dde8c4875e5f032918ab35ebad8b1f1' * commit 'd299b8194dde8c4875e5f032918ab35ebad8b1f1': Add a new attribute to android manifest for defining the GLES version number.
|
d299b8194dde8c4875e5f032918ab35ebad8b1f1 |
05-Jun-2009 |
Suchi Amalapurapu <asuchitra@google.com> |
Add a new attribute to android manifest for defining the GLES version number. This attribute is parsed by the PackageParser into ConfigurationInfo. The major and minor version numbers are defined as the higher and lower order bits.
onfigurationInfo.java
ackageParser.java
|
342d59d3197caa1cd1de7a600c6e0ba4a59883f4 |
04-Jun-2009 |
Mitsuru Oshima <oshima@google.com> |
am 9189cabb: * Moved supports-density tag under manifest * Refactored Compatibility code * Added CompatibilityInfo class * Removed getApplicationScale from Context * Added Resources#getCompatibilityInfo so that RootView can get the compatibility info w/o going through Context * Expandable support * Added expandable tag under manifest * Old application w/o expandable is given the default screen size ([320, 480] x density). * The non-expandable window is centered. Merge commit '9189cabb0b6c6c28232fe6f412b7ba7a37352a6a' * commit '9189cabb0b6c6c28232fe6f412b7ba7a37352a6a': * Moved supports-density tag under manifest
|
9189cabb0b6c6c28232fe6f412b7ba7a37352a6a |
03-Jun-2009 |
Mitsuru Oshima <oshima@google.com> |
* Moved supports-density tag under manifest * Refactored Compatibility code * Added CompatibilityInfo class * Removed getApplicationScale from Context * Added Resources#getCompatibilityInfo so that RootView can get the compatibility info w/o going through Context * Expandable support * Added expandable tag under manifest * Old application w/o expandable is given the default screen size ([320, 480] x density). * The non-expandable window is centered.
pplicationInfo.java
ackageManager.java
ackageParser.java
|
ae8c5b868fa518306b50e08da9e5258ad075fa61 |
03-Jun-2009 |
Satish Sampath <satish@android.com> |
am 8dbe612d: Adding internal method replacePreferredActivity. Merge commit '8dbe612dc60526d635e57257b58627b33a099678' * commit '8dbe612dc60526d635e57257b58627b33a099678': Adding internal method replacePreferredActivity.
|
8dbe612dc60526d635e57257b58627b33a099678 |
03-Jun-2009 |
Satish Sampath <satish@android.com> |
Adding internal method replacePreferredActivity. This was required because we need a way to set the preferred activity for a particular intent filter based on user selection (in our case the ACTION_WEB_SEARCH intent filter for selecting the preferred search engine from the list of available search engines providers). The current addPreferredActivity call was not sufficient since it leaves the existing preferred activities in the list and does not remove them, which this call does.
PackageManager.aidl
ackageManager.java
|
7c49790cde0acb494b6e8980662842c95dd8859a |
01-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 162c9d0e: Merge change 2805 into donut Merge commit '162c9d0e90eaa71adc8c7d1456d1a9a95e638c47' * commit '162c9d0e90eaa71adc8c7d1456d1a9a95e638c47': base: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE
|
5a3a77dabd744d5be79d7745c2a977c108a9ad98 |
01-Jun-2009 |
San Mehat <san@google.com> |
base: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE Signed-off-by: San Mehat <san@google.com>
ackageParser.java
|
ad6042aa2342d0a869f84772774b47ae87346ccf |
01-Jun-2009 |
Christopher Tate <ctate@google.com> |
am 181fafaf: Retool the backup process to use a new \'BackupAgent\' class Merge commit '181fafaf48208978b8ba2022683ffa78aaeddde1' * commit '181fafaf48208978b8ba2022683ffa78aaeddde1': Retool the backup process to use a new 'BackupAgent' class
|
181fafaf48208978b8ba2022683ffa78aaeddde1 |
14-May-2009 |
Christopher Tate <ctate@google.com> |
Retool the backup process to use a new 'BackupAgent' class Backups will be handled by launching the application in a special mode under which no activities or services will be started, only the BackupAgent subclass named in the app's android:backupAgent manifest property. This takes the place of the BackupService class used earlier during development. In the cases of *full* backup or restore, an application that does not supply its own BackupAgent will be launched in a restricted manner; in particular, it will be using the default Application class rather than any manifest-declared one. This ensures that the app is not running any code that may try to manipulate its data while the backup system reads/writes its data set.
pplicationInfo.java
ackageParser.java
|
8e19b7c0e4c578703a1df0f8346b22b9e7c8a0f7 |
29-May-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am a3d28bd5: Merge change 520 into donut Merge commit 'a3d28bd5c278f750c70f2b87fce23df221cd4a01' * commit 'a3d28bd5c278f750c70f2b87fce23df221cd4a01': Enforce permissions for PhoneStateListener events.
|
45515659438964ec47f4feac247f0e9dce587c86 |
24-Apr-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Enforce permissions for PhoneStateListener events. PhoneStateListener events like LISTEN_CALL_STATE_CHANGED, have privacy information like phone numbers and hence, need to be protected with a permission. The permission READ_PHONE_STATE is used for this purpose. Use the permission trick to ensure backward compatability.
ackageParser.java
|
385bb79ebb436e5672915eac2fc1a4fcdedf88b6 |
23-May-2009 |
Dianne Hackborn <hackbod@google.com> |
am b181118b: Define TARGET_CPU_ABI for finding native code in .apks Merge commit 'b181118b6e58c0014da4e9d52bf38548adc73a8a' * commit 'b181118b6e58c0014da4e9d52bf38548adc73a8a': Define TARGET_CPU_ABI for finding native code in .apks
|
b181118b6e58c0014da4e9d52bf38548adc73a8a |
22-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Define TARGET_CPU_ABI for finding native code in .apks
ackageManager.java
|
62da8461ed5317fe78ae5e3793662694e7fc99a3 |
14-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Implement compatibility support for WRITE_SDCARD permission. Now old applications will automatically be granted it. Also renamed it from SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions, and re-arranged how we do targetSdkVersion to actually be usuable for this kind of stuff. Note that right now this results in basically all apps being given the WRITE_SDCARD permission, because their targetSdkVersion is not set. I will be dealing with that in a future change.
pplicationInfo.java
ackageParser.java
|
a96cbb435d7b2197ab2b61fd98d14cbd6e0c5c3d |
14-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Implement compatibility support for WRITE_SDCARD permission. Now old applications will automatically be granted it. Also renamed it from SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions, and re-arranged how we do targetSdkVersion to actually be usuable for this kind of stuff. Note that right now this results in basically all apps being given the WRITE_SDCARD permission, because their targetSdkVersion is not set. I will be dealing with that in a future change.
pplicationInfo.java
ackageParser.java
|
dd6face5a66ed6c9ac24b2754ec046b82881182c |
15-May-2009 |
Mihai Preda <preda@google.com> |
am eae850ce: Allow intent resolution to be constrained by package name. Merge commit 'eae850cefe7e149f396c9e8ca1f34ec02b20a3f0' * commit 'eae850cefe7e149f396c9e8ca1f34ec02b20a3f0': Allow intent resolution to be constrained by package name.
|
eae850cefe7e149f396c9e8ca1f34ec02b20a3f0 |
13-May-2009 |
Mihai Preda <preda@google.com> |
Allow intent resolution to be constrained by package name.
PackageManager.aidl
ackageManager.java
|
a086a973ddc2e1986116a54c284b3e2c71bff297 |
13-May-2009 |
Dianne Hackborn <hackbod@google.com> |
am e7fe35b: Whoops fix installing. I am dumb. Merge commit 'e7fe35b88aa77766d322b8a683995a2bdae6210d' * commit 'e7fe35b88aa77766d322b8a683995a2bdae6210d': Whoops fix installing. I am dumb.
|
e7fe35b88aa77766d322b8a683995a2bdae6210d |
13-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Whoops fix installing. I am dumb.
ackageParser.java
|
d2b4929ba00939c1aa5037927f27427637cc2f68 |
13-May-2009 |
Dianne Hackborn <hackbod@google.com> |
am ade3eca: Implement issue #1783881 (manifest option for adb-install-on Merge commit 'ade3ecad94d1f4431576f53bae26c35efbf7a2c9' * commit 'ade3ecad94d1f4431576f53bae26c35efbf7a2c9': Implement issue #1783881 (manifest option for adb-install-only apps)
|
ade3ecad94d1f4431576f53bae26c35efbf7a2c9 |
12-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #1783881 (manifest option for adb-install-only apps) You can now use android:testOnly="true" to not allow your .apk to be installed as a normal app. The only way to do so is with the pm command and giving the -t option, which sets a new INSTALL_ALLOW_TEST flag when installing. I also used this to clean up the install API... actually, mostly to hide it, since it is not accessible to apps so shouldn't be in the SDK. We will be doing some more work on it, so this will prevent adding yet another backwards-compatibility-for-no-reason version.
pplicationInfo.java
PackageInstallObserver.aidl
ackageManager.java
ackageParser.java
|
c64322c35212e919906ffd66118c7d5d3ad36636 |
28-Apr-2009 |
Jacek Surazski <jaceks@google.com> |
PackageManager keeps track of who installed what. Stores the package name of the installer app in packages.xml
PackageManager.aidl
ackageManager.java
|
65e13171e12cb9e9fc2f608d0c8a92cd3c098648 |
28-Apr-2009 |
Jacek Surazski <jaceks@google.com> |
PackageManager keeps track of who installed what. Stores the package name of the installer app in packages.xml
PackageManager.aidl
ackageManager.java
|
d01547761a8ec4bd1bcc4799a537b6fdcd9d24bc |
11-May-2009 |
Dianne Hackborn <hackbod@google.com> |
am 1655be4: Fix issue #1837610 and #1753079 Merge commit '1655be46d2b7d45f071a6a1411ac8bd41c749c21' * commit '1655be46d2b7d45f071a6a1411ac8bd41c749c21': Fix issue #1837610 and #1753079
|
1655be46d2b7d45f071a6a1411ac8bd41c749c21 |
08-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #1837610 and #1753079 Issue 1837610 Adding a Widget before Running the Associated App Causes a Force Close We were not retrieving the shared libraries of an application when deliving a broadcast to an explicit component. Issue 1753079 loading class path of instrumented app into instrumentation may load wrong path when instrumented app shares process with other apps: We were using the ApplicationInfo that was used to originally create the process, not the one that the instrumentation is against.
ackageManager.java
|
849e89c94d206d9723fd5635ed6e7a69814849e3 |
09-May-2009 |
Dianne Hackborn <hackbod@google.com> |
am 851a541: Implement targetSdkVersion and maxSdkVersion, plus version c Merge commit '851a54143c15a1c33361efae2db3f7f45059b472' * commit '851a54143c15a1c33361efae2db3f7f45059b472': Implement targetSdkVersion and maxSdkVersion, plus version code names.
|
851a54143c15a1c33361efae2db3f7f45059b472 |
08-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Implement targetSdkVersion and maxSdkVersion, plus version code names. This adds new attributes for specifying a targetSdkVersion and maxSdkVersion. There is a new ApplicationInfo flag that is set if the application has set its targetSdkVersion to the current platform or later. Also you can now use a string for minSdkVersion and targetSdkVerion, to indicate you are building against a development tree instead of an official platform.
pplicationInfo.java
ackageManager.java
ackageParser.java
|
718d8a2d7ff3e864a73879eb646f46c14ab74d07 |
30-Apr-2009 |
Fred Quintana <fredq@google.com> |
decouple SyncAdapter from ContentProvider
PackageManager.aidl
roviderInfo.java
egisteredServicesCache.java
|
257eef353dfc9519b63e3fe2616505c5534b460a |
27-Apr-2009 |
Mitsuru Oshima <> |
Merge branch 'readonly-p4-donut' into donut
|
8d112675879a2b83197d3b4ae4fb623abd1a1ec3 |
27-Apr-2009 |
Mitsuru Oshima <> |
AI 147845: Compatibility mode support. Part 1 Adding supports-density tag to manifest file/ApplicationInfo. BUG=1752478 Automated import of CL 147845
pplicationInfo.java
ackageManager.java
ackageParser.java
|
1d442e0d990b581357f33f5463c7c5cb49b551e8 |
21-Apr-2009 |
Dianne Hackborn <hackbod@google.com> |
More optimization of dumpsys output. There are three major classes of changes here: - Avoid writing lines where their values are often empty, false, or some other typical thing. - Use partial writes to the PrintWriter to avoid creating temporary strings. - Use StringBuilder where we need to generate real String objects (and where possible cache the result).
ackageParser.java
|
105925376f8d0f6b318c9938c7b83ef7fef094da |
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@140373
ackageManager.java
|
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 |
09-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137197
ackageParser.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
ctivityInfo.aidl
ctivityInfo.java
pplicationInfo.aidl
pplicationInfo.java
omponentInfo.java
onfigurationInfo.java
PackageDataObserver.aidl
PackageDeleteObserver.aidl
PackageInstallObserver.aidl
PackageManager.aidl
PackageStatsObserver.aidl
nstrumentationInfo.aidl
nstrumentationInfo.java
ackageInfo.aidl
ackageInfo.java
ackageItemInfo.java
ackageManager.java
ackageParser.java
ackageStats.aidl
ackageStats.java
ermissionGroupInfo.aidl
ermissionGroupInfo.java
ermissionInfo.aidl
ermissionInfo.java
roviderInfo.aidl
roviderInfo.java
esolveInfo.aidl
esolveInfo.java
erviceInfo.aidl
erviceInfo.java
ignature.aidl
ignature.java
ackage.html
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
ctivityInfo.aidl
ctivityInfo.java
pplicationInfo.aidl
pplicationInfo.java
omponentInfo.java
onfigurationInfo.java
PackageDataObserver.aidl
PackageDeleteObserver.aidl
PackageInstallObserver.aidl
PackageManager.aidl
PackageStatsObserver.aidl
nstrumentationInfo.aidl
nstrumentationInfo.java
ackageInfo.aidl
ackageInfo.java
ackageItemInfo.java
ackageManager.java
ackageParser.java
ackageStats.aidl
ackageStats.java
ermissionGroupInfo.aidl
ermissionGroupInfo.java
ermissionInfo.aidl
ermissionInfo.java
roviderInfo.aidl
roviderInfo.java
esolveInfo.aidl
esolveInfo.java
erviceInfo.aidl
erviceInfo.java
ignature.aidl
ignature.java
ackage.html
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
ackageManager.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
ackageManager.java
|
3001a035439d8134a7d70d796376d1dfbff3cdcd |
19-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@132276
ackageInfo.java
ackageParser.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
onfigurationInfo.java
PackageManager.aidl
ackageManager.java
|
f1e484acb594a726fb57ad0ae4cfe902c7f35858 |
22-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127436
PackageManager.aidl
ackageManager.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
ctivityInfo.java
pplicationInfo.java
onfigurationInfo.java
PackageManager.aidl
nstrumentationInfo.java
ackageInfo.java
ackageItemInfo.java
ackageManager.java
ackageParser.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
ctivityInfo.aidl
ctivityInfo.java
pplicationInfo.aidl
pplicationInfo.java
omponentInfo.java
PackageDataObserver.aidl
PackageDeleteObserver.aidl
PackageInstallObserver.aidl
PackageManager.aidl
PackageStatsObserver.aidl
nstrumentationInfo.aidl
nstrumentationInfo.java
ackageInfo.aidl
ackageInfo.java
ackageItemInfo.java
ackageManager.java
ackageParser.java
ackageStats.aidl
ackageStats.java
ermissionGroupInfo.aidl
ermissionGroupInfo.java
ermissionInfo.aidl
ermissionInfo.java
roviderInfo.aidl
roviderInfo.java
esolveInfo.aidl
esolveInfo.java
erviceInfo.aidl
erviceInfo.java
ignature.aidl
ignature.java
ackage.html
|