Commit Graph

778898 Commits

Author SHA1 Message Date
TreeHugger Robot
d35150f907 Merge "Inform Assistant visible activity when the stage of activity lifecycle is invoked." into tm-qpr-dev 2022-11-03 04:11:11 +00:00
Xiaowen Lei
00609ba23f Merge "Enable configuring multiple loggable dream prefixes." into tm-qpr-dev 2022-11-03 03:20:58 +00:00
Chris Li
10130ecd10 Merge "Fix launching ActivityGroup with ActivityEmbedding" into tm-qpr-dev 2022-11-03 02:17:30 +00:00
Joshua Mccloskey
568ad42e86 Merge changes from topic "require-screen-on-to-auth" into tm-qpr-dev
* changes:
  Fix keyguard logic for listening to sfps
  Implement SFPS “require screen on to auth”
2022-11-03 01:56:52 +00:00
TreeHugger Robot
e6e061e5d5 Merge "Combining widget broadcasts" into tm-qpr-dev 2022-11-03 01:51:26 +00:00
Riddle Hsu
bf4367fd84 Merge "Simplify the association of shared starting window" into tm-qpr-dev 2022-11-03 00:56:16 +00:00
Joshua Mccloskey
137613f487 Merge "SideFPS bp cancels on power press" into tm-qpr-dev 2022-11-02 23:23:16 +00:00
Miranda Kephart
ba2c9b4d0c Merge "Turn on clipboard refactor flag in teamfood" into tm-qpr-dev 2022-11-02 19:37:48 +00:00
Ming-Shin Lu
52244d0657 Merge "Request hiding IME before starting dismiss biometric UI animation" into tm-qpr-dev 2022-11-02 19:05:34 +00:00
Chandru S
ad23a83ccf Merge "Add debug logs with LogBuffer for touch/tap events" into tm-qpr-dev 2022-11-02 18:20:58 +00:00
Joshua McCloskey
eac8784630 SideFPS bp cancels on power press
Test: atest FingerprintAuthenticationclient
Test: manually verified with bioemtric prompt
Fixes: 255486712
Change-Id: I1e7851ccd1d3045fee847c532b5b7d991ed0fe4a
Merged-In: I1e7851ccd1d3045fee847c532b5b7d991ed0fe4a
2022-11-02 17:53:25 +00:00
Mateusz Cicheński
3aac107972 Merge "Animate PiP away on inset changes." into tm-qpr-dev 2022-11-02 17:37:11 +00:00
Mateusz Cicheński
d04f92f27d Merge "Skip moving PiP for IME/shelf change if user is dragging." into tm-qpr-dev 2022-11-02 17:36:37 +00:00
Justin Weir
b3da8bf51a Merge "Begin decoupling CentralSurfaces and NPVC" into tm-qpr-dev 2022-11-02 17:22:11 +00:00
Prabir Pradhan
f4369fe1f1 Merge "Crop touchable region to surface bounds when updating an InputChannel" into tm-qpr-dev 2022-11-02 17:09:11 +00:00
Aaron Liu
a98b34d559 Merge "[Bouncer] Fix flicker tests." into tm-qpr-dev 2022-11-02 17:05:27 +00:00
Sunny Goyal
3c57cb91d4 Merge "Sending NavbarSurfaceControl to Recents" into tm-qpr-dev 2022-11-02 16:43:22 +00:00
Beverly Tai
18499353fb Merge changes from topic "udfps_keyguard_view_controller_to_kotlin" into tm-qpr-dev
* changes:
  DO NOT MERGE [1.5/N] side fps bouncer - Update UdfpsKeyguardViewControllerBaseTest
  1/N sideFPs bouncer, separate altBouncer callback
  Refactor file from java => kotlin
2022-11-02 16:33:00 +00:00
Garfield Tan
505c6cf2de Merge "Removed unused methods in Dimmer" into tm-qpr-dev 2022-11-02 16:29:19 +00:00
Joshua McCloskey
862eb28a79 Fix keyguard logic for listening to sfps
Test: atest KeyguardUpdateMonitorTest
Test: manual
Bug: 245343077
Change-Id: Ic71c82cf9f07fbb3e57039bcff197616b8ddb3cf
Merged-In: Ic71c82cf9f07fbb3e57039bcff197616b8ddb3cf
2022-11-02 15:50:41 +00:00
Chandru
4f194c246d Add debug logs with LogBuffer for touch/tap events
Bug: 247694441
Test: adb shell settings put global systemui/buffer/ShadeLog DEBUG echoes the logs to logcat
Test: adb shell settings put global systemui/buffer/NotifHeadsUpLog DEBUG echoes the logs to logcat
Test: adb logcat -s "NotificationStackScroll:*" "systemui.shade:*" shows
these added logs

