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 | a225ddd9a74b0354ee391cc52512163880754d8c (patch) | |
tree | bce1c91c96d270d3e00de6d954e2d198cefc6657 /src/com/android/gallery3d | |
parent | dd83e926de0b41796bcb2218653e629296986e61 (diff) | |
download | android_packages_apps_Gallery2-a225ddd9a74b0354ee391cc52512163880754d8c.tar.gz android_packages_apps_Gallery2-a225ddd9a74b0354ee391cc52512163880754d8c.tar.bz2 android_packages_apps_Gallery2-a225ddd9a74b0354ee391cc52512163880754d8c.zip |
Gallery in separate task for up button in Camera filmstrip
Bug: 7738398
Change-Id: I297c15f0a3e537d96d79b05e1dd8d376ff59bfca
Diffstat (limited to 'src/com/android/gallery3d')
-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); } |