summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author burakov <burakov@google.com> 2023-12-04 16:53:12 +0000
committer burakov <burakov@google.com> 2023-12-07 15:29:07 +0000
commit9e58a42de334ba941daf07c0c496f95fb357cef2 (patch)
tree3dd353e7ef8c63f23a3880a9940c9697cbfc0b8f /libs/androidfw/FileStream.cpp
parent516fdd0bb758a6281d0b47dfd0038e5c782a59c6 (diff)
[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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions