commit | 36433bb30ede3eff78bbcfad5d724fd012ad7acf | [log] [tgz] |
---|---|---|
author | burakov <burakov@google.com> | Fri Jul 12 10:44:41 2024 +0000 |
committer | Danny Burakov <burakov@google.com> | Fri Jul 12 11:09:13 2024 +0000 |
tree | c2d21797df2407b09d055bc43cfd204da36bf87a | |
parent | 5c6056c1a8adb94cc9306da30f33719cefb47445 [diff] |
[bc25] Fix clock centering logic on Dual Shade. Since Dual Shade can be in either wide or narrow layout, relying on ShadeMode to determine the clock centering is insufficient; the screen width needs to be checked instead. Flag: com.android.systemui.dual_shade Flag: com.android.systemui.scene_container Bug: 338033836 Bug: 352055453 Test: Added unit tests in ag/28236481, and they still pass. Change-Id: I2bc5ae76d6d1dc8c5d4df9e1c23e3ade78e2af14