Commit Graph

646874 Commits

Author SHA1 Message Date
Beverly Tai
b8a20acc47 Merge "Update orientation on rotation changes" into sc-dev 2021-07-21 13:57:35 +00:00
Beverly Tai
f7b36eedf5 Merge "Don't forward touches to udfps if notification panel is expanding" into sc-dev 2021-07-21 13:57:08 +00:00
TreeHugger Robot
4d7a460996 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 39bd3b0f40 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8c0cebc41af2170eef0105f2bd9b1a1f38416e8f
2021-07-21 13:31:15 +00:00
TreeHugger Robot
39bd3b0f40 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-07-21 13:04:13 +00:00
TreeHugger Robot
9d0657478b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 4959acde34 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3e717b1925dc73cbc435ee44cd5f7390864d07c1
2021-07-21 12:59:06 +00:00
TreeHugger Robot
18636927b7 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-21 12:54:44 +00:00
TreeHugger Robot
4959acde34 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-07-21 12:48:43 +00:00
Beverly Tai
fb4aa06b99 Merge "Reset messages when the keyguard isn't showing" into sc-dev 2021-07-21 12:40:50 +00:00
TreeHugger Robot
b64b9b2a62 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-21 12:40:48 +00:00
TreeHugger Robot
84d34f9ce5 Merge "More consistently retry system calls on EINTR" into sc-dev 2021-07-21 09:33:30 +00:00
Issei Suzuki
398b9a8173 Merge "Use intra wallaper transition animation for move to front/back transition." into sc-dev 2021-07-21 08:39:32 +00:00
TreeHugger Robot
607cadc918 Merge "Fix a potential NPE when allocating space for compressed apex" into sc-dev 2021-07-21 07:43:30 +00:00
TreeHugger Robot
c0ee8e009b Merge "ActivityManagerService: add new lmkd kill reason" into sc-dev 2021-07-21 07:34:27 +00:00
TreeHugger Robot
a93719505c Merge "Update TV input list upon package state changes in Kids profile" into sc-dev 2021-07-21 06:27:05 +00:00
Hui Yu
5d5661a5fd Merge "FGS PendingIntent also use BroadcastOptions' temp allowlist duration." into sc-dev 2021-07-21 03:44:42 +00:00
TreeHugger Robot
2873eb7d83 Merge "Allow GenericDocument accept a String property longer than 20_000." into sc-dev 2021-07-21 03:26:06 +00:00
TreeHugger Robot
73ef335c0f Merge "Fix entering PiP transition in button navigation mode" into sc-dev 2021-07-21 02:48:29 +00:00
TreeHugger Robot
019189c35a Merge "DropBoxManager: Fix doc build error" into sc-dev 2021-07-21 01:21:56 +00:00
Cassie Wang
34a952cf94 Merge "Ensure calling user is the same as requested user." into sc-dev 2021-07-21 01:03:03 +00:00
TreeHugger Robot
16ff25f5a7 Merge "Use a different context when constructing an EdgeBackGestureHandler." into sc-dev 2021-07-21 00:36:13 +00:00
Winson Chung
2c4f6e1ae6 Merge "Clean up previous DA organizer when registering" into sc-dev 2021-07-21 00:21:18 +00:00
Shuzhen Wang
3e72b3e16f Merge "Camera: Improve logical camera RAW capture docs" into sc-dev 2021-07-21 00:09:26 +00:00
Hongwei Wang
33c3fcc671 Fix entering PiP transition in button navigation mode
Included in this CL
- when there is no source rect hint, use a content overlay during the transition
- otherwise, take account the display cutout to offset/inset the source
  rect hint

