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

Skip to content
Commit 9e58a42d authored by burakov's avatar burakov
Browse files

[flexiglass] Always round up the remaining throttle milliseconds.

This fixes a bug where we show the user there are 0 seconds remaining
before they can try to re-authenticate during throttling.

Bonus: since we only store this value in the model for presenting it to
the user, we should store it in seconds directly rather than converting
from milliseconds when formatting the message (which happens every
second during throttling).

Fix: 314308690
Bug: 314757822
Test: Unit tests updated and still pass.
Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT
Change-Id: Ifbf4708b687c037877784b29427c56ee2f20ab37
parent 516fdd0b
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