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

Commit d3b08a78 authored by Gil Dekel's avatar Gil Dekel
Browse files

SF: Physical Display ID duplication avoidance

Currently, there are no safeguards against duplicate display IDs when
creating displays of any kind (physical or virtual). In rare cases where
duplicates occur, they cause critical failures in display management.

This patch introduces avoidance logic and checks against display ID
duplicates in SurfaceFlinger around creation of physical displays.

Flag: com.android.graphics.surfaceflinger.flags.stable_edid_ids
Bug: 421463565
Test: adb shell service call SurfaceFlinger 1037
Change-Id: I63ed72a232385a4a9236b2e229f562168cf28338
parent fe688b4b
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