Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bff1837a authored by Winson Chung's avatar Winson Chung
Browse files

Allow the assistant activity types to be snapshotted

Bug: 78229855
Test: Swipe up with fullscreen assistant (ensure that retain_in_recents
      is enabled in AGSA first), see that there is a snapshot


Change-Id: I6aee209add9838971c9476ef1ae1c88369291216
parent 594d6e9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -317,7 +317,7 @@ class TaskSnapshotController {
    @VisibleForTesting
    int getSnapshotMode(Task task) {
        final AppWindowToken topChild = task.getTopChild();
        if (!task.isActivityTypeStandardOrUndefined()) {
        if (!task.isActivityTypeStandardOrUndefined() && !task.isActivityTypeAssistant()) {
            return SNAPSHOT_MODE_NONE;
        } else if (topChild != null && topChild.shouldUseAppThemeSnapshot()) {
            return SNAPSHOT_MODE_APP_THEME;