Commit Graph

782907 Commits

Author SHA1 Message Date
Lyn Han
ef056c366d Merge "Add Flags.DISABLE_FSI" into tm-qpr-dev 2023-01-19 19:55:19 +00:00
Josh Tsuji
286074d5cf Merge "Fix issues with unlocking during a swipe on the lockscreen." into tm-qpr-dev 2023-01-19 19:08:57 +00:00
Miranda Kephart
a5e45d3124 Merge "Make ScreenshotRequest handle hardware bitmap conversion" into tm-qpr-dev 2023-01-19 17:23:56 +00:00
Peter Kalauskas
9a1313936b Merge "Add trace sections for LogcatEchoTrackerDebug" into tm-qpr-dev 2023-01-19 16:37:15 +00:00
Nick Chameyev
ee3dc5a889 Merge "Revert "Revert "[Unfold animation] Do not show dark vignette whe..."" into tm-qpr-dev 2023-01-19 16:18:53 +00:00
Jordan Demeulenaere
7e758a4d25 Merge "Support Views that are scaled in GhostedViewLaunchAnimatorController" into tm-qpr-dev 2023-01-19 15:59:01 +00:00
Sam Dubey
bc5c895096 Merge "Exclude flaky annoatated tests" into tm-qpr-dev 2023-01-19 15:57:45 +00:00
Rahul Banerjee
cc0ae10b35 Merge "Fix ANR in SystemUI due to race condition." into tm-qpr-dev 2023-01-19 15:52:07 +00:00
Josh Tsuji
09114c3e6e Fix issues with unlocking during a swipe on the lockscreen.
This could cause keyguard to remain visible if a biometric
auth event arrived while swiping on the lockscreen.

Fixes: 265661878
Test: while a bouncer swipe is in progress, finger/face auth
Test: while swiping away an unlocked lockscreen, fingerprint auth
Change-Id: Ia06f48f092414360c3c9d3cb16cb8fb42591f5b8
2023-01-19 10:26:49 -05:00
Behnam Heydarshahi
1db653833b Merge "Ring volume icon stuck at normal" into tm-qpr-dev 2023-01-19 14:38:53 +00:00
Christian Göllner
14fdb4b9be Merge "Large screens: fully fade in behind scrim before anything else on shade" into tm-qpr-dev 2023-01-19 14:24:54 +00:00
Marcello Galhardo
5c0efdcdd7 Merge "Add Keyguard Shortcut for Note Task" into tm-qpr-dev 2023-01-19 14:00:51 +00:00
Himanshu Gupta
95580435bb Merge "Fixing Storage Volume listing for Cloned User." into tm-qpr-dev 2023-01-19 13:38:48 +00:00
Govinda Wasserman
9347024123 Merge "Creates throttle function for flows" into tm-qpr-dev 2023-01-19 13:18:28 +00:00
Sam Dubey
fb754d4d33 Exclude flaky annoatated tests
Folks seems to be using both androidx.test.filters.FlakyTest as well as
android.platform.test.annotations.FlakyTest to ignore flake tests. While
it's better that there is a more standardized doc for exlcusion, a
strong blocking  test mapping suite should exclude both.

Test: N/A
Bug: 259525599
Change-Id: Ie5cdce3ed3f5c5cea169a36189163ba530c66364
2023-01-19 13:10:05 +00:00
Jernej Virag
94eb9b760d Merge "Use table logging for Notification memory use" into tm-qpr-dev 2023-01-19 13:02:54 +00:00
Vali Calinescu
e32cf9e75e Merge "Introduce config to use display aspect ratio for letterbox" into tm-qpr-dev 2023-01-19 12:29:20 +00:00
TreeHugger Robot
4f726c8c39 Merge "Improve the boot animation fix" into tm-qpr-dev 2023-01-19 11:31:55 +00:00
Marcello Galhardo
2d44ce1911 Add Keyguard Shortcut for Note Task
Allow a user to manually set a Note Task shortcut in the Keyguard screen using the new Quick Affordance UI. The shortcut should only be available when:
1. The device supports Note Task (i.e., tablets).
2. Note Task feature flag is enabled: `adb shell cmd statusbar flag 1900 on`
3. Quick Affordance flag is enabled: `adb shell cmd statusbar flag 216 on`
4. Quick Affordance new UI flag is enabled: `adb shell cmd statusbar flag 222 on`

Later, we will add it as a default on the Keyguard to any device running `TitanSysuiConfigOverlay` if and only if a Stylus is detected (i.e., first usage).

Test: atest SystemUITests:NoteTaskQuickAffordanceConfigTest

Fixes: b/251208173

