Merge "Expand minimized split stack on relaunch-attempt" into rvc-dev am: 38a68f0c62
Change-Id: I2a144a432c72d3562ef2fc8e75d889a5b8ed01cf
This commit is contained in:
@@ -71,12 +71,13 @@ public class OverviewProxyRecentsImpl implements RecentsImplementation {
|
||||
public void onActivityRestartAttempt(ActivityManager.RunningTaskInfo task,
|
||||
boolean homeTaskVisible, boolean clearedTask) {
|
||||
if (task.configuration.windowConfiguration.getWindowingMode()
|
||||
!= WINDOWING_MODE_SPLIT_SCREEN_PRIMARY) {
|
||||
!= WINDOWING_MODE_SPLIT_SCREEN_PRIMARY || !mDividerOptional.isPresent()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (homeTaskVisible) {
|
||||
showRecentApps(false /* triggeredFromAltTab */);
|
||||
final Divider divider = mDividerOptional.get();
|
||||
if (divider.isMinimized()) {
|
||||
divider.onUndockingTask();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user