Remove useless code.
Change-Id: Ic2418438235e1fbcb8ccfece9c74c54fc46229df
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index 32c0742..681200c 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -4574,18 +4574,6 @@
}
/**
- * capture information of this view for later analysis: developement only
- * check dynamic switch to make sure we only dump view
- * when ViewDebug.SYSTEM_PROPERTY_CAPTURE_VIEW) is set
- */
- private static void captureViewInfo(String subTag, View v) {
- if (v == null || SystemProperties.getInt(ViewDebug.SYSTEM_PROPERTY_CAPTURE_VIEW, 0) == 0) {
- return;
- }
- ViewDebug.dumpCapturedView(subTag, v);
- }
-
- /**
* Return the global {@link KeyEvent.DispatcherState KeyEvent.DispatcherState}
* for this view's window. Returns null if the view is not currently attached
* to the window. Normally you will not need to use this directly, but