Change-Id: I2a6251c44946b677d8b8c64c12591e0a084ee965
2023-01-19 10:40:36 +00:00
Jordan Demeulenaere
3dd7c95133 Support Views that are scaled in GhostedViewLaunchAnimatorController
This CL ensures that we take the current scale of a View when computing
the start position of a launch animated View.

Bug: 265280100
Test: Launch an activity from a keyguard shortcut
Change-Id: I1f733283098af119fd403f106c15d39b4950fc88
2023-01-19 09:11:16 +00:00
Jordan Demeulenaere
3d5c9f008e Merge "Improve animation from keyguard shortcut" into tm-qpr-dev 2023-01-19 09:10:59 +00:00
Christian Göllner
0ddb66c913 Merge "Split-shade: show status bar earlier when closing shade" into tm-qpr-dev 2023-01-19 08:45:51 +00:00
Winson Chung
0b5f507540 Merge "Fix some shell unit tests with shell transitions" into tm-qpr-dev 2023-01-19 06:47:18 +00:00
Chandru S
52f1ceecfa Merge "Add DeviceEntryFingerprintAuthRepository to act as source of truth for keyguard FP auth state" into tm-qpr-dev 2023-01-19 04:51:39 +00:00
Ale Nijamkin
324ae34008 Merge "Show wallet option in picker even if not set up." into tm-qpr-dev 2023-01-19 00:50:03 +00:00
Rahul Banerjee
f0a9a49d81 Fix ANR in SystemUI due to race condition.
Bug: 265374290
Test: atest CentralSurfacesImplTest
Change-Id: Ia70a3b777dc63535bc173875b2f54056ec6cca39
2023-01-18 16:23:00 -08:00
Ale Nijamkin
4c1411e09b Merge "Quick affordance to open the camera in video mode." into tm-qpr-dev 2023-01-18 23:55:00 +00:00
Lyn
66e5564911 Add Flags.DISABLE_FSI
Bug: 265804648
Test: adb shell cmd statusbar flag 265804648 on
Change-Id: I48af307e83bcd7c6aaa431683374075e25b64b86
2023-01-18 22:33:58 +00:00
Winson Chung
954b189d2f Fix some shell unit tests with shell transitions
Bug: 262783148
Test: atest WMShellUnitTests
Change-Id: I2147c2aa76991ced19e80dc44b68262907caca87
2023-01-18 22:31:08 +00:00
Govinda Wasserman
6f4029a562 Creates throttle function for flows
The throttle function works similarly to the debounce function except
that instead of filtering out all values for the period, it instead
slows the rate of emission to at most 1 value per period.

Test: atest ThrottleFlowTest
BUG:265451297
FIX:265451297
Change-Id: I1a7d337ee87e8dc92933d61ebdf32322c7c5befd
2023-01-18 16:55:21 -05:00
Behnam Heydarshahi
5d1911a246 Ring volume icon stuck at normal
Fix the bug where dragging ring volume slider all the way to left
would not trigger an icon change, on devices that do not have
a vibrator.

Solution: offer a boolean config for volumeDownToEnterSilent.

Bug: 265459313

Test: Manual. Slide ring volume to left in settings. Ring volume
icon should switch to mute/vibrate and not get stuck at normal.

Change-Id: I0d5f71a86703eda61c0d831046b2e0c3f5dabb84
2023-01-18 21:47:59 +00:00
Peter Kalauskas
f71427b27e Merge "Fix jank in CUJ_NOTIFICATION_HEADS_UP_APPEAR" into tm-qpr-dev 2023-01-18 21:42:35 +00:00
John Johnson
2a1702549e Merge "Add WalletContextualSuggestionsController" into tm-qpr-dev 2023-01-18 20:48:13 +00:00
Matt Pietal
74fb070d3b Merge "Transitions - Allow ->GONE to be canceled" into tm-qpr-dev 2023-01-18 20:32:27 +00:00
Steve Elliott
437f91af5b Merge "Add unlock to see more messaging to notif footer" into tm-qpr-dev 2023-01-18 20:24:38 +00:00
Dave Mankoff
212f86c915 Merge "Update README.md and dagger.md." into tm-qpr-dev 2023-01-18 20:23:01 +00:00
TreeHugger Robot
ec1d4f483d Merge "Base color API updates" into tm-qpr-dev 2023-01-18 18:42:11 +00:00
Christophe Pinelli
c3467bc145 [automerger skipped] [DO NOT MERGE] Backport BAL restrictions from T to S, this blocks apps from using Alarm am: 9624f4f1f8 -s ours am: ed6700eb23 -s ours am: 3a70db0f34 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I15668794038db1ae80264996a26e0e050e3a79d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-18 18:36:44 +00:00
Chandru S
9c28acb32c Add DeviceEntryFingerprintAuthRepository to act as source of truth for keyguard FP auth state
Right now, it is a wrapper around KeyguardUpdateMonitor, we can move FP
auth state out of KUM in the next refactor

