diff --git a/quickstep/src/com/android/quickstep/util/ImageActionUtils.java b/quickstep/src/com/android/quickstep/util/ImageActionUtils.java index b2d3bcbaa8..dafd06bdb0 100644 --- a/quickstep/src/com/android/quickstep/util/ImageActionUtils.java +++ b/quickstep/src/com/android/quickstep/util/ImageActionUtils.java @@ -177,6 +177,7 @@ public class ImageActionUtils { .setComponent( new ComponentName(Utilities.GSA_PACKAGE, Utilities.LENS_SHARE_ACTIVITY)) .addFlags(FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) + .addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) .addFlags(FLAG_GRANT_READ_URI_PERMISSION) .setType("image/png") .putExtra(Intent.EXTRA_STREAM, uri)