Add GroupedTaskView for gestures in staged split.
* Currently only works for portrait 50/50 split * Have gesture swipe animation flow use multiple TaskViewSimulators, one for each app in split * Added new APIs in shell to query for actively running tasks to determine if we're in split screen * Lots of UI polish needed during gesture * Launching into staged split after live tile ends not implemented yet. Bug: 181704764 Change-Id: Ib90e99e1e10b19121e8709385e1334b9380d6502
This commit is contained in:
@@ -99,6 +99,7 @@ import com.android.quickstep.inputconsumers.SysUiOverlayInputConsumer;
|
||||
import com.android.quickstep.inputconsumers.TaskbarStashInputConsumer;
|
||||
import com.android.quickstep.util.ActiveGestureLog;
|
||||
import com.android.quickstep.util.AssistantUtilities;
|
||||
import com.android.quickstep.util.LauncherSplitScreenListener;
|
||||
import com.android.quickstep.util.ProtoTracer;
|
||||
import com.android.quickstep.util.ProxyScreenStatusProvider;
|
||||
import com.android.quickstep.util.SplitScreenBounds;
|
||||
@@ -364,6 +365,7 @@ public class TouchInteractionService extends Service implements PluginListener<O
|
||||
mDeviceState.runOnUserUnlocked(this::onUserUnlocked);
|
||||
mDeviceState.runOnUserUnlocked(mTaskbarManager::onUserUnlocked);
|
||||
ProtoTracer.INSTANCE.get(this).add(this);
|
||||
LauncherSplitScreenListener.INSTANCE.get(this).init();
|
||||
sConnected = true;
|
||||
}
|
||||
|
||||
@@ -520,6 +522,7 @@ public class TouchInteractionService extends Service implements PluginListener<O
|
||||
getSystemService(AccessibilityManager.class)
|
||||
.unregisterSystemAction(SYSTEM_ACTION_ID_ALL_APPS);
|
||||
|
||||
LauncherSplitScreenListener.INSTANCE.get(this).destroy();
|
||||
mTaskbarManager.destroy();
|
||||
sConnected = false;
|
||||
super.onDestroy();
|
||||
|
||||
Reference in New Issue
Block a user