summaryrefslogtreecommitdiffstats
path: root/policy
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 /policy
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 'policy')
-rwxr-xr-xpolicy/src/com/android/internal/policy/impl/PhoneWindowManager.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
index 0911f1f..35f71ec 100755
--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -143,7 +143,6 @@ import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import java.io.File;
-import java.io.FileDescriptor;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
@@ -4371,7 +4370,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
mLastInputMethodTargetWindow = target;
}
- public void dump(String prefix, FileDescriptor fd, PrintWriter pw, String[] args) {
+ public void dump(String prefix, PrintWriter pw, String[] args) {
pw.print(prefix); pw.print("mSafeMode="); pw.print(mSafeMode);
pw.print(" mSystemReady="); pw.print(mSystemReady);
pw.print(" mSystemBooted="); pw.println(mSystemBooted);