Improve ViewDebug informations for View and LineaLayout
Change-Id: Ie34519c975027dead806b7859b638d78c39ace77
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index c9db697..014f19f 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -4147,7 +4147,7 @@
* @attr ref android.R.styleable#View_horizontalDirection
* @hide
*/
- @ViewDebug.ExportedProperty(mapping = {
+ @ViewDebug.ExportedProperty(category = "layout", mapping = {
@ViewDebug.IntToString(from = HORIZONTAL_DIRECTION_LTR, to = "LTR"),
@ViewDebug.IntToString(from = HORIZONTAL_DIRECTION_RTL, to = "RTL"),
@ViewDebug.IntToString(from = HORIZONTAL_DIRECTION_INHERIT, to = "INHERIT"),
@@ -10043,6 +10043,7 @@
*
* @return true if the layout is right-to-left.
*/
+ @ViewDebug.ExportedProperty(category = "layout")
public boolean isLayoutRtl() {
return (mPrivateFlags2 & RESOLVED_LAYOUT_RTL) == RESOLVED_LAYOUT_RTL;
}