New constant used by dev settings
Change-Id: I42f103ae8a9b9f051367c72131f0b216e200f6e0
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index b65bf8f..461e7f1 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -648,6 +648,13 @@
protected static final String VIEW_LOG_TAG = "View";
/**
+ * When set to true, apps will draw debugging information about their layouts.
+ *
+ * @hide
+ */
+ public static final String DEBUG_LAYOUT_PROPERTY = "debug.layout";
+
+ /**
* Used to mark a View that has no ID.
*/
public static final int NO_ID = -1;
@@ -16903,7 +16910,7 @@
/**
* Show where the margins, bounds and layout bounds are for each view.
*/
- final boolean mDebugLayout = SystemProperties.getBoolean("debug.layout", false);
+ final boolean mDebugLayout = SystemProperties.getBoolean(DEBUG_LAYOUT_PROPERTY, false);
/**
* Creates a new set of attachment information with the specified