diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-12-14 00:18:51 -0800 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2012-12-14 00:18:51 -0800 |
commit | f40318094c182bf2fb39e817d10bdb86782d93f0 (patch) | |
tree | 01914a5815c42f845fcec6233148e3270a2d698c | |
parent | 7f7f875515cbafa91ca935748e6f9e97fa0b6b76 (diff) | |
download | android_packages_apps_Snap-f40318094c182bf2fb39e817d10bdb86782d93f0.tar.gz android_packages_apps_Snap-f40318094c182bf2fb39e817d10bdb86782d93f0.tar.bz2 android_packages_apps_Snap-f40318094c182bf2fb39e817d10bdb86782d93f0.zip |
Gallery in separate task for up button in Camera filmstrip
Bug: 7738398
Change-Id: I297c15f0a3e537d96d79b05e1dd8d376ff59bfca
-rw-r--r-- | src/com/android/gallery3d/util/GalleryUtils.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/util/GalleryUtils.java b/src/com/android/gallery3d/util/GalleryUtils.java index a4b6bfdc7..1e5d8d5fe 100644 --- a/src/com/android/gallery3d/util/GalleryUtils.java +++ b/src/com/android/gallery3d/util/GalleryUtils.java @@ -251,7 +251,9 @@ public class GalleryUtils { } public static void startGalleryActivity(Context context) { - Intent intent = new Intent(context, Gallery.class); + Intent intent = new Intent(context, Gallery.class) + .setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP + | Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(intent); } |