import android.graphics.Rect;
import android.util.ArraySet;
-import android.util.Log;
import com.android.internal.app.IVoiceInteractor;
import com.android.internal.content.ReferrerIntent;
import com.android.internal.os.BatteryStatsImpl;
}
task.stack = null;
- task.lastStackClear = Log.getStackTraceString(new Throwable());
}
TaskRecord createTaskRecord(int taskId, ActivityInfo info, Intent intent,
}
private ActivityRecord setTargetStackAndMoveToFrontIfNeeded(ActivityRecord intentActivity) {
- if (intentActivity.task.stack == null) {
- Slog.wtf(TAG, "Oops, the stack is null, we are about to crash. It was last cleared: "
- + intentActivity.task.lastStackClear);
- }
mTargetStack = intentActivity.task.stack;
mTargetStack.mLastPausedActivity = null;
// If the target task is not in the front, then we need to bring it to the front...
int mLayerRank = -1;
Configuration mOverrideConfig = Configuration.EMPTY;
- // STOPSHIP(b/26541093)
- public String lastStackClear = "UNSET";
TaskRecord(ActivityManagerService service, int _taskId, ActivityInfo info, Intent _intent,
IVoiceInteractionSession _voiceSession, IVoiceInteractor _voiceInteractor) {