summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-05-06 13:47:04 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-06 13:47:04 -0700
commit485d7a31a8a07c825281cbae789ca0d04f3949d7 (patch)
treeb121ac3a4a1f425e35cdc99df57f686d628eb4a5 /cmds
parent966b340e7d18b78c74a07379bbd08a426e84d8ce (diff)
parent5b88a2fd7b77880f6e09ae4a1de509bebe28bc3a (diff)
downloadframeworks_base-485d7a31a8a07c825281cbae789ca0d04f3949d7.zip
frameworks_base-485d7a31a8a07c825281cbae789ca0d04f3949d7.tar.gz
frameworks_base-485d7a31a8a07c825281cbae789ca0d04f3949d7.tar.bz2
am 5b88a2fd: Debugging help for issue #8734824: WATCHDOG KILLING SYSTEM PROCESS
* commit '5b88a2fd7b77880f6e09ae4a1de509bebe28bc3a': Debugging help for issue #8734824: WATCHDOG KILLING SYSTEM PROCESS
Diffstat (limited to 'cmds')
-rw-r--r--cmds/am/src/com/android/commands/am/Am.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java
index ccb9e1f..93658e1 100644
--- a/cmds/am/src/com/android/commands/am/Am.java
+++ b/cmds/am/src/com/android/commands/am/Am.java
@@ -1093,6 +1093,18 @@ public class Am extends BaseCommand {
}
}
+ @Override
+ public int systemNotResponding(String message)
+ throws RemoteException {
+ synchronized (this) {
+ System.out.println("** ERROR: PROCESS NOT RESPONDING");
+ System.out.println("message: " + message);
+ System.out.println("#");
+ System.out.println("Allowing system to die.");
+ return -1;
+ }
+ }
+
void killGdbLocked() {
mGotGdbPrint = false;
if (mGdbProcess != null) {