Commit Graph

640958 Commits

Author SHA1 Message Date
Bill Yi
72af571a93 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie06627e5c7a0a0edb63047e8c08887f3b33dbc92
2021-04-27 04:38:16 +00:00
TreeHugger Robot
ea9612a412 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-04-27 04:37:43 +00:00
Bill Yi
bec6636bba Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4137cdd71fcf29cf860eaf4504cc740686451845
2021-04-27 04:33:47 +00:00
Bill Yi
5de0e3bbd9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6e93ae90a2360a79176b3ab74571587bc8ef712e
2021-04-27 04:28:01 +00:00
Louis Chang
d8e7c1433d [automerger skipped] Merge "Detects all activities for whether showing work challenge" into rvc-dev am: 222c4dea29 am: db0dc2b9bf -s ours
am skip reason: skip tag Change-Id I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21 with SHA-1 c83234a0ef is already in history

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

Change-Id: I3d06768f84a7ce8f181cb7b4f4de8e075527b9d3
2021-04-27 04:20:58 +00:00
Louis Chang
d1d589b94d Merge "Detects all activities for whether showing work challenge" into rvc-dev am: 222c4dea29 am: 224112b3f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14170754

Change-Id: I30ada5f78d3cb7c25b653cb30ff49dd84f4a76a5
2021-04-27 04:19:58 +00:00
Jooyung Han
ed4e70f537 resolve merge conflicts of 2028343503 to sc-dev
Change-Id: I2c9c8597a967a3af3b9bf07df562c6e0f51ca3dd
2021-04-27 04:15:41 +00:00
Les Lee
638b67a58f Merge "wifi data usage: support to get carrier merged wifi network." am: bef2f5be94 am: debea981d9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1538743

Change-Id: Ia115b6c8fe536d77071744374f5d42390cc50dbd
2021-04-27 04:13:08 +00:00
Lucas Dupin
babcb4fa02 Merge "Fix notification top clipping" into sc-dev 2021-04-27 04:12:29 +00:00
Louis Chang
db0dc2b9bf Merge "Detects all activities for whether showing work challenge" into rvc-dev am: 222c4dea29
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14170754

Change-Id: I4c98cf5c511e08e506d93f282d987c21811e4286
2021-04-27 04:05:24 +00:00
Louis Chang
224112b3f6 Merge "Detects all activities for whether showing work challenge" into rvc-dev am: 222c4dea29
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14170754

Change-Id: If9879c1e684c188c7dbca01339c792e554591788
2021-04-27 04:03:57 +00:00
Bill Lin
68f119447b Merge "Revert "1/ Add onStartTransition() callback for SYSUI_STATE_ONE_HANDED_ACTIVE"" into sc-dev 2021-04-27 03:37:31 +00:00
Louis Chang
222c4dea29 Merge "Detects all activities for whether showing work challenge" into rvc-dev 2021-04-27 03:36:56 +00:00
Les Lee
debea981d9 Merge "wifi data usage: support to get carrier merged wifi network." am: bef2f5be94
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1538743

Change-Id: I01b6790de48a514256f51ebb85226e56c6e2f59b
2021-04-27 03:26:31 +00:00
Jooyung Han
2028343503 Merge "Make OverlayablePolicy as enum type" am: 8e87bfb4fb am: 7e9f9ed9f9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686174

Change-Id: I0127ff53eec8c1e8d9847574a097160fc3e84be6
2021-04-27 03:14:42 +00:00
Jooyung Han
7e9f9ed9f9 Merge "Make OverlayablePolicy as enum type" am: 8e87bfb4fb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686174

Change-Id: I6d9b4b2d61624517784216832d74bfd4248981e8
2021-04-27 02:41:13 +00:00
Ming-Shin Lu
20f2cdd39a Merge "Consolidate InputMethodManager#toggleSoftInput reliability" into sc-dev 2021-04-27 02:32:35 +00:00
TreeHugger Robot
e82e6627b5 Merge "trancoding: lazy-start transcoding service" into sc-dev 2021-04-27 02:28:07 +00:00
Colin Cross
875493dc1a Merge "Replace llndk_library with llndk clause in cc_library" am: 9e9d7bd0bc am: f9abc183b4 am: 5bc3c6ad47
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684529

Change-Id: I78a0a42bdcec3338ec8f204c1a6a08158529995f
2021-04-27 02:25:02 +00:00
Louis Chang
9caa70a8d3 Merge "Revert "Do not relaunch bg activities when application info changes"" into sc-dev 2021-04-27 02:23:11 +00:00
Louis Chang
24af61a988 Revert "Do not relaunch bg activities when application info changes"
This reverts commit 8b5afd93b6.

Reason for revert: b/186367826

Bug: 185301309
Change-Id: I7a68f1a32aff194d68af1c3ef55dc60ffbde5df9
2021-04-27 02:21:55 +00:00
Les Lee
bef2f5be94 Merge "wifi data usage: support to get carrier merged wifi network." 2021-04-27 02:13:32 +00:00
Svetoslav Ganov
b9b8524f38 Merge "Revert "Prepare AttributionSource to expose to native"" into sc-dev 2021-04-27 02:12:30 +00:00
Bill Yi
bbed688cef Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I535b50c9131c9e71f96ce4ea8160f393b2471882
2021-04-27 02:08:22 +00:00
Steven Moreland
61c3fcf746 libhwui: AnimatedImageThread - UAF
Fix branch subject to UAF.

Bug: 186468053
Test: atest android.graphics.drawable.cts.AnimatedImageDrawableTest
    (w/ UAF detection enabled in libutils Thread)
Change-Id: Idb45f5ef41436920d0ce00f609fa25fb8fdccddf
2021-04-27 01:56:12 +00:00
Suprabh Shukla
8c9ca8004a Removing non-wakeup alarms on user-removed
Alarms in mPendingNonWakeupAlarms were left hanging when the user is
removed. These would be defunct at the time of delivery, so there is no
point in holding on to them.

Test: atest AlarmManagerServiceTest

Fixes: 130444055
Change-Id: Ib496b26a855304556ed032b957a1c731f2e2ca18
2021-04-26 18:54:18 -07:00
TreeHugger Robot
2b6d816141 Merge "Exclude flaky test from presubmit" into sc-dev 2021-04-27 01:45:51 +00:00
Dave Mankoff
e68fa4af0a Merge "Add falsing check to MultiUserSwitch" into sc-dev 2021-04-27 01:41:15 +00:00
Colin Cross
5bc3c6ad47 Merge "Replace llndk_library with llndk clause in cc_library" am: 9e9d7bd0bc am: f9abc183b4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684529

Change-Id: If38a191712cbe55d5bbfe6b96426205270feab1d
2021-04-27 01:36:30 +00:00
Bill Yi
82edb9ec90 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7f946d69972de16496a7bfef0feafee7e2468078
2021-04-27 01:28:28 +00:00
Jooyung Han
8e87bfb4fb Merge "Make OverlayablePolicy as enum type" 2021-04-27 01:23:56 +00:00
Felipe Leme
e3cfe3c7f6 Disabled DevicePolicyManager.setLocationEnabled() for automotive.
Location is a fundamental feature for automotive, which should be
out of reach of device admins (for example, disabling it could
affect the navigation app).

Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testSetLocationEnabled # on automotive and phone

Bug: 186263875
Fixes: 185523465

Change-Id: I8a9d3347080d56c8f064038b66b5b1826e377f64
2021-04-26 18:23:07 -07:00
Diego Vela
ab36c037cf Merge "Update WindowManager Jetpack in SC" into sc-dev 2021-04-27 01:16:54 +00:00
John Reck
b541034702 Fix that CSL cache hits produce bad drawables
onState() needs to be called to initialize the color to be drawn
with. ColorStateListDrawable(ColorStateList) does this as part
of the call to setColorStateList(), however this was missing from
ColorStateListDrawable(ColorStateListDrawableState) which is hit
when doing ColorStateListDrawableState#newDrawable() when
Resources has a cache-hit on a drawable to load.

Fixes: 186254988
Test: app in bug
Change-Id: Ifb3626f6f85b03dd66142a2f91ba06bc648bff16
2021-04-26 21:16:44 -04:00
Bill Yi
f62c252fa9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia4157455fd6f47a491fe4328f6caf3ef4a6e3fa7
2021-04-27 01:11:14 +00:00
Colin Cross
f9abc183b4 Merge "Replace llndk_library with llndk clause in cc_library" am: 9e9d7bd0bc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684529

Change-Id: I1bf4dd9eaf3cb8958b18ddb52e0e667ac625a283
2021-04-27 01:02:37 +00:00
Lucas Dupin
80e9f0d66e Don't animate depth when changing brightness
On S, the wallpaper is zoomed out when the shade is down, we do not have
to do anything specific to the brightness mirror anymore.

