diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-12-14 00:50:54 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-12-14 00:50:54 -0800 |
commit | b8378fae9f19191d2706e3579158aaf3c2ffe75e (patch) | |
tree | 0dc2ee9ad3622ef0505f2ed79b2bc262083b5ecb | |
parent | 32d5c41dfbec0b929dbecfb0a8c9c3cda22a2d30 (diff) | |
parent | f40318094c182bf2fb39e817d10bdb86782d93f0 (diff) | |
download | android_packages_apps_Snap-b8378fae9f19191d2706e3579158aaf3c2ffe75e.tar.gz android_packages_apps_Snap-b8378fae9f19191d2706e3579158aaf3c2ffe75e.tar.bz2 android_packages_apps_Snap-b8378fae9f19191d2706e3579158aaf3c2ffe75e.zip |
Merge "Gallery in separate task for up button in Camera filmstrip" into gb-ub-photos-bryce
-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); } |