Search in sources :

Example 21 with WaitResult

use of android.app.IActivityManager.WaitResult in project cornerstone by Onskreen.

the class ActivityStack method reportActivityLaunchedLocked.

void reportActivityLaunchedLocked(boolean timeout, ActivityRecord r, long thisTime, long totalTime) {
    for (int i = mWaitingActivityLaunched.size() - 1; i >= 0; i--) {
        WaitResult w = mWaitingActivityLaunched.get(i);
        w.timeout = timeout;
        if (r != null) {
            w.who = new ComponentName(r.info.packageName, r.info.name);
        }
        w.thisTime = thisTime;
        w.totalTime = totalTime;
    }
    mService.notifyAll();
}
Also used : WaitResult(android.app.IActivityManager.WaitResult) ComponentName(android.content.ComponentName)

Aggregations

WaitResult (android.app.IActivityManager.WaitResult)21 ComponentName (android.content.ComponentName)14 Intent (android.content.Intent)1 RemoteException (android.os.RemoteException)1 UserHandle (android.os.UserHandle)1