Commit Graph

31265 Commits

Author SHA1 Message Date
Henry Fang
72e3faf224 Merge "Add test api for CTS to test resource lost event" into rvc-dev am: bc93009274 am: 6cb58060ef am: bff89de6c7 am: 4efc95d417
Change-Id: Ic706dc4823b0f11205c107af8b12d990c4ed93ff
2020-04-03 21:11:33 +00:00
Henry Fang
bff89de6c7 Merge "Add test api for CTS to test resource lost event" into rvc-dev am: bc93009274 am: 6cb58060ef
Change-Id: Ib449b1917d6f07fa4b67e9e2f385e4bf09e2bacc
2020-04-03 20:40:27 +00:00
Henry Fang
1eef1d2f26 Add test api for CTS to test resource lost event
bug: 152343262
Test: Manual
Change-Id: I5660cea3e57771c8a09f57ed88723064bb592c30
2020-04-03 17:39:13 +00:00
Amith Yamasani
f8585e3ddf Merge "Mark secondary lockscreen API as SystemApi." into rvc-dev am: 040563da5f am: bc712d51e3 am: 411632a273 am: f41ae2211d
Change-Id: Idc4a305107e2dae25d933373062d466282aae644
2020-04-03 15:31:03 +00:00
Amith Yamasani
411632a273 Merge "Mark secondary lockscreen API as SystemApi." into rvc-dev am: 040563da5f am: bc712d51e3
Change-Id: I600661b31d31eea8f12ca6fd8b21ef52929fd2ca
2020-04-03 14:50:28 +00:00
Amith Yamasani
040563da5f Merge "Mark secondary lockscreen API as SystemApi." into rvc-dev 2020-04-03 14:13:43 +00:00
Lorenzo Colitti
438bef2781 Merge "Added a new capability for temporarily unmetered network." into rvc-dev am: 0edabc5e4e am: d7c9d9fbfe am: 5985851ef6 am: f0edc40f31
Change-Id: I4ce932bb4f60b44340ed25a10cd6df902339f388
2020-04-03 05:57:34 +00:00
Lorenzo Colitti
d7c9d9fbfe Merge "Added a new capability for temporarily unmetered network." into rvc-dev am: 0edabc5e4e
Change-Id: I4d43b28d25529d4dd9e4304c4edf95edb5c5110b
2020-04-03 05:07:20 +00:00
Jack Yu
30be5e5d3d Added a new capability for temporarily unmetered network.
Added a new network capability TEMOPORARILY_NOT_METERED to support
the case that a network can temporarily become unmetered. This
allows carriers to deploy unmetered 5G network. When devices
camp on 5G network, this capability will be dynamically added
to the network and will be removed once leaving 5G coverage.

Bug: 153081494
Test: Manual
Change-Id: I10e26cb0852e67f614e7b9c4e49f95e078602e21
2020-04-02 19:28:41 -07:00
Leon Scroggins
2eee1b57b5 Merge "Replace ImageDecoder.sApiLevel with a SystemApi helper" 2020-04-02 14:00:10 +00:00
Yvonne Jiang
70a62376d0 Mark secondary lockscreen API as SystemApi.
It is currently not meant for use by general enterprise device admins.

Bug: 152478326

Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest KeyguardUpdateMonitorTest
Test: atest AdminSecondaryLockScreenControllerTest
Change-Id: I6d60bc35a4e8f74b1da55b042582a2f2fa89d57f
2020-04-02 08:41:04 +00:00
Priyank Singh
43b604f9c5 Merge "Add attr allowClickWhenDisabled for the new API View#setAllowClickWhenDisabled" 2020-04-01 22:43:25 +00:00
Leon Scroggins III
143dfeff2d Replace ImageDecoder.sApiLevel with a SystemApi helper
Bug: 152322291
Test: CtsGraphicsTestCases

ImageDecoder is moving to a mainline module, so the system can no longer
access the @hidden sApiLevel without making it @SystemApi. Instead of
promoting the existing API, provide a common class to be used by any UI
rendering class that needs to access the targetSdkVersion. Switch AVD to
use the new class, which is a SystemApi.

Change-Id: Ie7172fb93364a1e04ab844b8fa64887bf9d8b005
2020-04-01 13:18:00 -04:00
Wale Ogunwale
c041d6cab3 Merge "Add TestApi interfaces for window organizers" into rvc-dev am: 1df5eb0130 am: d5c303746b am: f8385e93f1 am: 79bbf1a611
Change-Id: I026e9bfd3e26f34026509b5fa69a9f1a6e585995
2020-04-01 14:34:42 +00:00
Leon Scroggins
99c1b5a1e7 Merge "Make createSource(ContentResolver, Uri, Resources) a SystemApi" 2020-04-01 14:27:00 +00:00
Wale Ogunwale
f8385e93f1 Merge "Add TestApi interfaces for window organizers" into rvc-dev am: 1df5eb0130 am: d5c303746b
Change-Id: Iaeb7bc6426c4e0c3fc423b39804cd43f5ec7b00a
2020-04-01 13:56:24 +00:00
Wale Ogunwale
1bdc601c4f Merge "Add TestApi interfaces for window organizers" into rvc-dev am: 1df5eb0130
Change-Id: I2bbb327fede2bb789669e55f8dedb586e4384999
2020-04-01 13:43:41 +00:00
Wale Ogunwale
adf116ec95 Add TestApi interfaces for window organizers
Enables testing the API surfaces from CTS.

