summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolò Mazzucato <nicomazz@google.com> 2023-08-03 08:50:12 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-08-03 08:50:12 +0000
commitcbfe13a3dde3148651d5865a5e507454998fc0fb (patch)
tree1618db556b1d601de9d4b4b529b02e8f9646f886
parent7f74bcb54cb5b5d544efc9315c273081a18dee09 (diff)
parentb71e95146f2c2241ab48c4602e4cbcec87d246da (diff)
Merge "Enable insets cache for display switch" into udc-dev
-rw-r--r--services/core/java/com/android/server/wm/DisplayPolicy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/wm/DisplayPolicy.java b/services/core/java/com/android/server/wm/DisplayPolicy.java
index 95c953a5cf2d..a1a9a0877710 100644
--- a/services/core/java/com/android/server/wm/DisplayPolicy.java
+++ b/services/core/java/com/android/server/wm/DisplayPolicy.java
@@ -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;