Merge "Fix NPEs when swiping up from keyguard" into sc-v2-dev
This commit is contained in:
@@ -805,7 +805,9 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
|
||||
mActivityInitListener.unregister();
|
||||
mStateCallback.setStateOnUiThread(STATE_GESTURE_CANCELLED | STATE_HANDLER_INVALIDATED);
|
||||
|
||||
TaskViewUtils.setDividerBarShown(mRecentsAnimationTargets.nonApps, true);
|
||||
if (mRecentsAnimationTargets != null) {
|
||||
TaskViewUtils.setDividerBarShown(mRecentsAnimationTargets.nonApps, true);
|
||||
}
|
||||
|
||||
// Defer clearing the controller and the targets until after we've updated the state
|
||||
mRecentsAnimationController = null;
|
||||
|
||||
@@ -1351,8 +1351,10 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
}
|
||||
Log.d(TASK_VIEW_ID_CRASH, "taskViewCount: " + getTaskViewCount()
|
||||
+ " " + sb.toString());
|
||||
mRunningTaskViewId = -1;
|
||||
} else {
|
||||
mRunningTaskViewId = newRunningTaskView.getTaskViewId();
|
||||
}
|
||||
mRunningTaskViewId = newRunningTaskView.getTaskViewId();
|
||||
}
|
||||
|
||||
if (mNextPage == INVALID_PAGE) {
|
||||
|
||||
Reference in New Issue
Block a user