Jeff Sharkey
b2a9f55488
Merge "Remove a bunch of deprecated @SystemApi." into oc-mr1-dev
...
am: c2e09129e0
Change-Id: I26089a2aef16845f2e2935e95810457e287bd0e1
2017-08-12 03:25:49 +00:00
Jeff Sharkey
c2e09129e0
Merge "Remove a bunch of deprecated @SystemApi." into oc-mr1-dev
2017-08-12 03:21:01 +00:00
Jeff Sharkey
6099e1c142
Merge "Rename API to match StorageStats." into oc-mr1-dev
...
am: 74f7a1425f
Change-Id: I87815da4f2f96c476fcdfdb3361d0f43b895e909
2017-08-12 00:45:19 +00:00
TreeHugger Robot
74f7a1425f
Merge "Rename API to match StorageStats." into oc-mr1-dev
2017-08-12 00:16:43 +00:00
Todd Kennedy
bfbc6fe472
Merge "@hide new API" into oc-mr1-dev
...
am: 414f1975b1
Change-Id: Ibf19c48a75a3af41f82817c438d8d67142a52cea
2017-08-12 00:02:46 +00:00
Sunny Goyal
675ae0a16f
Merge "Promoting installExistingPackage to SystemApi" into oc-mr1-dev
...
am: 6561f067bb
Change-Id: If6a3158d88f4ed1590931e0c70efbab3c9115e97
2017-08-11 23:31:29 +00:00
TreeHugger Robot
414f1975b1
Merge "@hide new API" into oc-mr1-dev
2017-08-11 23:20:07 +00:00
TreeHugger Robot
6561f067bb
Merge "Promoting installExistingPackage to SystemApi" into oc-mr1-dev
2017-08-11 21:56:59 +00:00
Jeff Sharkey
d62e3cb5d6
Rename API to match StorageStats.
...
Since they're both measuring app code (APKs), name this API
consistently with StorageStats.getAppBytes().
Bug: 64331226
Test: builds, boots
Change-Id: I1b00427b619a78c043b1b5fac2d0e6406b51d454
2017-08-11 15:10:38 -06: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
Neil Fuller
a4d8a47f4c
Merge "Change SystemApi as per API council feedback" into oc-mr1-dev
...
am: 252efbcf40
Change-Id: I41d4e0d8c0fbf0eb1bdf0d1722da3626e0b97213
2017-08-11 18:06:46 +00:00
Nate Fischer
e1a8030fc9
Merge "WebView: remove unused DATA_REDUCTION_PROXY_SETTING_CHANGED API" into oc-mr1-dev
...
am: a9732da1f3
Change-Id: I38c1ea8090d96861cf2f9a261d9e350766a672ce
2017-08-11 17:53:47 +00:00
Neil Fuller
252efbcf40
Merge "Change SystemApi as per API council feedback" into oc-mr1-dev
2017-08-11 17:50:58 +00:00
Nate Fischer
56a9c82325
Merge "WebView: add WebView#getSafeBrowsingPrivacyPolicyUrl() API" into oc-mr1-dev
...
am: 070e3c0c7f
Change-Id: Ia0405fb1d7a4410100c5c9c98ed64655f06c9e8b
2017-08-11 17:49:24 +00:00
Todd Kennedy
ef86310c44
@hide new API
...
Change-Id: Ic9cf7ecd80dd99eb8bcfc9810f4a9fddfe8f8fe4
Fixes: 64568898
Test: None. No code change.
2017-08-11 10:42:14 -07:00
TreeHugger Robot
a9732da1f3
Merge "WebView: remove unused DATA_REDUCTION_PROXY_SETTING_CHANGED API" into oc-mr1-dev
2017-08-11 17:38:11 +00:00
Nate Fischer
070e3c0c7f
Merge "WebView: add WebView#getSafeBrowsingPrivacyPolicyUrl() API" into oc-mr1-dev
2017-08-11 17:36:42 +00:00
Neil Fuller
a41fdcb20a
Change SystemApi as per API council feedback
...
API council have requested a manifest constant be added
to the SystemApi directly in preference to an indirect
SystemApi constant here:
android.provider.TimeZoneRulesDataContract.READER_PERMISSION.
This is the first of three changes to (1) add the new constant,
(2) switch over code using the constant, (3) remove the
constant.
Bug: 64568899
Test: None, build only
Change-Id: Ib9766591979886d1db3b1d7321536dabf5cf81a8
(cherry picked from commit 8bb4140516 )
2017-08-11 15:09:52 +00:00
Nate Fischer
3898ac12e4
WebView: add WebView#getSafeBrowsingPrivacyPolicyUrl() API
...
This adds a dedicated API for fetching a URL for the Safe Browsing
reporting privacy policy.
This URL should be displayed by applications on custom Safe Browsing
interstitials.
Bug: 64077668
Test: make update-api (it compiles and javadocs look good)
Change-Id: I2873260edcaa924e68517c8679079e147b9995f4
2017-08-10 18:33:21 -07:00
John Reck
20933d0454
Merge "SharedMemory API changes" into oc-mr1-dev
...
am: edf3384307
Change-Id: Ib5f641f37e73fc6b236fe90c229bb3855025375c
2017-08-10 19:53:25 +00:00
TreeHugger Robot
edf3384307
Merge "SharedMemory API changes" into oc-mr1-dev
2017-08-10 19:41:53 +00:00
Hall Liu
6b3ce948c6
Merge "Hide the SEND_EMBMS_INTENTS permission" into oc-mr1-dev
...
am: d259d8b80f
Change-Id: I5abcbb619d38beb28be00f34a1ee3cffe351c721
2017-08-10 18:29:19 +00:00
Hall Liu
d259d8b80f
Merge "Hide the SEND_EMBMS_INTENTS permission" into oc-mr1-dev
2017-08-10 18:20:47 +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
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
Hall Liu
14f52d9e9d
Hide the SEND_EMBMS_INTENTS permission
...
Bug: 64340162
Change-Id: Ia9370c0e80bb3a99df5008febc994846204272c1
2017-08-09 16:25:45 -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
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
Sunny Goyal
07f41fb67e
Promoting installExistingPackage to SystemApi
...
Bug: 38269105
Test: N/A
Change-Id: If45076b00e91cd4cc8a887b0f36d427d8a5cdaf3
2017-08-09 02:58:00 -07: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
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
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
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
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
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
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