summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Chris Göllner <chrisgollner@google.com> 2024-02-07 17:03:08 +0000
committer Chris Göllner <chrisgollner@google.com> 2024-02-07 17:11:31 +0000
commit30486e7ae38a3371b6a50b83e15301d537b72576 (patch)
tree123ba82de6e3ea01258efca096202b0c27da5f2c /libs/androidfw/misc.cpp
parentca4a84d4bfc157d1a41a416ec219564843d9ad2b (diff)
Fix status bar window height not being updated on certain rotations
This was causing status bar icons being truncated. Certain rotation events don't trigger an application wide configuration change event. An example is when going from portrait to upside down, or when going from landscape to seascape. It triggers a configuration change on the PhoneStatusBarView though. The status bar window height was being updated on application level configuration changes. For that reason it was not being updated always. The fix is to update the height based on configuration change events from the PhoneStatusBarView instead of the application. Test: PhoneStatusBarViewTest.kt Test: CentralSurfacesImplTest.java Test: Manually Fixes: 323299264 Flag: ACONFIG com.android.systemui.truncated_status_bar_icons_fix DISABLED Change-Id: I37dd1b6b446b6975a8aa6ba8d597cd95a990f74c
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions