summaryrefslogtreecommitdiffstats
path: root/src_pd
diff options
context:
space:
mode:
authorAlan Newberger <alann@google.com>2013-10-10 14:17:58 -0700
committerAlan Newberger <alann@google.com>2013-10-11 10:02:03 -0700
commit685789eaebe0d5b633006de06e1968caf7c97717 (patch)
treebd999735f152ac76b052db4eabf68961f2530932 /src_pd
parentb052e5c72d27c3da585e345d758170c3ab26cbc8 (diff)
downloadandroid_packages_apps_Gallery2-685789eaebe0d5b633006de06e1968caf7c97717.tar.gz
android_packages_apps_Gallery2-685789eaebe0d5b633006de06e1968caf7c97717.tar.bz2
android_packages_apps_Gallery2-685789eaebe0d5b633006de06e1968caf7c97717.zip
Introduce FilterShowHelper for versioning visibility
This CL creates FilterShowHelper which will first be used to ensure Versions is active. Bug: 10734094 Change-Id: I7ac7d99af8818e2599ea2f2a0e64b9c3433a9002
Diffstat (limited to 'src_pd')
-rw-r--r--src_pd/com/android/gallery3d/util/FilterShowHelper.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/src_pd/com/android/gallery3d/util/FilterShowHelper.java b/src_pd/com/android/gallery3d/util/FilterShowHelper.java
new file mode 100644
index 000000000..b30ebac8a
--- /dev/null
+++ b/src_pd/com/android/gallery3d/util/FilterShowHelper.java
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2013 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.gallery3d.util;
+
+public class FilterShowHelper {
+
+ /**
+ * Whether to utilize version info in editor.
+ */
+ public static final boolean shouldUseVersions() {
+ return true;
+ }
+}