summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/photoeditor/actions/EffectAction.java
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-06-14 15:26:35 -0700
committerJean-Baptiste Queru <jbq@google.com>2012-06-14 15:26:35 -0700
commitac9ae4fd0a4ff040fd9cc0c62691be2ef927c1a4 (patch)
treec32f357ed7429d222fa59f16c7f0513b1524d9f1 /src/com/android/gallery3d/photoeditor/actions/EffectAction.java
parentc2bb1a78a19688f40b80176c1667289ebbfbd418 (diff)
parent0560bd141a709741dc48edc117ab4675347118b2 (diff)
downloadandroid_packages_apps_Snap-ac9ae4fd0a4ff040fd9cc0c62691be2ef927c1a4.tar.gz
android_packages_apps_Snap-ac9ae4fd0a4ff040fd9cc0c62691be2ef927c1a4.tar.bz2
android_packages_apps_Snap-ac9ae4fd0a4ff040fd9cc0c62691be2ef927c1a4.zip
resolved conflicts for merge of cf6f99e7 to jb-dev-plus-aosp
Change-Id: I4d8d85960b5f0289ee442278db39b8f8c445d73e
Diffstat (limited to 'src/com/android/gallery3d/photoeditor/actions/EffectAction.java')
-rw-r--r--src/com/android/gallery3d/photoeditor/actions/EffectAction.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/photoeditor/actions/EffectAction.java b/src/com/android/gallery3d/photoeditor/actions/EffectAction.java
index 92bcee4a9..ce0ee6352 100644
--- a/src/com/android/gallery3d/photoeditor/actions/EffectAction.java
+++ b/src/com/android/gallery3d/photoeditor/actions/EffectAction.java
@@ -144,6 +144,15 @@ public abstract class EffectAction extends LinearLayout {
}
/**
+ * Checks if the action effect is present in the system.
+ *
+ * @return boolean true if an action effect is present in the system and can be loaded
+ */
+ public boolean isPresent() {
+ return true;
+ }
+
+ /**
* Done callback for executing top filter changes.
*/
private class FilterChangedCallback implements OnDoneCallback {