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
aff3d6cf6b
Merge "Fix handling of @removed APIs." into oc-mr1-dev
...
am: 5cb2d64b9b
Change-Id: I1ac9843cc17efc4ea088e5738c38dcd2ad79e5c5
2017-08-10 15:26:22 +00:00
Jeff Sharkey
5cb2d64b9b
Merge "Fix handling of @removed APIs." into oc-mr1-dev
2017-08-10 15:18:58 +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
Dianne Hackborn
a6a33976a3
Merge "Go: add features for low ram / normal ram devices." into oc-mr1-dev
...
am: c75f43c1ab
Change-Id: Icf9405de74c4d137b9c8cd0981846a08862ef231
2017-08-10 04:43:52 +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
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
Todd Kennedy
4cb468814c
Merge "Allow applications to define failure handlers" into oc-mr1-dev
...
am: e551d361ac
Change-Id: I5c325e4bef2274d35fec3a0653043745383c77b6
2017-08-09 15:05:44 +00:00
TreeHugger Robot
e551d361ac
Merge "Allow applications to define failure handlers" into oc-mr1-dev
2017-08-09 14:55:09 +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
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
Todd Kennedy
bc0e1e2766
Merge "Add virtual preload bit to ApplicationInfo" into oc-mr1-dev
...
am: 6bf2990e28
Change-Id: Ia860bf5f5fc6b5851f076960e8228952f733e3ba
2017-08-08 23:58:02 +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
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
ddeb0a578a
Merge "Revert session-transfer change" into oc-mr1-dev
...
am: 7bec053dff
Change-Id: I0e9f40dccf423899b48ba8af9f2c266d6f32dc1f
2017-08-08 19:57:56 +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
Fyodor Kupolov
88f14dd257
Merge "API Review update for SQLiteDatabase" into oc-mr1-dev am: 3102245b62
...
am: 7aaf486267
Change-Id: I5bddc3a272a637c8c5a158a7d871087929075213
2017-08-08 17:03:42 +00:00
Fyodor Kupolov
7aaf486267
Merge "API Review update for SQLiteDatabase" into oc-mr1-dev
...
am: 3102245b62
Change-Id: I0997e70779456c1181d7750c1daa539afbc8dc0e
2017-08-08 16:55:10 +00:00
Fyodor Kupolov
3102245b62
Merge "API Review update for SQLiteDatabase" into oc-mr1-dev
2017-08-08 16:46:24 +00: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
Philip P. Moltmann
f288de8421
Merge changes from topic 'TransferInstallSession-oc-mr1-dev' into oc-mr1-dev
...
am: fdaad13803
Change-Id: I2eaaf989fb6e5f006edd974d56386731d778e604
2017-08-08 00:54:48 +00:00
Tomasz Wasilczyk
98ea4bfa1d
Merge "Change VENDOR program types to range." into oc-mr1-dev am: ecacb9850c
...
am: 24d0f84bf1
Change-Id: Idc444801a6da7c19cfa947db07d84f24162a52c4
2017-08-08 00:49:24 +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
Tomasz Wasilczyk
24d0f84bf1
Merge "Change VENDOR program types to range." into oc-mr1-dev
...
am: ecacb9850c
Change-Id: I702d77c693303f903d1daabd8746a4d5ea4cfb5f
2017-08-08 00:41:04 +00:00
Tomasz Wasilczyk
ecacb9850c
Merge "Change VENDOR program types to range." into oc-mr1-dev
2017-08-08 00:35:09 +00:00
Felipe Leme
3bec59a777
Merge "Minor Autofill changes after API council review." into oc-mr1-dev am: be3e4a6285
...
am: a9adf37e1d
Change-Id: Ic266dfc62284b345f707a3dee36e0dcf4faca328
2017-08-08 00:01:28 +00:00
Felipe Leme
a9adf37e1d
Merge "Minor Autofill changes after API council review." into oc-mr1-dev
...
am: be3e4a6285
Change-Id: Ia2c1c3cf1987ac0567a6d04e8f9c10d4f2b62539
2017-08-07 23:53:09 +00:00
TreeHugger Robot
be3e4a6285
Merge "Minor Autofill changes after API council review." into oc-mr1-dev
2017-08-07 23:35:56 +00:00
Fyodor Kupolov
76436c04a4
API Review update for SQLiteDatabase
...
SQLiteDatabase openDatabase -- should take File for first parameter
instead of a String path
SQLiteDatabase.OpenParams.Builder -- make sure the javadocs says what
the default openFlags is and default idle connection timeout
SQLiteDatabase createInMemory -- throw if it has trouble instead of
returning null.
Test: cts/SQLiteDatabaseTest
Bug: 64331777
Bug: 64331778
Bug: 64330914
Change-Id: Ibecf4f4a6498795f9a5d12b94b77481e5745b523
2017-08-07 11:12:38 -07:00
Philip P. Moltmann
5d74493f64
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
2017-08-07 10:50:58 -07:00
Philip P. Moltmann
94deaf7725
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
2017-08-07 10:50:57 -07:00
Tomasz Wasilczyk
d2b5cfbdaa
Change VENDOR program types to range.
...
Bug: b/64331420
Test: instrumentation
Change-Id: If5c56f09e2b9e272a40f0ca074a590ca6ec3a703
2017-08-07 10:20:24 -07:00
Jeff Sharkey
1fb3a312e7
Merge "Fix broken javadocs." into oc-mr1-dev am: b79eb54d36
...
am: 1ad38fe278
Change-Id: I21266d20be036196dbeddb9c4366d641ab1b68a8
2017-08-06 17:00:09 +00:00
Jeff Sharkey
1ad38fe278
Merge "Fix broken javadocs." into oc-mr1-dev
...
am: b79eb54d36
Change-Id: I283e3914833b01969308afbd2fad1889e0497338
2017-08-06 16:45:10 +00:00
Jeff Sharkey
67f9d5070a
Fix broken javadocs.
...
Bug: 64337634
Test: make -j32 doc-comment-check-docs
Change-Id: I20fdd3dcddef09111d35946c41c596c7689effa6
2017-08-06 07:37:08 -06:00
Tomasz Wasilczyk
3bf594f064
Merge "Merge "Pass vendor-specific info as map." into oc-mr1-dev am: b4dcdd5f45" into oc-mr1-dev-plus-aosp
...
am: 8814183722
Change-Id: I001980f504db005dd8a220bc9c8ba514e48645cc
2017-08-04 21:36:44 +00:00
Tomasz Wasilczyk
2e935d20c7
Merge "Pass vendor-specific info as map." into oc-mr1-dev
...
am: b4dcdd5f45
Change-Id: I90ba8b94f6730cab7ec2850046a87dd50e894652
2017-08-04 21:23:42 +00:00
TreeHugger Robot
680a74c056
Merge "Refactor TextView TextAppearance attributes reading"
2017-08-04 07:58:00 +00:00
Tomasz Wasilczyk
0f1776d08b
Pass vendor-specific info as map.
...
This solves a problem of identifying, if a given application is talking
to a hardware that can handle format of these strings.
Bug: b/64229617
Test: VTS, instrumentation
Change-Id: I6f525be90105bfdc01a899feea2a3151719ec8d2
2017-08-03 18:21:22 -07:00
TreeHugger Robot
64695cab81
Merge "Introduce new public API for specifying exact weight."
2017-08-03 09:55:11 +00:00
Hangyu Kuang
d964cdefc4
Merge "media: Add scaled video thumbnail extractor api." into oc-mr1-dev am: 26a4940296
...
am: 40b96c785f
Change-Id: Ie5a72ad1f303e814129ed54915747c5aa925a437
2017-08-02 19:32:26 +00:00
Hangyu Kuang
40b96c785f
Merge "media: Add scaled video thumbnail extractor api." into oc-mr1-dev
...
am: 26a4940296
Change-Id: Ibfa5394a612dcec663b1d8b4a301f94b1f2fb49e
2017-08-02 19:22:36 +00:00