From ab6b5064b9d327629482ef93f9b69d26d180d833 Mon Sep 17 00:00:00 2001 From: Tiger Date: Wed, 5 Oct 2022 17:26:59 +0800 Subject: [PATCH] Re-land "Enable LOCAL_LAYOUT" Test: regular rotation, fixed rotation, and seamless rotation Test: PowerMenuMicrobenchmark#testPower_verifySystemPowerMenuAppears Bug: 161810301 Bug: 175861564 Change-Id: Ic0315aaef76fc9e6899fac278002c75fc1a2909d --- core/java/android/view/ViewRootImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java index e4caa385bc9b5..a78d10aaf1ad2 100644 --- a/core/java/android/view/ViewRootImpl.java +++ b/core/java/android/view/ViewRootImpl.java @@ -284,7 +284,7 @@ public final class ViewRootImpl implements ViewParent, * @hide */ public static final boolean LOCAL_LAYOUT = - SystemProperties.getBoolean("persist.debug.local_layout", false); + SystemProperties.getBoolean("persist.debug.local_layout", true); /** * Set this system property to true to force the view hierarchy to render