Merge "Revert "Expand minimized split stack on relaunch-attempt"" into rvc-dev am: 7c96a861a4 am: 52afb55fda am: a1345da003 am: c413794ef7
Change-Id: I74f9843aefafecde26a436e1211e46642109afa6
This commit is contained in:
@@ -71,13 +71,12 @@ 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 || !mDividerOptional.isPresent()) {
|
||||
!= WINDOWING_MODE_SPLIT_SCREEN_PRIMARY) {
|
||||
return;
|
||||
}
|
||||
|
||||
final Divider divider = mDividerOptional.get();
|
||||
if (divider.isMinimized()) {
|
||||
divider.onUndockingTask();
|
||||
if (homeTaskVisible) {
|
||||
showRecentApps(false /* triggeredFromAltTab */);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user