summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author axfordjc <axfordjc@google.com> 2023-09-28 12:20:27 +0000
committer axfordjc <axfordjc@google.com> 2023-09-28 12:22:39 +0000
commitfaf9e70cf4e1747f572362694b10201a6cefcfe2 (patch)
tree8071e373039a55c8739ba62183c826ded306e19a /libs/androidfw/ApkParsing.cpp
parent6c29a6fb047c2426201e7bc855afd9ba6526607a (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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions