| commit | 36544576a5f8575b02875f1dd72655287f47421a | [log] [tgz] |
|---|---|---|
| author | Oleg Blinnikov <olb@google.com> | Tue Apr 22 06:35:59 2025 -0700 |
| committer | Oleg Blinnikov <olb@google.com> | Tue Apr 22 06:35:59 2025 -0700 |
| tree | 3dbd186b1a48facf156288d87c74e6e942509f26 | |
| parent | 2715b6e3a58457f2ff1da5e4233c1a0f6d9ec37a [diff] |
Fix display size update check. Before the change, if either width or height differs, but not both, the display size update would not happen. Fix: change the if condition to "or" instead of "and". Test: manual display resolution changes Test: atest LogicalDisplayTest DisplayDeviceTest Bug: 355427258 Flag: com.android.graphics.surfaceflinger.flags.synced_resolution_switch Change-Id: I44bb3c73112dd729ad3686936f6443b229090596