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

Skip to content
Commit 9a48a8c8 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

surfaceflinger: simplify getActiveColorMode check

When mForceNativeColorMode is true, getActiveColorMode returns
HAL_COLOR_MODE_NATIVE.  There is no need to check both.

Test: manual with UiBench
Change-Id: I3bbf66d85ccb262441b9d216096ec869c529b7e8
parent 69bf10f5
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