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

[Bouncer] Update bouncer view with display size.

Updates the bouncer view when display size has changed and when font
scale has changed. When this specific configuration changes, we
invalidate the cache of the view flipper and tell each view mode that
the configuration change has been made. In the UserSwitcher view mode,
we reinflate the user switcher.

Fixes: 257513443
Test: Change display size, turn screen off and on and observe security
view and user switcher has changed size. (On Pin, Password, and pattern)
Test: Change font size and bold font, turn screen off and on and observe security
view and user switcher has changed size. (On Pin, Password, and pattern)
Test: Added unit test.

Change-Id: Iffbbe6f5b0f32f4b40dd70e9bd534b444a8d1ef6
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