Fixes: 186010374
Test: manual
Test: atest NotificationShadeDepthControllerTest
Change-Id: I9347708026045b7833aa51a9cfbb9ad2e6ee4321
2021-04-26 17:52:56 -07:00
Nate Myren
599d4db0bd Add Executor to Permission Group methods in PermissionControllerManager
Test: atest GetPermissionGroupInfoTest
Fixes: 185177089
Change-Id: I6b3ff9c02d013ee48dc2f7f39d556cc6da0edac4
2021-04-26 17:51:11 -07:00
Cliff Wu
84d364df81 DynamicCamera: Add new hidden APIs in CameraManager and new permission for injection camera
- Add new hidden APIs: injectCamera() and stopInjection() in
CameraManager.
- Add a new permission: android.permission.CAMERA_INJECT_EXTERNAL_CAMERA
to allow injecting the external camera to switch the internal camera.
- Add a new CameraInjectionSession class with stopInjection function,
which is called back by CameraInjectionCallback.onInjectionSucceeded(),
then the lifetime of CameraInjectionSession is what determines when
injection is active.

Bug: 181395010
Test: Verified camera manager use cases function as expected; no denials
Change-Id: I0b218dc6a55c7827e2446502b7a22382c6fe9f3e
2021-04-27 00:47:41 +00:00
Felipe Leme
f4710f6f95 Fixed DPMS.listForegroundAffiliatedUsers().
It was not properly clearing the caller's identity, so it would
fail "in real life" when the DPC doesn't have INTERACT_ACROSS_USERS
(but it was passing on CTS because the test app had it).

Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testListForegroundAffiliatedUsers_onlyForegroundUserCalledByDeviceOwner # on automotive
Fixes: 186455856

Change-Id: I2924f5cdf90e767c4f2ae534788baa5c448126c5
2021-04-26 17:35:11 -07:00
Songchun Fan
03c3c1bbad Merge "[incremental] expose more metrics fields" into sc-dev 2021-04-27 00:34:08 +00:00
Colin Cross
9e9d7bd0bc Merge "Replace llndk_library with llndk clause in cc_library" 2021-04-27 00:32:44 +00:00
Jason Chang
40c86a7b16 Merge "Integrate DisplayLayout for Tutorial window of One handed mode" into sc-dev 2021-04-27 00:23:57 +00:00
Nate Myren
e119f2ab3a Enable immersive indicator by default
Bug: 185947709
Test: build
Change-Id: Ia896eae354f886bc917f63d19dad099ea7c80127
2021-04-27 00:14:32 +00:00
TreeHugger Robot
8a170b2edf Merge "Fixes a potential error in setDynamicShortcut" into sc-dev 2021-04-27 00:05:57 +00:00
TreeHugger Robot
929d2ce07d Merge "Support FLAG_ACTIVITY_LAUNCH_ADJACENT for launch root with adjacent" into sc-dev 2021-04-27 00:03:34 +00:00
TreeHugger Robot
ccfc84f489 Merge "Specify UID in getAuthenticatorIds" into sc-dev 2021-04-27 00:00:14 +00:00
Treehugger Robot
a3eaaa94c0 Merge "Fix NullPointer Exception in testharness command" am: 881c4ad3e2 am: 079af6fd19 am: 11dd83b88e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1674567

Change-Id: Ia926b06460f0333f74c5f6c732587793c629243d
2021-04-26 23:59:24 +00:00
Vishnu Nair
44e44a7353 Fix wallpaper scaling issues
BlastBufferQueue adapter will modify the passed in SurfaceControl
properties. This conflicts with updates from the Wallpaper service. To
fix this, create a wrapper layer for the wallpaper BlastBufferQueue.

Fixes: 185561343
Test: rotate wallpaper, confirm wallpaper is scaled correctly

Change-Id: Ie0057652d72e07f811c22afc97e7417cda94bb2d
2021-04-26 16:54:00 -07:00
Ilya Matyukhin
06f04c041c Notify AuthController when fingerprint providers are ready
This change introduces a callback that AuthController can provide to
FingerprintService to get notified when all of the fingerprint providers
are available.

This fixes the bug where UDFPS overlay is not available if SystemUI
starts before the fingerprint HAL, because SystemUI would query the
fingerprint providers on startup.

Bug: 184677066
Test: atest AuthControllerTest
Test: on device

Change-Id: I165d67bdda09ea10dd5aac539c4155e6b158227d
2021-04-26 16:40:39 -07:00