Commit Graph

779020 Commits

Author SHA1 Message Date
Bill Yi
20e4d2e35f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id2eb16df499a05844ec73a81a04b6b5293a815a2
2022-11-06 17:16:51 -08:00
TreeHugger Robot
6cc66e4581 Merge "Fix splitscreen test: SnapToDismiss" into tm-qpr-dev 2022-11-06 15:52:52 +00:00
Dave Mankoff
8fd3032fce Merge "Include all flags in our flag list." into tm-qpr-dev 2022-11-06 14:12:44 +00:00
Dave Mankoff
9f825a8ba1 Include all flags in our flag list.
This improves the use of reflection to include all the flags listed
in Flags.kt. One interseting finding: I can't figure out how to
get the value of a field marked with just `@Keep`. It needs to
also have `@JvmField` or not have any annotations at all.

More changes to this code will come in follow up cls, using string
names where appropriate, but this improves existing functionality.

Key takeaways:
- Reflection is terrible
- Reflection in Kotlin is worse
- Reflection on `object` instances is worse still
- Reflection mixing Java with Kotlin follows the trend line
- Reflection on annotated fields is nigh impossible

Bug: 249121873
Test: adb shell cmd statusbar flag
Change-Id: I69a96501876b01570233c3fd80b6bc7334d9fe73
2022-11-05 23:57:51 +00:00
Ilya Matyukhin
94951245c7 Merge "Only enable UDFPS display mode for optical sensors" into tm-qpr-dev 2022-11-05 20:09:32 +00:00
Chandru
af57f130e9 Always trigger face auth even when it is locked out.
1. This is the only way to show a message on keyguard that face unlock is not available in response to all face unlock triggers.
2. This was the behavior of face auth until recently (b/244402839#comment11)

Other options:
 - Add a new callback method to a KeyguardUpateMonitorCallback to indicate that face auth trigger occurred.
    - Adding a new method to a long list of methods in KeyguardUpateMonitorCallback is not a good idea
    - This would be a very specific API that no one else might even need.

Indication message shown on keyguard:
 1. first time face lockout.
    - Shows "Too many attempts. Face Unlock disabled." followed by "Use fingerprint instead" or "Swipe up to open"

 2. while the face is already locked out
    - when the device wakes up
      - "Face Unlock unavailable." followed by "Use fingerprint instead" or "Swipe up to open"

 3. Coex when both face and fingerprint are locked out
    - when the device wakes up
      - Existing behavior is retained, nothing is shown.

No difference in behavior between bypass vs non-bypass

Bug: 247688462
Test: atest KeyguardUpdateMonitorTest

Change-Id: I3c7e15818eedfef9b5af9dd0b0fc29b7fda231e1
2022-11-05 17:14:21 +00:00
Chandru S
7fcef9e6d4 Merge "Move face auth timeout error handling into a separate method." into tm-qpr-dev 2022-11-05 17:13:54 +00:00
Lyn Han
86ab34d0ff Merge "Remove scaffolding for multiple dots" into tm-qpr-dev 2022-11-05 16:25:03 +00:00
Ale Nijamkin
ec62e37cd0 Merge "Adds a few dependencies to the shared library." into tm-qpr-dev 2022-11-05 13:16:12 +00:00
Omar Miatello
78b5de4a42 Merge "Add support for Predictive Back in CreateUserActivity" into tm-qpr-dev 2022-11-05 08:37:10 +00:00
Alejandro Nijamkin
c752af5808 Adds a few dependencies to the shared library.
We need lifecycle, coroutine, and recycler view dependencies to be able
to use the shared library from Wallpaper picker.

Bug: 254857639
Test: tested together with the rest of the CL chain
Change-Id: I4e41a911891ff3ba30ff82163be1005ef3974be3
Merged-In: I4e41a911891ff3ba30ff82163be1005ef3974be3
2022-11-05 05:15:11 +00:00
Michael Mikhail
93b5e24d46 Merge "[MEDIA TTT] Apply wakelock for chipbar" into tm-qpr-dev 2022-11-05 03:45:05 +00:00
Aaron Liu
6a5411f6ee Merge "[User Switcher] Fix username sync in bouncer." into tm-qpr-dev 2022-11-05 02:46:11 +00:00
Aaron Liu
1610b74ecc Merge "[User Switcher] Make add button pillshaped." into tm-qpr-dev 2022-11-05 02:45:55 +00:00
TreeHugger Robot
9935dae627 Merge "Add SideFpsController dump" into tm-qpr-dev 2022-11-05 02:35:06 +00:00
TreeHugger Robot
dc72403d54 Merge "Move face and fingerprint error handling into separate methods." into tm-qpr-dev 2022-11-05 00:43:49 +00:00
Ilya Matyukhin
5eb272d3f3 Only enable UDFPS display mode for optical sensors
Bug: 248323102
Test: atest AuthControllerTest
Test: atest UdfpsControllerTest
Change-Id: I4d215ee8d3a0495fee36a21e8a650cb08f911ba7
Merged-In: I4d215ee8d3a0495fee36a21e8a650cb08f911ba7
2022-11-04 14:55:07 -07:00
Dave Mankoff
3345f99f8b Merge "Split ReferenceSysUIComponent off of SysUIComponent." into tm-qpr-dev 2022-11-04 20:53:55 +00:00
Aaron Fan
91d982458c Merge "Revert "Now Playing is too low on the lock screen"" into tm-qpr-dev 2022-11-04 20:40:14 +00:00
TreeHugger Robot
a8fd186b86 Merge "Remove DeviceConfig dependency." into tm-qpr-dev 2022-11-04 20:25:07 +00:00
Aaron Fan
48d4a5d600 Merge "Revert "Enable DemoMode for new QS clock"" into tm-qpr-dev 2022-11-04 19:59:14 +00:00
Joshua Mccloskey
9a233f9e2e Merge "Added foldable assets to bp." into tm-qpr-dev 2022-11-04 19:58:47 +00:00
Aaron Fan
7a1df387ef Revert "Enable DemoMode for new QS clock"
This reverts commit 3ae456a81c.

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/tests/view?invocationId=I24700010105007478&testResultId=TR74428356555586938&tab=changes, bug b/257503854

BUG: 257503854
Change-Id: I141373bdb58451c25d132ff4a53965f698d0d572
2022-11-04 19:54:38 +00:00
Brad Hinegardner
9761c10a5c Revert "Now Playing is too low on the lock screen"
Revert "Now Playing is too low on the lock screen"

Revert submission 20274762-b230466568_move_now_playing

Reason for revert: b/257493331 and others
Reverted Changes:
I6f92c92f6:Now Playing is too low on the lock screen
I5c93f310e:Now Playing is too low on the lock screen

Change-Id: I86d28733b581fc238fb4a0f73ae8c6915f49ef24
2022-11-04 19:25:50 +00:00
Dave Mankoff
5f141f2a46 Split ReferenceSysUIComponent off of SysUIComponent.
ReferenceSysUIComponent is used for the basic AOSP build,
and gives us a place to add pieces for phones that shouldn't
go into other variants, like TVs, Cars, etc.

Bug: 254857637
Test: manuall built and run
Change-Id: I5085ed6d94924f776b16cccb8cb7b10a8a9e0993
2022-11-04 12:23:22 -07:00
Aaron Liu
402ee0a648 [User Switcher] Make add button pillshaped.
Make add button in fullscreen userswitcher pillshaped by adding a 20dp
corner radius. Remove the style impl and add a new drawable to use.

Test: Opened fullscreen userswitcher and observed the menu in portrait
and landscape.
Bug: 256151842

Change-Id: I6af041fca42c7600a36a94b768009d4acef27fac
2022-11-04 11:02:44 -07:00
Ats Jenk
28ba402dea Merge "Clean up bubbles home gesture flag" into tm-qpr-dev 2022-11-04 17:56:17 +00:00
Aaron Liu
d1638a8b62 [User Switcher] Fix username sync in bouncer.
The user name is not updated when userinfo changes (name and avatar).
Updated usertracker to listen to this intent and updated repository to
listen to these changes. Corresponding tests have also been updated.

Fixes: 254678959
Test: Observed username in bouncer. I unlock the device and change the
username for the current user. Turn device screen off and on and go back
to bouncer. Observe that the username is the same as the one changed in
settings.

Change-Id: Ie6e289dfc65c14f9b0a35f031c46122d10dca9d0
2022-11-04 10:34:07 -07:00
omarmt
d1c43eaa15 Add support for Predictive Back in CreateUserActivity
Test: atest CreateUserActivityTest
Bug: 254840316
Change-Id: I9d00c114ae38e72f11678dab93d3feaf222463d1
2022-11-04 15:56:02 +00:00
Jay Aliomer
c1f48180f3 Merge "Enable DemoMode for new QS clock" into tm-qpr-dev 2022-11-04 15:47:25 +00:00
Beverly
116744948f Add SideFpsController dump
In the SideFpsController dump, dump the
current sideFps indicator requests.

This CL also renames SidefpsController => SideFpsController.

Test: atest SideFpsControllerTest
Bug: 237362467
Change-Id: I7dcb1649e5790ec36232cb48ac5649b7b0439d83
Merged-In: I7dcb1649e5790ec36232cb48ac5649b7b0439d83
2022-11-04 15:23:15 +00:00
Justin Weir
a1d923e11f Merge "Add ShadeController to KeyguardViewMediator" into tm-qpr-dev 2022-11-04 14:38:10 +00:00
Beverly Tai
f83db3c8b3 Merge "Update alternate bouncer scrim values" into tm-qpr-dev 2022-11-04 13:58:07 +00:00
Brad Hinegardner
82d4e1f9c1 Merge "Now Playing is too low on the lock screen" into tm-qpr-dev 2022-11-04 13:49:08 +00:00
Dave Mankoff
ebe96fbb8f Merge "Enable Int and String flags." into tm-qpr-dev 2022-11-04 13:31:08 +00:00
Fabian Kozynski
05106f3eae Merge "Remove old flags" into tm-qpr-dev 2022-11-04 13:19:55 +00:00
Nick Chameyev
a4dd047cd6 Merge "[Partial screensharing] Update copies" into tm-qpr-dev 2022-11-04 10:44:38 +00:00
Issei Suzuki
f66cb50a99 Merge "Suppress app transition while recents is running" into tm-qpr-dev 2022-11-04 10:24:58 +00:00
András Kurucz
9ac39f2d1e Merge "Remove unused removeAllChildren() from ExpandableNotificationRow" into tm-qpr-dev 2022-11-04 09:42:57 +00:00
Jeff Chang
b44a40442b Fix splitscreen test: SnapToDismiss
The test cases verify onSnappedToDismiss callbacks properly invoked
when the snap target indicates dismissing split. The callback is
invoked more than once since the start position is the same as the
end position when flingDividePosition is invoked. This CL updates
the current position to make sure the callback is invoked once.

Bug: 257348773
Test: atest SplitLayoutTests
Change-Id: I5742d3db1ab6d5c80c4b4ffa1a9465655c73ab11
2022-11-04 14:37:41 +08:00
Michael Mikhail
4562cb6733 Merge "Adding isFalseLongTap method" into tm-qpr-dev 2022-11-04 03:56:23 +00:00
Ats Jenk
dfdce38745 Clean up bubbles home gesture flag
Remove bubbles home gesture flag. It is turned on by default.

Bug: 256873558
Test: mp sysuig
Change-Id: I0e7cf193d1436d241a81b99be502c9c765abfaca
2022-11-03 20:21:15 -07:00
Sunny Goyal
cafab986b1 Merge "Removing unused SplitScreen bounds notification from systemUI" into tm-qpr-dev 2022-11-04 02:03:46 +00:00
TreeHugger Robot
4f1ceac15e Merge "Avoid to hold a strong reference to Context object" into tm-qpr-dev 2022-11-04 01:00:50 +00:00
Justin Weir
bad55dfdfc Merge "Delete NPVC.mIsLaunchTransitionFinished and associated dead code" into tm-qpr-dev 2022-11-04 00:17:43 +00:00
Michael Mikhail
47e7a256ff [MEDIA TTT] Apply wakelock for chipbar
Starts new wakelock on start, then acquire wakelock when view is
displayed. And releases the wakelock if it is still held.

Bug: 241929425.
Test: ran adb command and checked the time while the screen is on. The
screen is on when the chipbar is displayed and goes off when the chipbar
is removed.
Test: atest MediaTttChipControllerReceiverTest.
Test: atest MediaTttSenderCoordinatorTest.
Test: atest TemporaryViewDisplayControllerTest.
Test: atest ChipbarCoordinatorTest.
Test: atest WakeLockTest.

Change-Id: I7a430df3689fe8d80bbcaf42ad165e789358ab8d
2022-11-03 23:45:03 +00:00
TreeHugger Robot
b67434ebea Merge "Ignore onPostListReady call if the activity has been destroyed" into tm-qpr-dev 2022-11-03 23:20:05 +00:00
Michael Mikhail
ca9d7ae4cc Adding isFalseLongTap method
Adds isFalseLongTap method and makes an absract class for SingleTap and
LongTap as they only differ in touch slop.

Bug: 241487855
Test: atest BrightLineClassifierTest
Test: atest BrightLineFalsingManagerTest
Change-Id: Ia606afe2ebe5c454bcc74294210ced52f63e33ef
2022-11-03 23:04:41 +00:00
Joshua McCloskey
2f325403ff Added foldable assets to bp.
Test: Manually verified with biometricprompt demo app.
Fixes: 257135239
Change-Id: Iedc087e93b48a6a266f9f04660aa637df38e2d55
2022-11-03 22:55:40 +00:00
Mady Mellor
33a70394ca Merge changes from topic "mm_remove_floating_tasks" into tm-qpr-dev
* changes:
  Add a flag for the bubble bar
  Remove FloatingTaskController & replace usages with Bubbles
2022-11-03 22:48:32 +00:00