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

Skip to content
Commit a3ea559c authored by Peiyong Lin's avatar Peiyong Lin
Browse files

[SurfaceFlinger] Allow force a supported color mode.

Device now can force color mode by setting persist.sys.sf.color_mode.
persist.sys.sf.color_mode must:
    1. not be NATIVE color mode, NATIVE color mode means no forced color mode;
    2. be one of the supported color modes returned by hardware composer,
       otherwise it will not be respected.

persist.sys.sf.color_mode will only take effect when persist.sys.sf.native_mode
is not set to 1.

Minor: Fix some color profile tests.

BUG: 124129486
Test: Build, flash and boot. Verify by hacking Pixel 3.
Change-Id: I6aa4cff5aec16f0953d63e698919b41d617ea111
parent f1adb4aa
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