Test with following variants when entering PiP in button nav
- from 0 / 90 / 270 rotation
- with or without source rect hint
- display cutout mode set to default or shortEdge

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/cxk4vy8VenQPSv83vHEs22
Bug: 191310680
Test: manual, see the test cases listed and video above
Change-Id: Ie54a54de6e55397e25024373ea4e2855fde2d9f7
Merged-In: Ie54a54de6e55397e25024373ea4e2855fde2d9f7
2021-07-20 23:43:23 +00:00
TreeHugger Robot
5b6a2aff21 Merge "Stop removing all APP_STANDBY_BUCKET_CHANGED messages." into sc-dev 2021-07-20 23:34:59 +00:00
Shuzhen Wang
a00ce4e75f DropBoxManager: Fix doc build error
Test: make doc-comment-check-docs
Bug: 194230402
Change-Id: I38da2bbfbe7ed0a660274ec4d07e2b176a2a7542
2021-07-20 16:14:15 -07:00
Tatiana Webb
277047bc1e Merge "Revert "Launch admin policies settings screen if not possible to launch help page"" into sc-dev 2021-07-20 23:02:23 +00:00
Kevin Chyn
e086c96b2e Merge "6/n: Add support for additional coex cases" into sc-dev 2021-07-20 22:45:40 +00:00
Hans Boehm
65fee3cfdc More consistently retry system calls on EINTR
We were not retrying an accept() call om EINTR, resulting in occasional
zygote failures. This fixes that, and a few other calls documented
to potentially return EINTR. This is based on a quick seacrh of the
two files affected by this CL.

Bug: 193753947
Bug: 187992348
Test: Build and boot AOSP
Merged-In: Icbfb38be5110607c121545e5c200ce65d1eefbfe
Change-Id: Icbfb38be5110607c121545e5c200ce65d1eefbfe
(cherry picked from commit c3dcb0d088)
2021-07-20 15:44:27 -07:00
TreeHugger Robot
2591e466c1 Merge "Ensure notification visibility on stopForeground(false)" into sc-dev 2021-07-20 22:05:26 +00:00
Winson Chung
cfabf151e5 Clean up previous DA organizer when registering
- There is no guarantee that binderDied() will come in for the old
  process before it tries to re-register. Instead, force clean up
  the existing organizer if another organizer is registered for the
  same feature
- Also unlink the death recipient when unregistering/cleaning up the
  organizer

Fixes: 190786551
Test: Kill SysUI and ensure it doesn't throw
Test: atest DisplayAreaTest
Change-Id: I1204818eefd96d2eb1fb6d195e186f36fd47efac
Merged-In: I1204818eefd96d2eb1fb6d195e186f36fd47efac
2021-07-20 22:03:04 +00:00
Lucas Dupin
c19b69571c Merge "Revert "Remove zoom from wake-up transition"" into sc-dev 2021-07-20 21:54:30 +00:00
Kevin Chyn
30a9a9b5ec Merge "5/n: Add support for initial coex cases" into sc-dev 2021-07-20 21:52:36 +00:00
Bill Yi
f8b687babf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id2bd5d069fc00a7c5af7f365a68131d5c8923328
2021-07-20 21:45:40 +00:00
Dave Mankoff
1cad82c3bc Use a different context when constructing an EdgeBackGestureHandler.
Fixes: 193758967
Test: atest SystemUITests

Change-Id: I7417ccd3899ffba05411ebb4e56c255f6ef09f54
Merged-In: I7417ccd3899ffba05411ebb4e56c255f6ef09f54
2021-07-20 17:27:49 -04:00
Beverly
85b5dee2f1 Reset messages when the keyguard isn't showing
- biometric error messages require a minimum amount of time
to be shown but aren't relevant once the device is unlocked,
so clear the keyguard indication messages once the keyguard
isn't showing anymore
- don't show any face errors for co-ex

Test: manual, atest SystemUITests
Fixes: 192981147
Change-Id: Ia11ffc740e5505aafb7f96635909bf7f5cd10341
2021-07-20 17:16:47 -04:00
Bill Yi
55b2c31907 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I95676247c2d556777ad5ca4be64dc9bf9f025900
2021-07-20 21:02:28 +00:00
Bill Yi
7d34629541 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8bbfa3a61c1d474cb3dc15119b6f7f7148e8a45b
2021-07-20 20:59:09 +00:00
Ben Lin
c312c6481b Merge "PiP: Allow customization of PiP minimum size." into sc-dev 2021-07-20 20:35:36 +00:00
Kevin Chyn
9affacd3f8 6/n: Add support for additional coex cases
If UDFPS succeeds while face is scanning, send haptic+callbacks,
and cancel face auth.

