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
Loading
Please register or sign in to comment