Change-Id: I85c6402da9417e637cdb61ae05de9b7cfa7297de
2022-11-02 15:03:48 +00:00
Grace Cheng
584c7743be Implement SFPS “require screen on to auth”
Creates new setting on SFPS to require screen on before unlocking a
device. Also sets up toggles for this setting at the end of fingerprint
enrollment and on the fingerprint settings page, and adds test to verify
expected behavior.

Test: atest KeyguardUpdateMonitorTest#testStartsListeningForSfps_whenKeyguardIsVisible_ifRequireScreenOnToAuthEnabled
Fixes: 249169615
Fixes: 245343077
Fixes: 248530806
Change-Id: Ibc55dfa6667ec281add11a2665fceb073974ccb0
Merged-In: I4aa716fb5b288ef6f92a5c403a1fd5e586e889d0
2022-11-02 14:34:31 +00:00
Beverly
14a53f10b0 DO NOT MERGE [1.5/N] side fps bouncer - Update UdfpsKeyguardViewControllerBaseTest
It shouldn't run tests on its own. Only its
extending classes should run.

Test: atest AAAPlusPlusVerifySysuiRequiredTestPropertiesTest
Bug: 237362467
Change-Id: Ib03445206098949c6e0b09a948e4caf92c4b9be3
2022-11-02 13:37:07 +00:00
Louis Chang
847d0f53e7 Merge "Fix LockTaskModeTests failure" into tm-qpr-dev 2022-11-02 13:28:46 +00:00
Fabian Kozynski
c164c02c94 Merge "Do not animate icons in tiles that shouldn't" into tm-qpr-dev 2022-11-02 13:26:00 +00:00
Galia Peycheva
71bf4aaf9e Merge "Fix pip update transaction out of order" into tm-qpr-dev 2022-11-02 09:31:31 +00:00
Omar Miatello
269cef1fd5 Merge "OnScroll roundness type should be reset to 0f when the View is removed from the Shelf" into tm-qpr-dev 2022-11-02 09:25:18 +00:00
Riddle Hsu
286bf02f2f Simplify the association of shared starting window
The issue case is launching an existing embedded activity with
clear-task and then a new activity is started in a new task fragment.
E.g. resume left panel -> finish right panel -> create right panel.
And the transition starts until the right panel is drawn instead of
the drawn starting window. That would feel a noticeable delay.

This is mainly for showing starting window on a task with embedded
activities, but also generalizes the common cases.

1. Move mSharedStartingData from ActivityRecord to Task.
   So if there is a new embedded activity launched in the task, it
   doesn't need to take care whether/when to assign the field. And
   no need to traverse all embedded activities in the task to make
   sure the shared starting data is up to date.

2. Move startingDisplayed from ActivityRecord to StartingData.
   The state of flag startingDisplayed is covered by the lifetime
   of StartingData. So it no longer needs to reset the flag.
   This also provides the ability to know whether the starting
   window is drawn or not without based on an activity or window.

With above changes, any activity without owned starting window can
know if the shared starting window is ready to execute transition.

Also use a non-empty reference activity in createRemoteAnimationTarget,
so the OPENING transition animation won't be skipped (the right panel
is the top non-finishing activity but it hasn't a child window yet).

Bug: 255688302
Test: atest ActivityRecordTests#testStartingWindowInTaskFragment

Change-Id: I7adeed8801ea3a837afa3d46f1975cf6c5b3f99a
2022-11-02 16:21:26 +08:00
Sunny Goyal
22120b089f Sending NavbarSurfaceControl to Recents
Also removing some unused methods from the aidl interface

Bug: 193244407
Test: Presubmit
Change-Id: Ia13c09be93b45cd47fa3350630a2a4dc37e8756b
2022-11-02 01:18:29 -07:00
Tiger Huang
b54fd1af09 Merge "Don't play or cancel window animations of controllable insets sources" into tm-qpr-dev 2022-11-02 06:16:01 +00:00
Tony Huang
61b0628896 Merge "Update divider value when config changed" into tm-qpr-dev 2022-11-02 06:14:23 +00:00
Tony Huang
ecbb47cfca Update divider value when config changed
Divider size and insets value might be changed when config changed,
we should update them too otherwise divider would keep same area
on SplitLayout but actually view area become small or large.

