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

Skip to content
Commit 5e9a43e0 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

surfaceflinger: remove hwcId < 0 path in doComposeSurfaces

Remove the check for hwcId and re-indent the code.  hwcId is never
less than zero.  Even if it did,
getCompositionType(DISPLAY_ID_INVALID) would return
HWC2::Composition::Client and it would still work.

The motivation is that the hwcId < 0 path has gone outdated since
the introduction of legacy sRGB saturation matrix.

Bug: 78891890
Test: virtual displays
Change-Id: I6f3e779bc0f8ef21d33ce7de49ddbfa95757e473
parent 1148147c
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