From f2316be9c8c468d94c094ca0085e21ce4e0c4b98 Mon Sep 17 00:00:00 2001 From: Tarandeep Singh Date: Mon, 27 Jan 2020 12:44:31 -0800 Subject: [PATCH] Change insets property from wm to debug. persist.wm is not editable on user builds, changing it to debug so it is editable. Making the change so its flippable on dp1. Bug: 111084606 Test: atest CtsInputMethodTestCases Manually verified adb shell setprop persist.debug.* is editable on user build. Change-Id: I693abad22d2b087f0df6ac5c138ba942252cc620 --- 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 841c43fb1392c..51ea30b417418 100644 --- a/core/java/android/view/ViewRootImpl.java +++ b/core/java/android/view/ViewRootImpl.java @@ -216,7 +216,7 @@ public final class ViewRootImpl implements ViewParent, * If set to 1, this will switch to a mode where we only use the new approach for IME, but not * for the status/navigation bar. */ - private static final String USE_NEW_INSETS_PROPERTY = "persist.wm.new_insets"; + private static final String USE_NEW_INSETS_PROPERTY = "persist.debug.new_insets"; /** * @see #USE_NEW_INSETS_PROPERTY