summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data/MediaSet.java
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2012-09-06 17:14:02 -0700
committerBobby Georgescu <georgescu@google.com>2012-09-09 00:15:48 -0700
commit7eea4d3ac59aa88d327fc0d58f5e4052f43c54c9 (patch)
treeb10783948683f3753d03dad00b9c8ed73389066e /src/com/android/gallery3d/data/MediaSet.java
parent4badebb6c36f6dc5ae1af74d78acd1e7f2e251c9 (diff)
downloadandroid_packages_apps_Gallery2-7eea4d3ac59aa88d327fc0d58f5e4052f43c54c9.tar.gz
android_packages_apps_Gallery2-7eea4d3ac59aa88d327fc0d58f5e4052f43c54c9.tar.bz2
android_packages_apps_Gallery2-7eea4d3ac59aa88d327fc0d58f5e4052f43c54c9.zip
Reskin: switching between filmstrip and grid in album
Bug: 7050303 Bug: 6541425 Allows switching between the filmstrip and the grid views within albums and launches camera roll in filmstrip mode by default. Also fixes animation issue when animating from full-screen to grid view. Change-Id: I2a37b92c129cc090fd807973f7e3e82fed207cd3
Diffstat (limited to 'src/com/android/gallery3d/data/MediaSet.java')
-rw-r--r--src/com/android/gallery3d/data/MediaSet.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/data/MediaSet.java b/src/com/android/gallery3d/data/MediaSet.java
index f92faa74e..87b5f56ef 100644
--- a/src/com/android/gallery3d/data/MediaSet.java
+++ b/src/com/android/gallery3d/data/MediaSet.java
@@ -95,6 +95,10 @@ public abstract class MediaSet extends MediaObject {
return false;
}
+ public boolean isCameraRoll() {
+ return false;
+ }
+
/**
* Method {@link #reload()} may process the loading task in background, this method tells
* its client whether the loading is still in process or not.