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
commit6e3cdcf8604dd202b9de08e0942d40d8cbbd26f5 (patch)
treef7efb788e566c54a1b7668d6a5fb6b4a8b4cdf22 /src/com/android/gallery3d/data/MediaSet.java
parentb05d8805d94dc3d60a0e1b966cf2c0cd58109938 (diff)
downloadandroid_packages_apps_Snap-6e3cdcf8604dd202b9de08e0942d40d8cbbd26f5.tar.gz
android_packages_apps_Snap-6e3cdcf8604dd202b9de08e0942d40d8cbbd26f5.tar.bz2
android_packages_apps_Snap-6e3cdcf8604dd202b9de08e0942d40d8cbbd26f5.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.