summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/PhotoPage.java
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2012-11-05 14:12:51 -0800
committerBobby Georgescu <georgescu@google.com>2012-11-05 15:14:27 -0800
commitcfa7fde1a336a3200b2ad9091b27ba7bfd8f5c9a (patch)
tree737dcc2fc2c18c3f196deaf502859a0ed764330f /src/com/android/gallery3d/app/PhotoPage.java
parentef1e404cfa1227e309786675a6026dec842b5ab1 (diff)
downloadandroid_packages_apps_Gallery2-cfa7fde1a336a3200b2ad9091b27ba7bfd8f5c9a.tar.gz
android_packages_apps_Gallery2-cfa7fde1a336a3200b2ad9091b27ba7bfd8f5c9a.tar.bz2
android_packages_apps_Gallery2-cfa7fde1a336a3200b2ad9091b27ba7bfd8f5c9a.zip
Split PhotoPage into FilmstripPage and SinglePhotoPage
Bug: 7479348 Change-Id: I98f668bd00e2e09bda9d5d9965fdbdaf1b832bfa
Diffstat (limited to 'src/com/android/gallery3d/app/PhotoPage.java')
-rw-r--r--src/com/android/gallery3d/app/PhotoPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java
index 097c622be..821bf4532 100644
--- a/src/com/android/gallery3d/app/PhotoPage.java
+++ b/src/com/android/gallery3d/app/PhotoPage.java
@@ -72,7 +72,7 @@ import com.android.gallery3d.ui.SelectionManager;
import com.android.gallery3d.ui.SynchronizedHandler;
import com.android.gallery3d.util.GalleryUtils;
-public class PhotoPage extends ActivityState implements
+public abstract class PhotoPage extends ActivityState implements
PhotoView.Listener, OrientationManager.Listener, AppBridge.Server,
PhotoPageBottomControls.Delegate, GalleryActionBar.OnAlbumModeSelectedListener {
private static final String TAG = "PhotoPage";
@@ -1244,7 +1244,7 @@ public class PhotoPage extends ActivityState implements
Bundle data = new Bundle(getData());
data.putString(KEY_MEDIA_SET_PATH, albumPath.toString());
data.putString(PhotoPage.KEY_MEDIA_ITEM_PATH, path.toString());
- mActivity.getStateManager().startState(PhotoPage.class, data);
+ mActivity.getStateManager().startState(SinglePhotoPage.class, data);
return;
}
mModel.setCurrentPhoto(path, mCurrentIndex);