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

Commit 3e2a2326 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Invoke setColorSpaceAgnostic only when needed

The default value is false, so it only needs to be called when the
flag is set. This avoids frequent extra IPC in performTraversals.

Also use async apply because it doesn't have order dependency
with other operation.

Bug: 308662081
Flag: com.android.window.flags.set_sc_properties_in_client
Test: Add trace around setColorSpaceAgnostic.
      It is only called for a few cases.
Change-Id: I28a21ce92e2d01ecbe3cdfd7d628228f2d66c7c6
parent 55cba851
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