Bug: 149338177
Test: they pass!
Change-Id: I7e1f2852585a10c20d299bd87e9a87f828d06d6a
2020-04-01 13:25:23 +00:00
Feng Cao
9c6842e884 Merge "Replace Nullable bundle with NonNull and use Bundle.EMPTY" into rvc-dev am: f1771c0d33 am: 12a7be983b am: b6ad7232ad am: 85ff58a80a
Change-Id: I053719f33f9319312087b1f4ef0ae1589952e46a
2020-04-01 03:16:24 +00:00
Nikita Dubrovsky
4ec7f29691 Merge "Add unified API for inserting rich content (e.g. pasting an image)" 2020-04-01 02:59:15 +00:00
Feng Cao
b6ad7232ad Merge "Replace Nullable bundle with NonNull and use Bundle.EMPTY" into rvc-dev am: f1771c0d33 am: 12a7be983b
Change-Id: I478331739048158a4091f744560f9f7f57ebdb26
2020-04-01 02:54:10 +00:00
Feng Cao
526ddca90c Merge "Replace Nullable bundle with NonNull and use Bundle.EMPTY" into rvc-dev am: f1771c0d33
Change-Id: I6f20690be1dd45b240ee382b70ea9de8fcaf79a8
2020-04-01 02:50:05 +00:00
Priyank Singh
911dd88ca6 Add attr allowClickWhenDisabled for the new API View#setAllowClickWhenDisabled
Fix: 152628656
Test: Manual
Change-Id: I10d149b618dfc0f06d5e395e8d053dce2f5df452
2020-03-31 22:37:35 +00:00
Nikita Dubrovsky
832edc3cc9 Add unified API for inserting rich content (e.g. pasting an image)
The new callback provides a single API that apps can implement to
support the different ways in which rich content may be inserted.

The API is added to TextView and unifies the following code paths:
* paste from the clipboard (TextView.paste)
* content insertion from the IME (InputConnection.commitContent)
* drag and drop (Editor.onDrop)
* autofill (TextView.autofill)

Corresponding API in support lib: aosp/1200800

Bug: 152068298
Test: Manual and unit tests
  atest FrameworksCoreTests:TextViewRichContentReceiverTest
  atest FrameworksCoreTests:AutofillValueTest
  atest FrameworksCoreTests:TextViewActivityTest
Change-Id: I6e03a398ccb6fa5526d0a282fc114f4e80285099
2020-03-31 15:15:36 -07:00
Feng Cao
edb332c645 Replace Nullable bundle with NonNull and use Bundle.EMPTY
Test: atest InlineSuggestionsRequestTest
Bug: 152525467

