Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36544576 authored by Oleg Blinnikov's avatar Oleg Blinnikov
Browse files

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
parent 2715b6e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment