Make sure profiling is done only for views that are actually measured, laid out and drawn.

Change-Id: I88c66e882be2781d079c51b6580a19c4e359c5b1
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index c3f81a2..8007710 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -1420,8 +1420,8 @@
     static final int MEASURED_DIMENSION_SET         = 0x00000800;
     /** {@hide} */
     static final int FORCE_LAYOUT                   = 0x00001000;
-
-    private static final int LAYOUT_REQUIRED        = 0x00002000;
+    /** {@hide} */
+    static final int LAYOUT_REQUIRED                = 0x00002000;
 
     private static final int PRESSED                = 0x00004000;