Enable insets cache for display switch
To reduce latency of physical display switch.
Bug: 266197298
Bug: 293131586
Bug: 292472402
Test: Check latency of fold/unfold.
Change-Id: Id2e796edee45dae281f867c2b1549a80984c8a8e
(cherry picked from commit 5dfc7882df)
This commit is contained in:
committed by
Nicolò Mazzucato
parent
1e2468f4d6
commit
b71e95146f
@@ -176,7 +176,7 @@ public class DisplayPolicy {
|
||||
|
||||
// TODO(b/266197298): Remove this by a more general protocol from the insets providers.
|
||||
private static final boolean USE_CACHED_INSETS_FOR_DISPLAY_SWITCH =
|
||||
SystemProperties.getBoolean("persist.wm.debug.cached_insets_switch", false);
|
||||
SystemProperties.getBoolean("persist.wm.debug.cached_insets_switch", true);
|
||||
|
||||
private final WindowManagerService mService;
|
||||
private final Context mContext;
|
||||
|
||||
Reference in New Issue
Block a user