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
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
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
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
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
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
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
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
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
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
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
- 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