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

Skip to content
Commit faf9e70c authored by axfordjc's avatar axfordjc
Browse files

flag guarding getWindowInsets()

Reading insets was needed to properly centre the lock icon.
The insets were only included when calculating the mid-point when the lockscreen.enable_landscape flag is enabled. However, the insets where read outside of flag-guarding.
Now, the insets are only read if the flag is on.

Bug: 296571001
Bug: 293252410
Bug: 300763027

Test: LockIconViewControllerTest
Change-Id: I915642c7d6afc52b1f00d0874bd0bbd215feefa1
parent 6c29a6fb
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