Commit Graph

6001 Commits

Author SHA1 Message Date
Todd Kennedy
9467febacf Merge "Change protection level from ephemeral to instant" into oc-mr1-dev am: ef2e7d27ae
am: a1f2f3eb7b

Change-Id: If8801cd35c71e35cbb11881dca18a58bab1b4aff
2017-08-14 23:48:21 +00:00
Todd Kennedy
4d725903ae Merge "Hide internal value" into oc-mr1-dev am: d57287be19
am: c25cb8f933

Change-Id: Ie0285e781f82ffe400dcedf1e853385d185b5327
2017-08-14 23:25:11 +00:00
TreeHugger Robot
ef2e7d27ae Merge "Change protection level from ephemeral to instant" into oc-mr1-dev 2017-08-14 23:18:45 +00:00
TreeHugger Robot
d57287be19 Merge "Hide internal value" into oc-mr1-dev 2017-08-14 22:52:25 +00:00
Michal Karpinski
10a23a69bb Add extra about SDK version that system restore happened from to ACTION_SETTING_RESTORED intent am: 6135a26551
am: 1a7a743fea

Change-Id: If9b944d16dfc297f8cd0a3eded191170fd278b90
2017-08-14 13:28:57 +00:00
Michal Karpinski
6135a26551 Add extra about SDK version that system restore happened from
to ACTION_SETTING_RESTORED intent

Test: manual (system restore from N-MR1 and O)
Bug: 64232609
Change-Id: I142df7acb11309bc4f5f185e45a1f91f86d0334a
2017-08-14 11:22:15 +01:00
Jeff Sharkey
b358b9f673 Merge "Remove a bunch of deprecated @SystemApi." into oc-mr1-dev am: c2e09129e0
am: b2a9f55488

Change-Id: Ib7e00ad3b02bf62fad1cc32c9e6002b2b7a45369
2017-08-12 03:38:00 +00:00
Jeff Sharkey
c2e09129e0 Merge "Remove a bunch of deprecated @SystemApi." into oc-mr1-dev 2017-08-12 03:21:01 +00:00
Sunny Goyal
89b36aead8 Merge "Promoting installExistingPackage to SystemApi" into oc-mr1-dev am: 6561f067bb
am: 675ae0a16f

Change-Id: I2306aa572a17ec637bdeca0f98ed4e07eb48622c
2017-08-12 00:14:04 +00:00
Peter Qiu
c685c4d350 Merge "Reland: PackageManager: update documentation for FEATURE_WIFI_PASSPOINT" into oc-mr1-dev am: 3df6be7875
am: de90ca8412

Change-Id: Idace7218dc222d6edcebf77861f941a3684a3211
2017-08-11 23:27:24 +00:00
Todd Kennedy
877e979b10 Hide internal value
Change-Id: I208b46fa3901e3fe9c1157d75898996024854f2f
Fixes: 62264034
Test: Manual
2017-08-11 22:04:02 +00:00
Todd Kennedy
c247fa1366 Change protection level from ephemeral to instant
Change-Id: If4b01e5f0728f1d1d7e6903b362dcbedc67a9b3f
Fixes: 62264194
Test: Manual. install an instant app and see that it still works
2017-08-11 22:02:29 +00:00
TreeHugger Robot
6561f067bb Merge "Promoting installExistingPackage to SystemApi" into oc-mr1-dev 2017-08-11 21:56:59 +00:00
TreeHugger Robot
3df6be7875 Merge "Reland: PackageManager: update documentation for FEATURE_WIFI_PASSPOINT" into oc-mr1-dev 2017-08-11 21:28:00 +00:00
Jeff Sharkey
8478911f5e 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
2017-08-11 14:45:47 -06:00
Jeff Sharkey
3994a887f2 Merge "Fix handling of @removed APIs." into oc-mr1-dev am: 5cb2d64b9b
am: aff3d6cf6b

Change-Id: Idab5d726027922c66b0ecfe23c3d4f1ea9d2b7a5
2017-08-10 15:37:52 +00:00
Jeff Sharkey
5cb2d64b9b Merge "Fix handling of @removed APIs." into oc-mr1-dev 2017-08-10 15:18:58 +00:00
Narayan Kamath
8ec374d28e Merge "PackageParser: Parse android:classLoader during the full parse." into oc-mr1-dev am: af706b40de
am: b51eae5825

Change-Id: Idf542e9ee44362617ac247aa6c85921c76778e37
2017-08-10 11:28:24 +00:00
Narayan Kamath
af706b40de Merge "PackageParser: Parse android:classLoader during the full parse." into oc-mr1-dev 2017-08-10 11:04:40 +00:00
Dianne Hackborn
47d8634cb7 Merge "Go: add features for low ram / normal ram devices." into oc-mr1-dev am: c75f43c1ab
am: a6a33976a3

Change-Id: I0086f082e8d7b74f64dc9e762048e4f0e9579812
2017-08-10 04:53:22 +00:00
TreeHugger Robot
c75f43c1ab Merge "Go: add features for low ram / normal ram devices." into oc-mr1-dev 2017-08-10 04:35:09 +00:00
Dianne Hackborn
2a103f126f Go: add features for low ram / normal ram devices.
Automatically populated from ActivityManager.isLowRamDevice().

Test: manual

Change-Id: I027b8ae0205c9793a91ffdd2635479610a62aff9
2017-08-09 17:14:00 -07:00
Garry Boyer
478f94ba7f Merge "Revert multi-package APK flag to off." into oc-mr1-dev 2017-08-09 23:24:28 +00:00
Jeff Sharkey
f52db085e2 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
2017-08-09 09:18:20 -06:00
Todd Kennedy
fab8fa6b81 Merge "Allow applications to define failure handlers" into oc-mr1-dev am: e551d361ac
am: 4cb468814c

Change-Id: Idc4d9eec433255f653a8cc842ce73f2d436973e4
2017-08-09 15:18:14 +00:00
TreeHugger Robot
e551d361ac Merge "Allow applications to define failure handlers" into oc-mr1-dev 2017-08-09 14:55:09 +00:00
Narayan Kamath
96c11c58c9 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
2017-08-09 15:32:00 +01:00
Sunny Goyal
07f41fb67e Promoting installExistingPackage to SystemApi
Bug: 38269105
Test: N/A
Change-Id: If45076b00e91cd4cc8a887b0f36d427d8a5cdaf3
2017-08-09 02:58:00 -07:00
Makoto Onuki
43af9beff3 Merge "Intern process names." into oc-mr1-dev am: a530d79209
am: 3debaa72d4

Change-Id: Iaa2fe2ca2d7680b99f170f2486b3018704e45432
2017-08-09 01:51:41 +00:00
Philip P. Moltmann
a064b6d12b Revert "Revert session-transfer change" am: 7460c5917b
am: ccf0225c38

Change-Id: I30cc91c765e05e33f9b60005d29ad5f954a2fd23
2017-08-09 01:40:51 +00:00
Philip P. Moltmann
ccf0225c38 Revert "Revert session-transfer change"
am: 7460c5917b

Change-Id: I9f7927993fb3166cc6aeca751dd97aebc277a5db
2017-08-09 01:11:49 +00:00
TreeHugger Robot
a530d79209 Merge "Intern process names." into oc-mr1-dev 2017-08-09 01:10:03 +00:00
TreeHugger Robot
81021c77c8 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"
2017-08-09 01:01:11 +00:00
Todd Kennedy
f39e0569ca Merge "Add virtual preload bit to ApplicationInfo" into oc-mr1-dev am: 6bf2990e28
am: bc0e1e2766

Change-Id: Ie127f827fc1879dcb04f64810ff5c20446e4905a
2017-08-09 00:29:17 +00:00
TreeHugger Robot
6bf2990e28 Merge "Add virtual preload bit to ApplicationInfo" into oc-mr1-dev 2017-08-08 23:33:03 +00:00
Todd Kennedy
d0084f7583 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
2017-08-08 22:17:13 +00:00
Makoto Onuki
812d188afb Intern process names.
Bug: 62144301
Test: Boot and start random apps on a secondary user
Change-Id: I8a9b475410c52e1063cff5519b0297ad69dd7925
2017-08-08 14:58:48 -07:00
Todd Kennedy
5eb5a7db83 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
2017-08-08 13:50:07 -07:00
Philip P. Moltmann
7460c5917b Revert "Revert session-transfer change"
This reverts commit 9890f8b426.

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
2017-08-08 13:17:15 -07:00
Philip P. Moltmann
3cb46e1a86 Merge "Revert session-transfer change" into oc-mr1-dev am: 7bec053dff
am: ddeb0a578a

Change-Id: I1dd82bedd35f297931608595da7f8b1e496e8285
2017-08-08 20:07:04 +00:00
Philip P. Moltmann
7bec053dff Merge "Revert session-transfer change" into oc-mr1-dev 2017-08-08 19:49:13 +00:00
Philip P. Moltmann
9890f8b426 Revert session-transfer change
This reverts:
5d74493f64
94deaf7725

Bug: 64467704
Test: none, 100% revert
Change-Id: I6534c19c594dadfa41457725988485a67f0ed45f
2017-08-08 11:04:56 -07:00
Todd Kennedy
b6ff3774fc Merge "Add native bindings for getNamesForUids" into oc-mr1-dev am: 8c18e1faf8
am: 3ff3e75fb2

Change-Id: I21a656cd60896a73dd0ca07b47f09af92f874dff
2017-08-08 16:23:09 +00:00
TreeHugger Robot
8c18e1faf8 Merge "Add native bindings for getNamesForUids" into oc-mr1-dev 2017-08-08 15:58:41 +00:00
Peter Qiu
3d615e4568 Reland: PackageManager: update documentation for FEATURE_WIFI_PASSPOINT
Bug: 64331342
Test: make checkbuild

Change-Id: I92728a4076d319431a102da3b095f560c11f4947
2017-08-08 08:33:16 -07:00
Philip P. Moltmann
615fefc04a Merge changes from topic 'TransferInstallSession-oc-mr1-dev' into oc-mr1-dev am: fdaad13803
am: f288de8421

Change-Id: Ia429dfd3ee1f44094ba519d22300297326f3421e
2017-08-08 01:07:17 +00:00
TreeHugger Robot
fdaad13803 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
2017-08-08 00:45:48 +00:00
Garrett Boyer
476725d011 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 17041530bf)
2017-08-07 23:15:07 +00:00
Makoto Onuki
c7421baee7 Merge "Reduce duplicate strings due to the package cache." into oc-mr1-dev am: ce3e863f31
am: a0518fb7ac

Change-Id: I02cfeba937fac4815c55ea158dfdc9723a2a2031
2017-08-07 21:41:12 +00:00
TreeHugger Robot
ce3e863f31 Merge "Reduce duplicate strings due to the package cache." into oc-mr1-dev 2017-08-07 21:05:42 +00:00