Bug: 256117210
Test: manual
Test: pass existing tests
Change-Id: I6532f41c58848797f14ae17cb26f1ae734c53573
2022-11-02 06:13:00 +00:00
Chris Li
5a22eceefe Fix launching ActivityGroup with ActivityEmbedding
ActivityGroup has been deprecated since Android H, but there are still
apps using it. When it is used, the child Activity will not have its own
corresponding ActivityRecord. If we treat it as normal Activity, there
will be issue because we can't find Task with its token, nor reparent it
with its token.

Skip child Activity (the one launched in ActivityGroup) for any
lifecycle event.

Fix: 256533615
Test: manually verify
Change-Id: Ibccf1575c3b229a0912f843f6468a6c3e24a893f
2022-11-02 13:00:28 +08:00
Bill Lin
d1de180cf1 Merge "[DO NOT MERGE]Fix AuthCredentialPatternView#onErrorTimeoutFinish() bug" into tm-qpr-dev 2022-11-02 04:51:25 +00:00
Mateusz Cicheński
9621f52c01 Animate PiP away on inset changes.
This specifically refers to the taskbar that can be expanded or
minimized, which changes the bottom inset, but PiP remained in it's
original position. This change will move it down if it was already by
the bottom edge, or move it up just enough to be within the movement
bounds.

Bug: 256560961
Test: manually
Test: http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/dSTq2oAg1k85bpIZRBDLIH

Change-Id: I487be6f54b2f9afae8d18df8cf6456858704c703
2022-11-02 03:47:57 +00:00
Jiaming Liu
72b75946f2 Merge "Fix invalidate rotation value which causes CTS failures" into tm-qpr-dev 2022-11-02 03:28:20 +00:00
TreeHugger Robot
d1e583c08d [automerger skipped] Merge "Enable user graularity for lockdown mode" into qt-dev am: 1eeb1758fd -s ours am: 3f2358892f -s ours am: ec86264fcb -s ours am: 69b752610f -s ours am: 401eb93909 -s ours am: 35bd1367af -s ours am: 686603f686 -s ours am: 6ec31224b4 -s ours am: 3a23c94ad1 -s ours
am skip reason: skipped by user wenhaowang

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

Change-Id: Icdd83b2be57779203006536c0678c33aee97cfa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 03:13:03 +00:00
Beverly
71f0123c9d 1/N sideFPs bouncer, separate altBouncer callback
The AltBouncer callback should only
handle events relevant to any alternate
bouncer (ie: show and hide). Other callbacks
like setQsExpanded and onTouch should be moved
out to a different callback since they're not
relevant to all alternate bouncers.

This CL also converts UdfpsKeyguardViewController to
kotlin and, when the modern bouncer is enabled,
uses the BouncerInteractor for the bouncerExpansion
to determine whether to show the UDPFS affordance
or not.

Test: atest UdfpsKeyguardViewControllerTest
Test: atest UdfpsKeyguardViewControllerWithCoroutinesTest
Test: wallet activity shows udfps affordance
Test: tapping home controls affordances
shows udfps bouncer
Test: tapping notification w/ intent shows
udfps bouncer
Bug: 237362467

Change-Id: Ibb9b55e6b1a629e28f523ac62058f7e5cf40faed
Merged-In: Ibb9b55e6b1a629e28f523ac62058f7e5cf40faed
2022-11-02 02:44:29 +00:00
Beverly
4a164f8645 Refactor file from java => kotlin
Change file name in its own CL to preserve the history. This CL
should only be merged with the followup CL.

Test: See ag/20272142
Bug: 237362467
Change-Id: Ic598a4ad88aa64d05d90e66d0f07cb7eb06c76cd
Merged-In: Ic598a4ad88aa64d05d90e66d0f07cb7eb06c76cd
2022-11-02 02:44:17 +00:00
TreeHugger Robot
3a23c94ad1 [automerger skipped] Merge "Enable user graularity for lockdown mode" into qt-dev am: 1eeb1758fd -s ours am: 3f2358892f -s ours am: ec86264fcb -s ours am: 69b752610f -s ours am: 401eb93909 -s ours am: 35bd1367af -s ours am: 686603f686 -s ours am: 6ec31224b4 -s ours
am skip reason: skipped by user wenhaowang

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

