IActivityControllerpublic interface IActivityController implements android.os.IInterfaceTesting interface to monitor what is happening in the activity manager
while tests are running. Not for normal application development.
{@hide} |
Methods Summary |
---|
public boolean | activityResuming(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 boolean | activityStarting(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 boolean | appCrashed(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 int | appEarlyNotResponding(java.lang.String processName, int pid, java.lang.String annotation)Early call as soon as an ANR is detected.
| public int | appNotResponding(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 int | systemNotResponding(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.
|
|