635609 Commits

Author SHA1 Message Date
Marin Shalamanov
3bd70615ae Merge "Rename helper function" into sc-dev 2021-04-13 10:36:18 +00:00
Anna Zappone
d7a54bfa66 Use new widget functionality to reconfigure widget
Users can now reconfigure which conversation shows on their widgets.

Bug: 183084171
Test: PeopleSpaceWidgetManagerTest
Change-Id: I0eab87c88408c8b8039f654177891e62762109c3
2021-04-13 10:29:41 +00:00
Terry Wang
d8d85f4647 Register PackageChangedReceiver to AppSearchManagerService.
The Receiver could receive ACTION_PACKAGE_FULLY_REMOVED and
ACTION_PACKAGE_DATA_CLEARED broadcast and clean the package data.

Bug: 145759910
Test: atest --rebuild-module-info CtsAppSearchHostTestCases
Change-Id: I81a1f5cae823ed4780374b434b7a6be43d040cde
2021-04-13 03:26:13 -07:00
Paul Duffin
f94ff5a36e Merge "Export monolithic hidden api files to the dist" 2021-04-13 09:57:12 +00:00
Anton Hansson
797d8fffc5 Merge "Move build modules from top-level to core/java/" into sc-dev 2021-04-13 09:57:10 +00:00
Pedro Loureiro
d34f536b59 Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.

Bug: 150847901

Test: m lint-check
Change-Id: Ide8a8fe80ba31396f23853ab266afcbcc33af9a6
2021-04-13 10:51:51 +01:00
Bill Yi
67149b8c73 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I361f2c7637e6de28b41631dd2d608d6e3aeaa8f9
2021-04-13 02:34:51 -07:00
Naomi Musgrave
f636fcb38e Merge "Shell command to toggle sandboxing" into sc-dev 2021-04-13 09:11:26 +00:00
Chiachang Wang
6b7167e807 Merge "Make getUid a method on UserHandle itself instead of static" am: bd1cc4f2a2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1669185

Change-Id: If47dccc346aa78c7cb49aafbd5e07d35d3403c6a
2021-04-13 08:51:12 +00:00
Pierre Barbier de Reuille
11d243e01c Add attribute setters for RemoteViews
This implements go/remoteviews-attribute-setters

Bug: 184931139
Test: atest CtsWidgetTestCases:RemoteViewsTest
Change-Id: I135ab857d3a3a52bbb02ee3226e2bf723d8c916a
2021-04-13 09:49:34 +01:00
Bill Yi
16f9abf39f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I08af91c358e06bde1cd8c528d5f6665cf5210d7e
2021-04-13 01:29:38 -07:00
Chiachang Wang
bd1cc4f2a2 Merge "Make getUid a method on UserHandle itself instead of static" 2021-04-13 08:15:47 +00:00
Charles Chen
a5b660e386 Enable WindowContext to associate with WindowToken
This CL instroduces WMS#attachWindowContextToWindowToken
and the corresponding API in WindowContextController to make
WindowContext able to associate with a WindowToken.

Test: atest WindowContextControllerTest
Test: atest WindowManagerServiceTests#testAttachWindowContextToWindowToken*
Bug: 159767464

Change-Id: I807a67fba149cbdc4267442bab0b64e6a95bd4b5
2021-04-13 15:55:49 +08:00
Nathalie Le Clair
a13c9782b8 Merge "Rename send_standby_on_sleep" into sc-dev 2021-04-13 07:26:07 +00:00
Bill Yi
dc21e115db Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib744b07e5a09bf4d40fa07ad7e38dbf9e490bd48
2021-04-13 07:04:41 +00:00
Chiachang Wang
d2c062b8f0 Merge "Add SDK version check to skip S added API test" am: 739195c5b0 am: a8ae705499 am: b92605cc81
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1673167

Change-Id: I0cdc2e50246204925590ba556b6b67a7499140ee
2021-04-13 06:59:05 +00:00
Shawn Lin
1aeb8f54f8 Merge "Fixed the flickering of the nav bar" into sc-dev 2021-04-13 06:24:25 +00:00
Chiachang Wang
b92605cc81 Merge "Add SDK version check to skip S added API test" am: 739195c5b0 am: a8ae705499
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1673167

Change-Id: I057a0d7c6a8697e301f6aa1b37088140d0cc8bb6
2021-04-13 06:02:20 +00:00
Chiachang Wang
a8ae705499 Merge "Add SDK version check to skip S added API test" am: 739195c5b0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1673167

Change-Id: I40516d56f9ca477d62c362dbdf11aad713c620ae
2021-04-13 05:17:53 +00:00
Automerger Merge Worker
b6a266158d Merge "[automerger skipped] Merge "Allow Descrambler.add/removePid to pass a nullable optional filter" am: 0b8ff8e00e am: 012a4243cd am: 3ae46e50ab -s ours" into sc-dev 2021-04-13 04:56:34 +00:00
Daniel Sandler
f34519a523 Merge "Power + Volume up key chord can now be configured." into sc-dev 2021-04-13 04:56:27 +00:00
Amy Zhang
593666abfa [automerger skipped] Merge "Allow Descrambler.add/removePid to pass a nullable optional filter" am: 0b8ff8e00e am: 012a4243cd am: 3ae46e50ab -s ours
am skip reason: skip tag Change-Id Icf7d9526fa15dc11b23e9f73dbfceee748640772 with SHA-1 316b045b9a is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1672265

Change-Id: I4d720c8bd56533013c935d3629106335d91a44ba
2021-04-13 04:56:16 +00:00
Wonsik Kim
369a920b58 Merge "MediaCodec: minor revision of APIs for vendor parameters" am: 5d41bf1b65 am: 69814e45a1 am: 50f0fc71e3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1673760

Change-Id: I7050200724896046e042c310f6e5f3e6431759bb
2021-04-13 04:54:57 +00:00
Chiachang Wang
1543560b19 Extend framework-connectivity.impl visibility to more test
Allow captive portal tests to use hidden connectivity methods.

Bug: 182859030
Test: m
Change-Id: I2c51cbefa6d56c7ec53bacfffe735fa9d14c6510
2021-04-13 12:53:06 +08:00
Bill Yi
27a78d173e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I28d2bc9e8e11f740acb803399f8213baefcba3cd
2021-04-12 21:41:47 -07:00
Amy Zhang
64425453ab Init shared memory handle when opening Filter in the Tuner JNI
This CL also cleans up some local pointers

Test: atest android.media.tv.tuner.cts
Test: manual sampletis
Bug: 184782012
Change-Id: Ia30b82f9b5e1e984bedbe9abb8bf79d0cf4f5c24
2021-04-12 21:35:59 -07:00
Chiachang Wang
739195c5b0 Merge "Add SDK version check to skip S added API test" 2021-04-13 04:30:36 +00:00
Roshan Pius
c773d42a04 uwb: Add owners for uwb service
The code changes are in internal branch in topic:
https://googleplex-android-review.git.corp.google.com/q/topic:uwb_aosp_service

Only pulling in the OWNERS changes to AOSP.

Bug: 183904955
Test: N/A
Change-Id: I035e908e32090415c6f0e9071084c360abf5aee7
2021-04-12 21:22:51 -07:00
Amy Zhang
3ae46e50ab Merge "Allow Descrambler.add/removePid to pass a nullable optional filter" am: 0b8ff8e00e am: 012a4243cd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1672265

Change-Id: I47f5ad2ac00ce65055b603fa27b8f21dd3729f27
2021-04-13 04:06:23 +00:00
Wonsik Kim
50f0fc71e3 Merge "MediaCodec: minor revision of APIs for vendor parameters" am: 5d41bf1b65 am: 69814e45a1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1673760

Change-Id: Ic35494916ed8795a5809349f422482cb8aae00f3
2021-04-13 04:05:31 +00:00
Junyu Lai
ea3d717053 Merge "Fix nascent timer never get removed" into sc-dev 2021-04-13 03:34:49 +00:00
Amy Zhang
012a4243cd Merge "Allow Descrambler.add/removePid to pass a nullable optional filter" am: 0b8ff8e00e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1672265

Change-Id: Ifdbe40af2a6e8e6b70ad9689a819e4c5b793a978
2021-04-13 03:17:31 +00:00
Wonsik Kim
69814e45a1 Merge "MediaCodec: minor revision of APIs for vendor parameters" am: 5d41bf1b65
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1673760

