commit | faf9e70cf4e1747f572362694b10201a6cefcfe2 | [log] [tgz] |
---|---|---|
author | axfordjc <axfordjc@google.com> | Thu Sep 28 12:20:27 2023 +0000 |
committer | axfordjc <axfordjc@google.com> | Thu Sep 28 12:22:39 2023 +0000 |
tree | 8071e373039a55c8739ba62183c826ded306e19a | |
parent | 6c29a6fb047c2426201e7bc855afd9ba6526607a [diff] |
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