Change-Id: I3925de7e7ff991c968669b9de28f781c211c98b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 02:30:19 +00:00
TreeHugger Robot
6ec31224b4 [automerger skipped] Merge "Enable user graularity for lockdown mode" into qt-dev am: 1eeb1758fd -s ours am: 3f2358892f -s ours am: ec86264fcb -s ours am: 69b752610f -s ours am: 401eb93909 -s ours am: 35bd1367af -s ours am: 686603f686 -s ours
am skip reason: skipped by user wenhaowang

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

Change-Id: Ieac22115371f9f22ce8b930488fcf3d5fad3a80b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 01:43:30 +00:00
TreeHugger Robot
686603f686 [automerger skipped] Merge "Enable user graularity for lockdown mode" into qt-dev am: 1eeb1758fd -s ours am: 3f2358892f -s ours am: ec86264fcb -s ours am: 69b752610f -s ours am: 401eb93909 -s ours am: 35bd1367af -s ours
am skip reason: skipped by user wenhaowang

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

Change-Id: I1237dbac518fe169435d61d94a0e5eb90388aa9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 01:18:35 +00:00
TreeHugger Robot
35bd1367af [automerger skipped] Merge "Enable user graularity for lockdown mode" into qt-dev am: 1eeb1758fd -s ours am: 3f2358892f -s ours am: ec86264fcb -s ours am: 69b752610f -s ours am: 401eb93909 -s ours
am skip reason: skipped by user wenhaowang

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

Change-Id: I280a719edf36e1a9db189f237b3aa95134126db1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 00:46:05 +00:00
Ats Jenk
eaf2dc0792 Merge "Add @JvmField annotation to flags" into tm-qpr-dev 2022-11-02 00:23:28 +00:00
TreeHugger Robot
401eb93909 [automerger skipped] Merge "Enable user graularity for lockdown mode" into qt-dev am: 1eeb1758fd -s ours am: 3f2358892f -s ours am: ec86264fcb -s ours am: 69b752610f -s ours
am skip reason: skipped by user wenhaowang

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

Change-Id: I8e9c71425d627e992fbca2037f5292a9531e2020
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 00:19:26 +00:00
TreeHugger Robot
ed12a6b75e Merge "Add topActivity to the list of states that task organizer cares." into tm-qpr-dev 2022-11-01 23:45:37 +00:00
TreeHugger Robot
69b752610f [automerger skipped] Merge "Enable user graularity for lockdown mode" into qt-dev am: 1eeb1758fd -s ours am: 3f2358892f -s ours am: ec86264fcb -s ours
am skip reason: skipped by user wenhaowang

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

Change-Id: Ie2a00cb2c288b532b0aae0817f05f18a514e04a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 23:33:41 +00:00
TreeHugger Robot
ec86264fcb [automerger skipped] Merge "Enable user graularity for lockdown mode" into qt-dev am: 1eeb1758fd -s ours am: 3f2358892f -s ours
am skip reason: skipped by user wenhaowang

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

Change-Id: I7a391127593cc6a8014ed6cd4593ed5e4bd6ce06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 23:03:52 +00:00
Prabir Pradhan
7a418bbfd6 Crop touchable region to surface bounds when updating an InputChannel
This reverts some logic for setting the touchable region that was made
in ag/17050822.

Bug: 254681548
Test: presubmit
Change-Id: I929dd28c782992445882a2d61105aa3e5a0a99bc
(cherry picked from commit 3823c8c062)
2022-11-01 22:53:38 +00:00
Wenhao Wang
5e0b472752 [automerger skipped] Merge "Enable user graularity for lockdown mode" into rvc-dev am: abf1cfa4ec -s ours am: f6f4800b6c -s ours am: 08e240c3b1 -s ours am: aba2a82d08 -s ours am: 1ce1c06835 -s ours am: 8724128895 -s ours am: a0d9e59656 -s ours
am skip reason: Merged-In I4f30e56550729db7d673a92d2a1250509713f36d with SHA-1 baca9125f1 is already in history

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

Change-Id: I1a3c0dfc1f9716dc19e1c124e3764ea872fb5d74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 22:39:01 +00:00