Change-Id: Ie510e08ced8be4cc8df486f1acfa6eb330d194ef
2020-03-31 14:50:51 -07:00
TreeHugger Robot
b99d4548a0 Merge "Add sample flags to MediaParser" into rvc-dev am: aa9d95ed9f am: 0301b8b564 am: 32053de293 am: 7b0d22b468
Change-Id: I52d8030187c0bcea044b8b7cf5e238860a146d48
2020-03-31 21:49:38 +00:00
TreeHugger Robot
d4620f6068 Merge "BRD: Correct @NonNull annotation" 2020-03-31 21:04:28 +00:00
TreeHugger Robot
3acd16e6ec Merge "Expose ImageDecoder#createSource(byte[] (, int, int))" 2020-03-31 21:04:00 +00:00
TreeHugger Robot
32053de293 Merge "Add sample flags to MediaParser" into rvc-dev am: aa9d95ed9f am: 0301b8b564
Change-Id: I6404caa79afa3eeb4e7578b44622c3efbfd81040
2020-03-31 20:21:51 +00:00
TreeHugger Robot
075cf8e503 Merge "Add sample flags to MediaParser" into rvc-dev am: aa9d95ed9f
Change-Id: If207e3c60358f2fa137fcfe98b53a262b9b5119b
2020-03-31 20:12:08 +00:00
TreeHugger Robot
aa9d95ed9f Merge "Add sample flags to MediaParser" into rvc-dev 2020-03-31 19:42:44 +00:00
Michael Wright
a71a5282b4 Merge "Remove registerSection API with optional Executor" into rvc-dev am: ca87d86d59 am: 9603b8bc42 am: 50064c8081 am: b3e053d197 am: 2e725918d0
Change-Id: I5a00a6d38868b49f3f07f93d4498e384634d9528
2020-03-31 19:22:33 +00:00
Michael Wright
2e725918d0 Merge "Remove registerSection API with optional Executor" into rvc-dev am: ca87d86d59 am: 9603b8bc42 am: 50064c8081 am: b3e053d197
Change-Id: Ib134e5c906dbb9654a3edc335880819d79a8a25f
2020-03-31 18:36:46 +00:00
Michael Wright
9dcb5d8580 Merge "Remove registerSection API with optional Executor" into rvc-dev am: ca87d86d59 am: 9603b8bc42
Change-Id: I5e3335e159bf86c28de886c30f2dafc3dce5b7f9
2020-03-31 18:16:40 +00:00
Michael Wright
9dc277395f Merge "Remove registerSection API with optional Executor" into rvc-dev am: ca87d86d59
Change-Id: I3f1e6601a5871ec0ddaa0c0de742f028f7dae7fd
2020-03-31 18:02:20 +00:00
Michael Wright
ca87d86d59 Merge "Remove registerSection API with optional Executor" into rvc-dev 2020-03-31 17:54:36 +00:00
Santiago Seifert
c648f4eccb Add sample flags to MediaParser
Bug: 152757624
Test: atest CtsMediaParserTestCases
Change-Id: I080b759656e160aba2c378fe72790b1a9d10ad81
2020-03-31 15:52:59 +01:00
TreeHugger Robot
0d5ca1633e Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev am: da50240343 am: 0480d926a2 am: 93636ae765 am: 73390c7709
Change-Id: Idb832b50fc48d7c86ed344946610228bb1e61122
2020-03-31 05:57:09 +00:00
Michael Wright
cdbf2c10cc Merge "Remove replaced BubbleMetadata methods from SDK." into rvc-dev am: 603713009e am: 40a333403b am: b7daef2c6b am: 59e6c65491
Change-Id: I3adc24737beea2d558e890b9cfdb7abbe6eea695
2020-03-31 05:55:42 +00:00
Jeff Sharkey
7a1fa4bc7c Merge "Add ability to execute per-connection SQL." into rvc-dev am: 071e55a03a am: 5bb400d27b am: e20685120e am: 98f95d9fc6 am: dee4ee7ba6
Change-Id: I2741a879f396a58aaaf9b9bc5068993be67eb0ca
2020-03-31 04:36:46 +00:00
Mike Ma
1b75683d4f Remove registerSection API with optional Executor
This patch addresses an issue from API review:
registerSection cannot have an optional Executor

registerSection is an unreleased API in R, therefore can be hard
removed.

Fixes: 148867197
Test: Build
Change-Id: Icdb8b97f7fa3f1880aa3039dbbe82f8331a45202
2020-03-30 17:13:39 -07:00
TreeHugger Robot
93636ae765 Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev am: da50240343 am: 0480d926a2
Change-Id: I61f9d33d17a74b643d2b29443ba72a5ac6acc64c
2020-03-30 22:51:13 +00:00
TreeHugger Robot
30438ad6c2 Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev am: da50240343
Change-Id: Icc26b7446d88911ba40e5b0a3d888370af7d1c8e
2020-03-30 22:45:36 +00:00
TreeHugger Robot
da50240343 Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev 2020-03-30 22:24:30 +00:00
Michael Wright
b7daef2c6b Merge "Remove replaced BubbleMetadata methods from SDK." into rvc-dev am: 603713009e am: 40a333403b
Change-Id: I54bdda02a0ef2b3cdb55c7a7144e21d0c8f0e0cb
2020-03-30 21:38:03 +00:00
Michael Wright
d4922dbf83 Merge "Remove replaced BubbleMetadata methods from SDK." into rvc-dev am: 603713009e
Change-Id: I68e991a45ac39a98b2aa74cd5cd914f21e10149f
2020-03-30 21:15:23 +00:00
Michael Wright
603713009e Merge "Remove replaced BubbleMetadata methods from SDK." into rvc-dev 2020-03-30 20:58:43 +00:00
Michael Wright
eec778ccdd Remove replaced PreciseDataConnectionState methods from SDK.
Prior to finalization, we need to remove all methods which were
replaced but kept around for short-term compatibility purposes.
PreciseDataConnectionState had a couple methods that fell into this
category that had yet to be removed.

Bug: 152787887
Test: builds
Change-Id: Ib175b2530791cec7e31684a1d3f318c95e27f707
2020-03-30 20:39:27 +00:00
Jeff Sharkey
83e0e3b1ed Merge "Add ability to execute per-connection SQL." into rvc-dev am: 071e55a03a am: 5bb400d27b
Change-Id: I3d62e4c47d5ffcae867edf54c5f1de017d73fee3
2020-03-30 19:12:43 +00:00
Adam He
1830552d39 Merge "Migrate android.view.inline to android.widget.inline" into rvc-dev am: 5a3a3f2239 am: c47f8abf1c am: c70f5e6254 am: 970ff93fa9 am: 321c7868fd
Change-Id: I5f2e3be463ce8a04e5475d4891acb2481ab831a6
2020-03-30 19:12:15 +00:00