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

Commit 2d1610f1 authored by Josh Yang's avatar Josh Yang Committed by Android (Google) Code Review
Browse files

Merge "Allow ATM.takeTaskSnapshot() API to take snapshot of home task."

parents 3af2f318 3bdc3694
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -140,6 +140,7 @@ abstract class AbsAppSnapshotController<TYPE extends WindowContainer,
     *
     * This is only used for testing so the snapshot content can be verified.
     */
    // TODO(b/264551777): clean up the "snapshotHome" argument
    @VisibleForTesting
    TaskSnapshot captureSnapshot(TYPE source, boolean snapshotHome) {
        final TaskSnapshot snapshot;
+1 −1
Original line number Diff line number Diff line
@@ -3774,7 +3774,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
                    return null;
                }
                return mWindowManager.mTaskSnapshotController.captureSnapshot(
                        task, false /* snapshotHome */);
                        task, true /* snapshotHome */);
            }
        } finally {
            Binder.restoreCallingIdentity(ident);