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

Skip to content
Commit 2e482ce2 authored by Aaron Liu's avatar Aaron Liu
Browse files

[Bouncer] Set message for dismiss api.

Message being set to error message from viewmediator callback and prompt
reason from view mediator callback are overridden from the setText that
is called in #appear.

Only set message when text is empty. Additionally, for the modern
bouncer, the prompt reason was not updating properly. This is because
the old bouncer has a prepare method that udpates the prompt reason.

Test: patched in http://ag/20257883 and did dock setup. Observe with
MODERN_BOUNCER flag on and off. Both update the message.
Test: Add fingerprint auth and restart device to activate
REQUIRES_HARD_ATUH. Observe with
MODERN_BOUNCER flag on and off. Both prompt to unlock the device before
using auth.
Fixes 254841665

Change-Id: I8db831bfec4f6ac28f07049669469fdbb896de06
parent 00773c6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment