Change launch change requirement within DesktopAppLaunchAnimatorHelper
Add freeform check and update logs Return early instead of crashing if a launch change is not available Bug: 395495925 Flag: NONE only adding logs, not change of actual code Test: DesktopAppLaunchAnimatorHelperTest Change-Id: I0d51c563a26e7d6020222cb84757e0ea8d561d69
This commit is contained in:
1 parent
325545ac2f
commit
fe17dd475b
4 files changed
+31
-12
No files matched your search
@@ -1574,6 +1574,7 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
|
||||
public boolean canUnminimizeDesktopTask(int taskId) {
|
||||
BubbleTextView.RunningAppState runningAppState =
|
||||
mControllers.taskbarRecentAppsController.getRunningAppState(taskId);
|
||||
Log.d(TAG, "Task id=" + taskId + ", Running app state=" + runningAppState);
|
||||
return runningAppState == RunningAppState.MINIMIZED
|
||||
&& DesktopModeFlags.ENABLE_DESKTOP_APP_LAUNCH_ALTTAB_TRANSITIONS_BUGFIX.isTrue();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user