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
Loading
Please register or sign in to comment