Bug: 193089985
Test: atest CoexCoordinatorTest
Change-Id: Ia261ec35308c70f2c2efcadada41c6c155ec8650
2021-07-20 13:06:58 -07:00
Kevin Chyn
7778c2ea38 5/n: Add support for initial coex cases
1) Adds a way to enable/disable this. By default, this is disabled on
   top of tree (so this change should be a no-op. By default, tests
   enable the advanced behavior.
2) Adds a dump to "adb shell dumpsys biometric"

Bug: 193089985
Test: atest CoexCoordinatorTest
Test: atest com.android.server.biometrics
Test: adb shell dumpsys biometric (with and without secure setting)

Change-Id: I9fe553e9d4b78e34a20b9130f854143a355275bc
2021-07-20 13:06:55 -07:00
Bill Yi
640f3d9c0d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9393881248 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie0dc66735e172f27087d6b9aa7414ca1e9ba21f3
2021-07-20 19:48:03 +00:00
Bill Yi
2db52a94b9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4f2d481a89 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic8b4a9abd310ecca3e1f99f89bb63af6287da5e9
2021-07-20 19:47:46 +00:00
TreeHugger Robot
a4d18e767a Merge "Track active AttributionSources, and finish chains on death" into sc-dev 2021-07-20 19:36:21 +00:00
Lucas Dupin
53037b291f Revert "Remove zoom from wake-up transition"
Removing the zoom was causing problems with the wake-up animation, where
the wallpaper would jump.

Test: manual
Test: atest NotificationShadeDepthControllerTest
Fixes: 192816091
Change-Id: I571e838509356a9eb9895ea2856e023a7b9f1a15
2021-07-20 12:03:05 -07:00
Tatiana Webb
c2d0388962 Revert "Launch admin policies settings screen if not possible to launch help page"
This reverts commit 75077a17a4.

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_sc-dev&target=errorprone&lkgb=7566424&lkbb=7566443&fkbb=7566443, bug b/194207719

Change-Id: I40603378f3e6f125639169176e21680980e2a93e
2021-07-20 18:58:37 +00:00
Beverly
06e6eeb04f Update orientation on rotation changes
The rotation can change without the phyiscal
orientation of the phone changing.

Test: manual, atest UdfpsControllerTest AuthControllerTest
SidefpsControllerTest
Fixes: 193975552

Change-Id: I621ea06984f17954e9be138e9e5669aeb3cfb3fe
2021-07-20 18:30:35 +00:00
Hui Yu
cce24f573b FGS PendingIntent also use BroadcastOptions' temp allowlist duration.
For FGS PendingIntent, if the BroadcastOptions parameter passed in PendingIntentRecord.send()
call has a non-zero temp allowlist duration, treat this duration the
same as the FGS PendingIntent's temp allowlist duration.

Previously only setExact() alarm's "broadcasts" are exempt from BG-FGS-start
restriction using BroadcastOptions. This CL exempts setExact() alarm's "FGS PendingIntent"
from BG-FGS-start restriction.

BYPASS_INCLUSIVE_LANGUAGE_REASON=Pre-existing API
Bug: 193011829
Test: b/193011829 POC app, with this fix,
ForegroundServiceStartNotAllowedException is not seen.

Change-Id: Ifb095a8bcc458ab27c9259ca4af4d759835f2e1c
2021-07-20 18:19:26 +00:00
Antoan Angelov
144dab97be Merge "Launch admin policies settings screen if not possible to launch help page" into sc-dev 2021-07-20 18:14:20 +00:00
Beverly
25811888dd Don't forward touches to udfps if notification panel is expanding
Test: manual
Fixes: 192755873
Change-Id: Id4dc631d1beada6b4bd9e684445317e931b2c848
2021-07-20 18:03:14 +00:00
Mohammad Samiul Islam
b713ec62bb Merge "Test apexd behaves correctly when not in fs-checkpoint mode" into sc-dev 2021-07-20 18:02:29 +00:00