Merge changes I6cf84ec7,Iea599651,If3238286 into sc-v2-dev
* changes: Improve quick switch from home to taskbar Cleanup some taskbar/hotseat handoff issues Fix taskbar stash misalignment when going from app to overview
This commit is contained in:
@@ -630,7 +630,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
* this doesn't get adjusted to reflect the new child count after the taskView is dismissed/
|
||||
* removed from recentsView
|
||||
*/
|
||||
private int mSplitHiddenTaskViewIndex;
|
||||
private int mSplitHiddenTaskViewIndex = -1;
|
||||
@Nullable
|
||||
private FloatingTaskView mFirstFloatingTaskView;
|
||||
@Nullable
|
||||
@@ -3969,6 +3969,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
|
||||
/** TODO(b/181707736) More gracefully handle exiting split selection state */
|
||||
private void resetFromSplitSelectionState() {
|
||||
if (mSplitHiddenTaskViewIndex == -1) {
|
||||
return;
|
||||
}
|
||||
if (!mActivity.getDeviceProfile().overviewShowAsGrid) {
|
||||
int pageToSnapTo = mCurrentPage;
|
||||
if (mSplitHiddenTaskViewIndex <= pageToSnapTo) {
|
||||
|
||||
Reference in New Issue
Block a user