653335 Commits

Author SHA1 Message Date
Jayant Chowdhary
d3894cef1b [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into oc-mr1-dev am: b8ce7ca6a1 am: 250fe56a43 -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 7bf30cb92a is already in history

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

Change-Id: I8d25192a502857ac4d10bfdfe17cdacbbdfde64b
2021-08-10 01:06:13 +00:00
Bill Yi
fc0965fc7e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5629387b66935c7871511cd5ba54d2eb39cc3daa
2021-08-10 00:47:15 +00:00
Jayant Chowdhary
250fe56a43 Merge "camera2: Fix exception swallowing in params classes createFromParcel" into oc-mr1-dev am: b8ce7ca6a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15134188

Change-Id: I5b6f88fae24d84d5ca766e9dc3ef8863b7d35f9c
2021-08-10 00:41:08 +00:00
TreeHugger Robot
2bf443ada8 Merge "Consider swipes on the unlock icon as intent for device entry" into sc-dev am: 876e9771f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15476347

Change-Id: I143d295d612dd462f435ec7972118fa38744b832
2021-08-10 00:37:31 +00:00
TreeHugger Robot
876e9771f7 Merge "Consider swipes on the unlock icon as intent for device entry" into sc-dev 2021-08-10 00:34:49 +00:00
Lucas Dupin
874c27f213 Merge "Consider shade expansion when blurring because QS" into sc-dev am: 65c4313694
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15503404

Change-Id: Idf77fe9d0e2561b3a61f98f501ea55f02cb14fa0
2021-08-10 00:31:06 +00:00
Jayant Chowdhary
b8ce7ca6a1 Merge "camera2: Fix exception swallowing in params classes createFromParcel" into oc-mr1-dev 2021-08-10 00:28:42 +00:00
Lucas Dupin
65c4313694 Merge "Consider shade expansion when blurring because QS" into sc-dev 2021-08-10 00:21:02 +00:00
Curtis Belmonte
b1b868fabe Show fingerprint icon when face fails on BiometricPrompt
When BiometricPrompt is launched with both a face and fingerprint
enrolled, ensure that the fingerprint icon is shown immediately after
face authentication fails. This replaces the old behavior where an error
icon would be shown for ~2 seconds after face authentication failed.

Test: Manual:
1. Enroll both fingerprint and face on a device
2. Trigger BiometricPrompt (e.g. Internet > Settings > Share)
3. Ensure face authentication fails (e.g. by not looking at device)
4. Verify that the fingerprint icon is shown immediately

Fixes: 195794375
Change-Id: I5abf788df5e973711d932af685e674f03e89fae6
2021-08-09 16:48:47 -07:00
Leon Scroggins
e71b3f4311 Merge "Do not turn on dithering by default" into sc-dev am: 9817790471
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15502988

Change-Id: I5ac2844da8d52dfc4f944e74981a46286d61613b
2021-08-09 23:46:54 +00:00
Leon Scroggins
9817790471 Merge "Do not turn on dithering by default" into sc-dev 2021-08-09 23:34:12 +00:00
Dave Mankoff
d712f0e6d3 [automerger skipped] Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into rvc-qpr-dev am: f58b0cd5b3 -s ours am: 23ee1b87bb -s ours
am skip reason: Merged-In Iebaba435c17c5644c5357c0683858447f5ffb897 with SHA-1 25b172abfd is already in history

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

Change-Id: I0a73172b5a3c1775acd152ef2907a5cbe9834c40
2021-08-09 21:37:44 +00:00
Dave Mankoff
23ee1b87bb [automerger skipped] Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into rvc-qpr-dev am: f58b0cd5b3 -s ours
am skip reason: Merged-In Iebaba435c17c5644c5357c0683858447f5ffb897 with SHA-1 25b172abfd is already in history

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

Change-Id: Ia1f2af74315484676bb6602711e44e057496385d
2021-08-09 21:20:17 +00:00
Wei Wang
3cef2bf533 Merge "HintManagerService: only check isolated process for app uid" into sc-dev am: 12dd843d73
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15481666

Change-Id: Ie2edd74ac02ed6b633196ef00a6381752dbceed9
2021-08-09 21:12:24 +00:00
Dave Mankoff
f58b0cd5b3 Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into rvc-qpr-dev 2021-08-09 21:08:39 +00:00
Wei Wang
12dd843d73 Merge "HintManagerService: only check isolated process for app uid" into sc-dev 2021-08-09 20:59:38 +00:00
Beverly
c7bdaff11f Update udfps AOD icon
Change burn in prevention period to a prime number to avoid
overlap with other periods

Test: manual
Refer to bug for burn-in simulation
Fixes: 195773640

Change-Id: I4c9dd875827138b8cd0407a01e7bb4941bb48088
2021-08-09 20:56:59 +00:00
Ryan Mitchell
9070689419 Fix app widget deadlock when toggling overlays
AppWidgetManager uses ActivityManager so we must update it without
holding the AMS lock.

Bug: 195649929
Bug: 193866093
Test: Repeatedly change wallpaper & style color to a "basic" color
      and go back to launcher to observe overlay correct color is
      applied
Change-Id: I7a3ba2af026b98c87da8ebbe4dbca602f8c4bcf2
2021-08-09 13:15:30 -07:00
Ryan Mitchell
a57b0e9c4e Revert "Revert "Apply overlay updates to widget provider info""
Bug: 15332156
Bug: 195649929
This reverts commit 471720cccf848d896639322644314e16264f8af8.

Change-Id: Ifa89ae43613add1137ddeca4cb40543a3a01d6a7
2021-08-09 13:15:12 -07:00
Rubin Xu
906773a97f Attempt to clear memory after keyguard PIN entry
Force object finalization and garbage collection to remove shards
of user PIN from memory.

Bug: 189315376
Test: Unlock keyguard; take ramdump; search for PIN in the dump
Change-Id: I6d951babc225998d959669117c26f823f28fa706
2021-08-09 19:56:53 +00:00
Suren Baghdasaryan
93c48c704a Adding native flag namespace for lmkd.
For experiment flag testing, adding lmkd flag in DeviceConfig.

Bug: 194316048
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
Merged-In: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
2021-08-09 12:46:00 -07:00
Josh Tsuji
f2cd3f8588 Merge "Don't call updateIsKeyguard from the UnlockedScreenOffAnimationController if we can't control the screen off animation." into sc-dev am: 5f51b92263
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15486170

Change-Id: I95b0133d537d89a6726a926a27c00862d78721a3
2021-08-09 19:41:17 +00:00
Lucas Dupin
73e1c53c80 Consider shade expansion when blurring because QS
Test: manually pull shade when locked, unlocked, from top and middle
Test: atest NotificationShadeDepthControllerTest
Fixes: 195285764
Bug: 195667456
Change-Id: I19e73a4a1b49c73534f3e20884da8a198ae83b6a
2021-08-09 19:31:07 +00:00
Josh Tsuji
5f51b92263 Merge "Don't call updateIsKeyguard from the UnlockedScreenOffAnimationController if we can't control the screen off animation." into sc-dev 2021-08-09 19:30:03 +00:00
Leon Scroggins III
eb5a3553dc Do not turn on dithering by default
Bug: 195281495
Test: Ief7025c21f365ae90fa63120f1cc82e0695901af

This is a partial revert of 47c51fe80e3dd9d6b518c11c2e1714c271835af5/
I5d5d03e430af380e23016c6deba5eca46067a22b. The intent was to bring
today's rendering implementation in line with the old HWUI
implementation, which always dithered gradients by default. However,
when dithering is enabled, the Skia implementation dithers more than
just gradients (e.g. Bitmaps). Combined with poor performance of the
dithering algorithm on certain GPUs, this led to a performance
regression on key apps.

Change-Id: Id54121091e2cc47131dc9b5ae67bd638fbc005fc
2021-08-09 15:11:20 -04:00
Jing Ji
de1ba7dfca Merge "Apply proper locks onto the service/association state tracking" into sc-dev am: 365cc28b50
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15475947

Change-Id: I0901375ae39ced3d3297d2fcae1783b8f84886af
2021-08-09 18:50:19 +00:00
Jing Ji
365cc28b50 Merge "Apply proper locks onto the service/association state tracking" into sc-dev 2021-08-09 18:33:20 +00:00
Caitlin Cassidy
5329ad47a5 [Ongoing Call] Always unregister the UidObserver.
Test: atest OngoingCallControllerTest
Fixes: 194731244
Change-Id: I39d20313f78ec0c632dcde999abc0057141bac64
2021-08-09 17:22:15 +00:00
Jayant Chowdhary
8b405b2c5f [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into qt-dev am: 93e157955a am: 0cf6fdb791 am: 3c93e01ccf am: b31822b392 -s ours am: df1723afdf -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 7bf30cb92a is already in history

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

Change-Id: I60fd815936ac375a1725266422325282efcb24d1
2021-08-09 16:06:04 +00:00
Jayant Chowdhary
e5b26966c1 [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into qt-dev am: 93e157955a am: 0cf6fdb791 am: 3c93e01ccf am: 9e82fb98ed -s ours am: 1a17ae5c9b -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 6b0bcd60c8 is already in history

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

Change-Id: I8a13d5856b2686c647a3708f83ee0c56d1dcdb08
2021-08-09 16:05:41 +00:00
Jayant Chowdhary
df1723afdf [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into qt-dev am: 93e157955a am: 0cf6fdb791 am: 3c93e01ccf am: b31822b392 -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 7bf30cb92a is already in history

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

Change-Id: Ifa85e47deac6e2a75eb4dfa4a215635a4f5bd053
2021-08-09 15:58:01 +00:00
Jayant Chowdhary
1a17ae5c9b [automerger skipped] Merge "camera2: Fix exception swallowing in params classes createFromParcel" into qt-dev am: 93e157955a am: 0cf6fdb791 am: 3c93e01ccf am: 9e82fb98ed -s ours
am skip reason: Merged-In I745ca49daa6ca36b1020d518e9f346b52684f2b1 with SHA-1 6b0bcd60c8 is already in history

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

Change-Id: I5ef627085baa0edd2aee1b19641104a0bedf108b
2021-08-09 15:56:46 +00:00
Jayant Chowdhary
b31822b392 Merge "camera2: Fix exception swallowing in params classes createFromParcel" into qt-dev am: 93e157955a am: 0cf6fdb791 am: 3c93e01ccf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15121727

Change-Id: I7b3fcde453bc537e5a98efcaa90637590c39c3e5
2021-08-09 15:45:23 +00:00
Jayant Chowdhary
9e82fb98ed Merge "camera2: Fix exception swallowing in params classes createFromParcel" into qt-dev am: 93e157955a am: 0cf6fdb791 am: 3c93e01ccf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15121727

Change-Id: I0dc4ada4e6e664d8517c710b8b905dffa825b2c0
2021-08-09 15:45:20 +00:00
Jakub Tyszkowski
723fe23ce8 Bluetooth: Add Media Control Profile
Tag: #feature
Bug: 150670922
Sponsor: jpawlowski@
Test: compilation
Change-Id: Icabed06e6b1973ecee9cd1d6eeec80c6d2a9d72e
2021-08-09 15:37:52 +00:00
Jakub Tyszkowski
c74aebb4db Bluetooth: Add GATT_INSUFFICIENT_AUTHORIZATION error code
Bug: 150670922
Sponsor: jpawlowski@
Tag: #feature
Test: compilation
Change-Id: I25bc13c658caba48cc37b0f1f253a77fd1336b29
2021-08-09 15:34:22 +00:00
Jayant Chowdhary
3c93e01ccf Merge "camera2: Fix exception swallowing in params classes createFromParcel" into qt-dev am: 93e157955a am: 0cf6fdb791
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15121727

Change-Id: I1adb4fa9ae369c1eabbd3fcbdac7abf4425743bb
2021-08-09 15:30:32 +00:00
Jayant Chowdhary
0cf6fdb791 Merge "camera2: Fix exception swallowing in params classes createFromParcel" into qt-dev am: 93e157955a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15121727

Change-Id: Id144b968bf5154f806900e030d2b7bd9ba407c67
2021-08-09 15:20:58 +00:00
Jayant Chowdhary
93e157955a Merge "camera2: Fix exception swallowing in params classes createFromParcel" into qt-dev 2021-08-09 15:12:22 +00:00
Derek Sollenberger
f832270a85 Merge "CanvasContext::draw: flushAndSubmit when not drawing" into sc-dev am: 1171be085c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15481327

Change-Id: I4af7f9ddde1273db6aefed5f14fdcaf2d8df36ec
2021-08-09 13:01:12 +00:00
Derek Sollenberger
1171be085c Merge "CanvasContext::draw: flushAndSubmit when not drawing" into sc-dev 2021-08-09 12:45:07 +00:00
Rhed Jao
56d090cf08 [automerger skipped] Merge "DO NOT MERGE Apply a maximum char count to the load label api" into sc-dev am: 97ff8e3eed -s ours
am skip reason: Merged-In Ia4d768cc93a47cfb8b6f7c4b6dc73abd801809bd with SHA-1 b55d314f46 is already in history

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

Change-Id: I7bad8b1d1adfa720bf276750bc7591674e248072
2021-08-09 11:30:36 +00:00
Rhed Jao
97ff8e3eed Merge "DO NOT MERGE Apply a maximum char count to the load label api" into sc-dev 2021-08-09 10:48:39 +00:00
Rhed Jao
33e59f34b0 [automerger skipped] DO NOT MERGE Apply a maximum char count to the load label api am: 7380c153b9 -s ours am: d5b3601177 -s ours am: 2159ba8c04 -s ours am: 0f553a5f64 -s ours am: be3551edad -s ours am: 1fabf50d78 -s ours am: 49c8cdb84d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I929b60ca18d5eac60f0ab5e405462da0ac658823
2021-08-09 09:09:20 +00:00
Rhed Jao
818338b60c [automerger skipped] DO NOT MERGE Apply a maximum char count to the load label api am: b55d314f46 -s ours am: 8cd4647906 -s ours am: 96254f92a5 -s ours am: 576965b06d -s ours am: 357f63a381 -s ours am: 3b3fa55d72 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8a104df8b1edf8ccaffc48ef06dd47fa270a4c40
2021-08-09 09:09:11 +00:00
Rhed Jao
7b9f10fb35 [automerger skipped] DO NOT MERGE Apply a maximum char count to the load label api am: 7380c153b9 -s ours am: d5b3601177 -s ours am: 2159ba8c04 -s ours am: 0f553a5f64 -s ours am: be3551edad -s ours am: bd8b271f2a -s ours am: 3d011ccfd4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibd822d91900036a03ab3ae1ddfd616242917d2f3
2021-08-09 09:09:01 +00:00
Rhed Jao
a69d15b71b [automerger skipped] DO NOT MERGE Apply a maximum char count to the load label api am: b55d314f46 -s ours am: 8cd4647906 -s ours am: 96254f92a5 -s ours am: 576965b06d -s ours am: b4b5f78073 -s ours am: 92f4038734 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iff25ae1e001913596c7c438098ac5029ff70aaef
2021-08-09 09:08:51 +00:00
Rhed Jao
49c8cdb84d [automerger skipped] DO NOT MERGE Apply a maximum char count to the load label api am: 7380c153b9 -s ours am: d5b3601177 -s ours am: 2159ba8c04 -s ours am: 0f553a5f64 -s ours am: be3551edad -s ours am: 1fabf50d78 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I98bc61f32ee8f75c63f86f35a36c074b88130078
2021-08-09 08:55:12 +00:00
Rhed Jao
3b3fa55d72 [automerger skipped] DO NOT MERGE Apply a maximum char count to the load label api am: b55d314f46 -s ours am: 8cd4647906 -s ours am: 96254f92a5 -s ours am: 576965b06d -s ours am: 357f63a381 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9e520cc5c492397b0ab53ccdce52529e1eec3f87
2021-08-09 08:54:37 +00:00
Rhed Jao
3d011ccfd4 [automerger skipped] DO NOT MERGE Apply a maximum char count to the load label api am: 7380c153b9 -s ours am: d5b3601177 -s ours am: 2159ba8c04 -s ours am: 0f553a5f64 -s ours am: be3551edad -s ours am: bd8b271f2a -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ida1618f933672bf0a14c0f82011521ef323c0a14
2021-08-09 08:54:07 +00:00