Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95c894c1 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Udfps-screen off behavior improvements

AOD x battery saver x UDFPS-screen off behavior:
- Show fingerprint icon & auth messages on udfps
screen off failures (previously, no UI would show
on failure)

Quick pickup gesture updates:
- Disable quick pickup gesture on non-optical
UDFPS devices
- Update quick pickup gesture to turn display on
without any AOD UI (previously, would show full
AOD UI); subsequent udfps-failure behavior will follow
udfps-screen off behavior

DozeTriggers changes:
- On pulse triggers, never request more than the
minimal UI the pulse trigger desires. If the doze state
is already showing more UI than the current pulse trigger,
don't request anything.

Test: atest DozeUiTest DozeTriggersTest
Test: on non-optical udfps devices: enable flag;
disable aod; check DozeLog; observe quick pickup gesture
is not enabled
Test: on optical udfps device: enable flag;
disable aod; check DozeLog; observe quick pickup gesture
is enabled; perform gestre; observe gesture triggers
Test: enable flag; enable aod; enable battery saver;
fail screen-off udfps with the wrong fingerprint; observe
fingerprint icon & fp message (and no clock UI)
Fixes: 432255207
Fixes: 433199294
Flag: com.android.systemui.new_dozing_keyguard_states

Change-Id: I9c728b395adf8d050b0037eb7ef0fb3cab7fb517
parent 6280ac14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment