summaryrefslogtreecommitdiffstats
path: root/core/java/android/app/IActivityController.aidl
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-05-03 16:25:11 -0700
committerDianne Hackborn <hackbod@google.com>2013-05-06 11:16:18 -0700
commit5b88a2fd7b77880f6e09ae4a1de509bebe28bc3a (patch)
tree19cb92ba626d8b207cfba3ae2b57d623c209a093 /core/java/android/app/IActivityController.aidl
parent996f6b048ba03ca727c40e1bc33100bf45c93518 (diff)
downloadframeworks_base-5b88a2fd7b77880f6e09ae4a1de509bebe28bc3a.zip
frameworks_base-5b88a2fd7b77880f6e09ae4a1de509bebe28bc3a.tar.gz
frameworks_base-5b88a2fd7b77880f6e09ae4a1de509bebe28bc3a.tar.bz2
Debugging help for issue #8734824: WATCHDOG KILLING SYSTEM PROCESS
IActivityController has a new callback which the Watchdog calls when it detects that the system process is hung. This may be use full monkey. All hail the monkey! Also add a new private feature to Binder to be able to turn off all incoming dump() calls to a process. The watchdog uses this when it reports it is hung, so that if someone, say, wants to collect a bug report at this point they won't get stuck waiting for things that are all busted. Change-Id: Ib514d97451cf3b93f29e194c1954e29f948c13b1
Diffstat (limited to 'core/java/android/app/IActivityController.aidl')
-rw-r--r--core/java/android/app/IActivityController.aidl7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/app/IActivityController.aidl b/core/java/android/app/IActivityController.aidl
index aca8305..952c900 100644
--- a/core/java/android/app/IActivityController.aidl
+++ b/core/java/android/app/IActivityController.aidl
@@ -58,4 +58,11 @@ interface IActivityController
* immediately.
*/
int appNotResponding(String processName, int pid, String processStats);
+
+ /**
+ * The system process watchdog has detected that the system seems to be
+ * hung. Return 1 to continue waiting, or -1 to let it continue with its
+ * normal kill.
+ */
+ int systemNotResponding(String msg);
}