summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-06-17 14:17:52 -0700
committerJeff Brown <jeffbrown@google.com>2012-06-17 15:55:46 -0700
commitd7a04de16798acc04ec0a89a0c7d9f1cf60d1521 (patch)
treead6fb448cd393aa827737680f46a891433215bf3 /core
parent22aa51202652efbd55094217a046b8e5ecb7afe2 (diff)
downloadframeworks_base-d7a04de16798acc04ec0a89a0c7d9f1cf60d1521.zip
frameworks_base-d7a04de16798acc04ec0a89a0c7d9f1cf60d1521.tar.gz
frameworks_base-d7a04de16798acc04ec0a89a0c7d9f1cf60d1521.tar.bz2
Capture window manager's last ANR state in bug report.
Currently just grabbing the window state but we could grab other things as part of the last ANR report. Bug: 6680398 Change-Id: I23aa70907b1bdcb21c8acc556fde196ca790ef6a
Diffstat (limited to 'core')
-rw-r--r--core/java/android/view/WindowManagerPolicy.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java
index ceb9fe6..09948b8 100644
--- a/core/java/android/view/WindowManagerPolicy.java
+++ b/core/java/android/view/WindowManagerPolicy.java
@@ -26,7 +26,6 @@ import android.os.LocalPowerManager;
import android.os.Looper;
import android.view.animation.Animation;
-import java.io.FileDescriptor;
import java.io.PrintWriter;
/**
@@ -1122,10 +1121,9 @@ public interface WindowManagerPolicy {
* Print the WindowManagerPolicy's state into the given stream.
*
* @param prefix Text to print at the front of each line.
- * @param fd The raw file descriptor that the dump is being sent to.
* @param writer The PrintWriter to which you should dump your state. This will be
* closed for you after you return.
* @param args additional arguments to the dump request.
*/
- public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args);
+ public void dump(String prefix, PrintWriter writer, String[] args);
}