Bug: 262838215
Test: atest DeviceEntryFingerprintAuthRepositoryTest
Change-Id: I0bf83a0ca8801bc6d8c45c610a1ef898e292a7a2
2023-01-18 10:14:21 -08:00
Christophe Pinelli
3a70db0f34 [automerger skipped] [DO NOT MERGE] Backport BAL restrictions from T to S, this blocks apps from using Alarm am: 9624f4f1f8 -s ours am: ed6700eb23 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iadc07fe19c6ef8722a0a9c5408cb7ac531c50c58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-18 17:42:42 +00:00
Alejandro Nijamkin
bd86eae9a8 Show wallet option in picker even if not set up.
Updates the logic to show the option in the picker as disabled, when the
wallet is not yet set up.

Fix: 265321396
Test: manually made sure that the wallet option is visible and disabled
in the picker before I installed the wallet app. Once a card was added,
it became selectable and enabled.
Test: updated unit tests.

Change-Id: Ie5d854b7314148d3721d6efa2e2e18f883c861c5
2023-01-18 17:39:14 +00:00
Nick Chameyev
3f4c07ee1b Revert "Revert "[Unfold animation] Do not show dark vignette whe..."
Revert submission 21035043-revert-21009614-fold-no-vignette-SFIOYBEEIO

Reason for revert: Updated flag id

Reverted changes: /q/submissionid:21035043-revert-21009614-fold-no-vignette-SFIOYBEEIO

Change-Id: I4c92de8ed0512857542a37582789f008a63e4c81
2023-01-18 17:38:37 +00:00
Alejandro Nijamkin
ed4ce1647a Quick affordance to open the camera in video mode.
Also updates the older, normal camera config:
1. Don't show it if there's no camera app, tests included
2. Use the camera icon and reserve the video camera icon to the new
   video camera config (done in coordination with UX)

Fix: 265316887
Test: unit tests
Test: manually made sure that the video camera shortcut works
Change-Id: Ie3551f9a79a8df98d30e0f16e931fcea82171a39
2023-01-18 17:37:51 +00:00
Miranda Kephart
b283f14012 Make ScreenshotRequest handle hardware bitmap conversion
Currently, ScreenshotHelper provides utility functions to convert
between a hardware bitmap and a parcelable form for sending between
processes, but the originating code must handle the conversion itself.

This change moves the conversion so that it occurs seamlessly
inside of the ScreenshotRequest class, and refactors the inputs
to ScreenshotHelper slightly so that the ScreenshotRequest data class
is what gets passed in.

Bug: 264457397
Test: atest
Merged-In: I1041bbcfdc5f5ece6e98bd0844017d4f3dc4e9f3
Change-Id: I1041bbcfdc5f5ece6e98bd0844017d4f3dc4e9f3
2023-01-18 12:37:00 -05:00
Ale Nijamkin
2f12b73182 Merge "SysUI linter: Clean Architecture Dependency Rule." into tm-qpr-dev 2023-01-18 17:34:52 +00:00
Piotr Wilczyński
150b64606e Improve the boot animation fix
- do not use mPendingDeviceState as it's used to wait for the displays to turn off
- don't sleep on the first device state transition

Bug: 193821864
Bug: 265088477
Test: atest LogicalDisplayMapperTest
Test: atest PowerTest#power2RockBottomCheckTest
Change-Id: Ia258c0556948c790d073adec5a8b4ef6888dddc4
Merged-In: Ia258c0556948c790d073adec5a8b4ef6888dddc4
2023-01-18 17:27:18 +00:00
Dave Mankoff
a3e78cf864 Merge "Revert "[Unfold animation] Do not show dark vignette when folding"" into tm-qpr-dev 2023-01-18 17:21:58 +00:00
Vali Calinescu
23b2b2fe42 Introduce config to use display aspect ratio for letterbox
Bug: 264654821
Test: atest WmTests:SizeCompatTests#testDisplayAspectRatioForResizablePortraitApps
Change-Id: If5ef64ac478a705fc334d5f4f81b901ccb0d5ba4
2023-01-18 17:21:38 +00:00
Dave Mankoff
aa7ac3c9b2 Revert "[Unfold animation] Do not show dark vignette when folding"
Revert submission 21009614-fold-no-vignette

Reason for revert: Duplicate flag ids. Please change "2600" to something else.

Reverted changes: /q/submissionid:21009614-fold-no-vignette

Change-Id: I16e71542ed3179bc37feefbb5fc4d7ac42cbfdd7
2023-01-18 17:15:54 +00:00
Jeff Nainaparampil
fc38e33aa1 Merge "[People Service] Fix hasActiveNotifications to track when notifications are modified" into tm-qpr-dev 2023-01-18 17:09:48 +00:00