Age | Commit message (Collapse) | Author |
|
Bug: 220074017
Change-Id: Idfdd94e902f656ac65a2a75dfdd199f6f85ba472
|
|
Otherwise the background should remain hidden (View.GONE) for devices
without the UDFPS sensor.
Fixes: 200813382
Test: atest LockIconViewControllerTest
Change-Id: I1ef3cef37de60e6968432869f4c946b6de414db4
|
|
* shows udfps if it's enrolled on AOD even if:
* device requires strong auth (ie: after reboot, lockdown)
* device is unlocked via smart lock
On click of the udfps icon in the above cases:
* If the device is locked, the bouncer will show.
* If the device is unlocked, the user will enter the device.
Fixes: 198315404
Test: manual
Change-Id: Id766df8f77427ae1db672507716bd38dc3462452
|
|
If the touch leaves the lock icon area, we already drop the touch.
Therefore, we don't also need to also take into consideration the
ZigZagClassifier for the lock icon.
Also, only play the longpress vibration if we will be bringing
up the bouncer. If the FalsingManager think we're falsing, there's no reason to play
the longpress vibration.
Test: manually longpress lock icon on device with
udfps capability (after lockdown or reboot) and observe
longpress consistently brings up the bouncer
Fixes: 197271526
Change-Id: Ic9fa82a549599e48d281b4db69c04627803c6c5a
|
|
+ Update javadoc
Test: atest LockIconViewControllerTest
Fixes: 196751321
Change-Id: I003bec46b26a2c8ac8bae6d1d26c91645c4ae72f
|
|
Show the auth ripple if the user enters the device
via the unlock icon (where the udfps icon would normally be).
Test: manual
Fixes: 195162787
Change-Id: Ie65dce30c009f94a0472f566c3663a0de2bc063b
|
|
Similar to how taps and longpresses are handled, swipes on the
unlock icon will also enter the device.
Test: manually swipe on unlock icon and see device entry
Bug: 195664144
Change-Id: I1fa40c461ce1476b6b1369ad9ac1759165d67740
|
|
Also, update string resources on config changes
Test: manually change locale
Fixes: 194642457
Change-Id: I9b7a22db00a57c1a87a6d59472bc7f2ed2c31015
|
|
Also show background on lock icon and unlock
icons if the device supports udfps. This is to help
indicate the affordance is tappable.
Test: manually test with and w/o udfps
- AOD <=> Lock screen
- gpay wallet affordance on LS that requests udfps
- slowly swipe up to show bouncer => udfps fades
- slowly swipe down to expand notification shade => udfps fades
- tap notification on ls, no bg animation
- tap notification on locked shade, there is a bg animation
- toggle on/off dark mode from lock screen
Fixes: 192403524
Change-Id: I5a19d3cd45c51af78a49d46126fc0678a3df6d6c
|
|
Instead of 'jumping' when Now Playing is shown/hidden.
Test: manual
Fixes: 192926771
Change-Id: I909ddca91be4539c88668494db51d236feeb1ec6
|
|
All other touches should be let through to NPV in case
the user starts to swipe up from the lock icon
We still want to continue intercepting touches after a long press
so that the NPV won't mistakenly handle the touch + expand the
shade after a longpress.
Test: manual
Fixes: 193614314
Change-Id: I060f6f78c373a726fe4dbe1be5b5413364882e1d
|
|
- don't animate fp => unlock unless udfps was enrolled
- show a static unlock icon if the device wasn't previously locked
Test: manual
- swipe to unlock
- face only
- fp only
- co-ex
- removing biometric auth => swipe to unlock
Bug: 193878791
Change-Id: I35d393383674acb03f06ea58fb8aabc2a820ad7c
|
|
|
|
This reverts commit 09923d5eca02486324b55c9f28562d17418fc577.
Reason for revert: doesn't look good on smaller devices, punting to qpr
Bug: 192403524
Change-Id: I3e6bde6cf2f8cbbeb3502444cd63f2933704d357
|
|
Test: manual, adb shell dumpsys vibrator_manager
Bug: 193089985
Change-Id: I8c3e5d1931a3399d4ecf0aac501cd74e0b7d7bec
|
|
- to indicate it is tappable
- update background drawable on color change to update
color
Test: manual
Fixes: 192403524
Change-Id: I34255e3f7cc7b1dfc246c4e2441822129abdf819
|
|
From fp => unlock and lock => unlock
Test: manual
Fixes: 192687246
Change-Id: I7e72b30c45112306bd42325ec5c44bb2b50a6870
|
|
- Make sure udfps doesn't overlap notification shade
by giving it a 48dp buffer from the notification shade
- Start fading out the udfps icon faster when swiping
up to the bouncer
- Include now playing text in the buffer for the lock icon position
Test: manual
Bug: 192926771
Fixes: 193193900
Change-Id: I3faf73548c9990886237c28d28e7e8b0f9e8686e
|
|
Limit text to two lines with ellipsis.
Now correctly calculates spacing
Test: manual
Fixes: 192483581
Change-Id: Ie4f989b873c9aa2dcf09b02e77d16b7b9516580c
|
|
Or else when the lock icon disappears (unlock) and user continues
holding the lock icon area, touches will be sent to NPV and falsely
expand the shade.
Test: manual + with TalkBack
Fixes: 192404880
Change-Id: Iea97062f5b813bee6a06112f25d8e4008a25ac12
|
|
- Previously lock icon would only show on devices with udfps or face auth
enabled.
- Icon is only clickable if udfps is enrolled OR device is unlocked
Bug: 192355838
Fixes: 187083137
Test: manual
Change-Id: I2bf160ba2e09d215a95dce05a55bdbf1ed587e63
|
|
The scrim is also used on the lock screen and should therefore be
behind the keyguard elements. Instead, we now fade out the views
on top of the scrim to achieve the same visual effect.
This also fixed an issue where the inset on the scrim was wrong in landscape
Fixes: 188660106
Test: drag down on lockscreen, observe content fading out
Change-Id: I72e6b964dde5ad3c579a0db71d7914f3e47eab6c
|
|
- Delay updating visibility of the LockIcon/Button when the FPS running
state changes to false. The fingeprint listening state may be cancelled on
screen off and immediately restarted on entering AOD. During this brief
moment, we don't want to flash the grey button (affordance for bouncer
when fps isn't running).
- Remove keyguard visibility check from UdfpsKeyguardViewController -
this was delaying showing the udfps icon on AOD since the visibilty
changes too late.
- Update udfps bouncer logic - only show the generic bouncer from
showBouncerIfKeyguard if we're on the keyguard and bouncer isn't about
to show (from swiping up from the bottom).
- Reset leaveOpenOnKeyguardHide when a user exits the bouncer from a
backpress. We don't want this state to linger into the next auth
attempt.
Test: manual
Fixes: 188605736
Fixes: 187131910
Fixes: 185951882
Change-Id: Ibcddccdde0173b312404ea33741adc6a15efab6b
|
|
+ update udfps icon color logic. Make sure alpha values are
between 0 and 255, else the drawable's color can be wrong.
Test: manual
Fixes: 186549545
Fixes: 187138534
Change-Id: I7e9787db3ca44568209ebae373cdf48482a10417
|
|
When dragging down on the lockscreen, we now pull down the quick
settings while dragging instead of wating for the release
Bug: 184946919
Test: atest SystemUITests
Change-Id: Ib233282dd7ce4ba63ceab3e1b788aa164e88c8c0
|
|
When a11y features are enabled, inform the user
when the state of the lock screen changes.
Remove the window accessibility title on the udfps icon so that it won't
announce its window each time the udfps area receives focus. (ie:
previously was announcing "fingerprint sensor, SystemUI")
Add a label to the wallet affordance on the lock screen.
Test: manual
Fixes: 187139663
Fixes: 187190642
Fixes: 187082618
Fixes: 187080405
Change-Id: I4269b1943ec4d2e82eac9525947bb1903886f4f8
|
|
The running state of fingerprint/face-auth changes before the keyguard
callbacks get called (ie: isKeyguardGoingAway / isKeyguardShowing), so
we need to double check whether the user has used biometrics to
authenticate to determine whether to show the grey circle.
Remove unused layout disabled_udfps_view.
Test: manual, atest SystemUITests
Fixes: 185951882
Change-Id: I573926059452037a639fd29838f43f277736819c
|
|
- When touchExplorationEnabled, touch events become hover events. This
updates UdfpsController to handle hover events so the user can still
authenticate when a11y options are enabled
- Update UdfpsView contentDescription
- Update LockIconViewController labels to support a11y
Test: manual
Bug: 185912108
Change-Id: Ic9590607105459506f8ce5d4d73f779853f1ed31
|
|
Bug: 183910378
Test: manual
Change-Id: I49bf263b76ffae6f6f2a95d048ce748adaa89dce
|
|
Remove the old icon below the status bar on keyguard. Instead, a lock
icon will show beneath the notification shade for devices with either
udfps or face auth enrolled. All other devices will no longer have a
lock icon.
Test: manual, atest SystemUITests
Bug: 183910378
Change-Id: I7eebc363150641b4d63ee0f35b379d163e3a71d5
|