Change-Id: I4e6a062210c5e08ca207d26c5c39667c2f26a1d8
2021-04-13 03:02:43 +00:00
Amy Zhang
0b8ff8e00e Merge "Allow Descrambler.add/removePid to pass a nullable optional filter" 2021-04-13 02:59:06 +00:00
Varun Shah
4e974ce20d Merge "Don't hold the CPH lock while installing providers." into sc-dev 2021-04-13 02:58:47 +00:00
John Li
221de3457b Add @SystemApi for Secure.UI_TRANSLATION_ENABLED
Bug: 177299699
Test: manual
Change-Id: I711d078281ae9cc17ebb21e6c3f857caad31016a
2021-04-13 02:57:45 +00:00
Zoey Chen
e2f123e1a4 Merge "[Telephony] API Review: getMergedImsisFromGroup" into sc-dev 2021-04-13 02:50:51 +00:00
Wonsik Kim
5d41bf1b65 Merge "MediaCodec: minor revision of APIs for vendor parameters" 2021-04-13 02:23:35 +00:00
Riddle Hsu
5a71c4f7fa Merge "Revert "Clear controls and animations in temp arrays after using them"" into sc-dev 2021-04-13 02:21:57 +00:00
Riddle Hsu
a77a0600cf Merge "Remove obsolete test APIs of split screen" into sc-dev 2021-04-13 02:20:37 +00:00
Chiachang Wang
c35a8165bb Add SDK version check to skip S added API test
NetworkAgentConfigTest is a part of CtsNetTestCasesLatestSdk.
It will be used in mainline test with a R build. Test will
fail with method not found error. Add a version check to skip
the S added API tests.

Test: atest NetworkAgentConfigTest in R and S device
Fix: 185151127
Change-Id: Ib372e68afa99af455eb2713c8f6f1c8ef1d4cfdf
2021-04-13 10:18:36 +08:00
Ahaan Ugale
44dccdbe1a Merge "Fix UiTranslation for ListView." into sc-dev 2021-04-13 02:11:07 +00:00
Suprabh Shukla
346118543b Suspend dialog improvememts
Finishing the suspend dialog when the package for which it was shown
gets unsuspended for any reason.

Also, attributing any interaction with this dialog to the suspending
package, as the system is showing the dialog on its behalf.

Test: Manual, from an unrooted shell:
adb shell pm suspend com.android.chrome
Tap to start chrome and wait for the dialog to appear. Then:
adb shell pm unsuspend com.android.chrome
The dialog should disappear. Further,
adb shell dumpsys usagestats
should show USER_INTERACTION for com.android.shell.

Bug: 169137795
Fixes: 180336589
Change-Id: I70b6f23e2994d8802335e35932ed09209754697c
2021-04-12 19:10:31 -07:00
Paul Hu
036d189a8d Merge "Rename FIRST_SDK_INT to DEVICE_INITIAL_SDK_INT" into sc-dev 2021-04-13 02:05:21 +00:00
Kevin Chyn
d01ed12c5d Merge "Revert "Revert "Update face detectInteraction""" into sc-dev 2021-04-13 01:50:59 +00:00
cecilia
5b449e1f2f Rename the Smartspace media recommendation layout to avoid potential mismatch.
Test: Just renaming the resources, nothing else changed.
Bug: 185176701
Change-Id: Ic065090022ac47dd672bc191f0d8a870778e6253
2021-04-12 21:45:49 -04:00
paulhu
4c7720ba86 Add [get|set]MaxManifestReceiverApiLevel to test api for CTS
Bug: 185184155
Test: m update-api
Change-Id: I73087f071e9cff7fd88e137eac8993738589772c
2021-04-13 09:41:30 +08:00
Chalard Jean
f8300427d4 Merge "Fix a bug where updates of offers won't find existing offers" into sc-dev 2021-04-13 01:33:21 +00:00
Nader Jawad
93ea53bbe2 Merge "Fixed issue with invalid stretch params" into sc-dev 2021-04-13 01:29:31 +00:00
Amy Zhang
93b3dd7fb0 Allow Descrambler.add/removePid to pass a nullable optional filter
Test: make
Bug: 184851519
Change-Id: I5457150579e57cc2c39a3bd390bbef62de73520b
Merged-In: Icf7d9526fa15dc11b23e9f73dbfceee748640772
2021-04-13 01:09:45 +00:00