FileDocCategorySizeDatePackage
IActivityController.javaAPI DocAndroid 5.1 API10677Sat Mar 14 05:47:56 GMT 2015android.app

IActivityController

public interface IActivityController implements android.os.IInterface
Testing interface to monitor what is happening in the activity manager while tests are running. Not for normal application development. {@hide}

Fields Summary
Constructors Summary
Methods Summary
public booleanactivityResuming(java.lang.String pkg)
The system is trying to return to an activity. Return true to allow it to be resumed as normal, or false to cancel/reject this activity.

public booleanactivityStarting(android.content.Intent intent, java.lang.String pkg)
The system is trying to start an activity. Return true to allow it to be started as normal, or false to cancel/reject this activity.

public booleanappCrashed(java.lang.String processName, int pid, java.lang.String shortMsg, java.lang.String longMsg, long timeMillis, java.lang.String stackTrace)
An application process has crashed (in Java). Return true for the normal error recovery (app crash dialog) to occur, false to kill it immediately.

public intappEarlyNotResponding(java.lang.String processName, int pid, java.lang.String annotation)
Early call as soon as an ANR is detected.

public intappNotResponding(java.lang.String processName, int pid, java.lang.String processStats)
An application process is not responding. Return 0 to show the "app not responding" dialog, 1 to continue waiting, or -1 to kill it immediately.

public intsystemNotResponding(java.lang.String msg)
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.