Commit Graph

779036 Commits

Author SHA1 Message Date
TreeHugger Robot
edaf16939e Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-11-07 16:41:58 +00:00
TreeHugger Robot
13c7ad8eaa Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-11-07 16:39:51 +00:00
TreeHugger Robot
be96587e69 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-11-07 16:39:51 +00:00
TreeHugger Robot
c59cbc2102 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-11-07 16:39:51 +00:00
Alison Cichowlas
cbe40d9f49 Merge "Separate brightness-specific ProgressDrawable logic." into tm-qpr-dev 2022-11-07 14:30:45 +00:00
Fabian Kozynski
9eff0afd4f Merge changes from topic "flip_flag_v2" into tm-qpr-dev
* changes:
  Flip headers flags
  Fix vertical size when using new headers
2022-11-07 14:19:01 +00:00
Galia Peycheva
2899ff81c2 Merge "Revert "Fix pip update transaction out of order"" into tm-qpr-dev 2022-11-07 10:03:28 +00:00
Fiona Campbell
10cd7d5904 Merge "Only load default lightsensor for Brightness Tracker" into tm-qpr-dev 2022-11-07 09:54:45 +00:00
Bill Yi
09921a35a3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I526d542b8816d2a58e99b77c8162ee7dacd4ce0f
2022-11-06 18:07:11 -08:00
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
Bill Yi
cb44496c60 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibf3f048be67229493ae6fbb4ca5e9ed851d56def
2022-11-06 16:46:45 -08:00
Bill Yi
d773a4f316 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic832f89d75edcb5f010bff69e029a74424264ec2
2022-11-06 13:41:29 -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
Neha Jain
d53696fecf Revert "Fix pip update transaction out of order"
This reverts commit c3ebae4ca8.

Reason for revert: b/257379026

Change-Id: Id5f4cf24fe2a65b70ae5f024c2fcd5f16b92bbb0
2022-11-04 22:08:36 +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