Merge "Enable insets cache for display switch" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cbfe13a3dd
@@ -176,7 +176,7 @@ public class DisplayPolicy {
|
|||||||
|
|
||||||
// TODO(b/266197298): Remove this by a more general protocol from the insets providers.
|
// TODO(b/266197298): Remove this by a more general protocol from the insets providers.
|
||||||
private static final boolean USE_CACHED_INSETS_FOR_DISPLAY_SWITCH =
|
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 WindowManagerService mService;
|
||||||
private final Context mContext;
|
private final Context mContext;
|
||||||
|
|||||||
Reference in New Issue
Block a user