From 685789eaebe0d5b633006de06e1968caf7c97717 Mon Sep 17 00:00:00 2001 From: Alan Newberger Date: Thu, 10 Oct 2013 14:17:58 -0700 Subject: Introduce FilterShowHelper for versioning visibility This CL creates FilterShowHelper which will first be used to ensure Versions is active. Bug: 10734094 Change-Id: I7ac7d99af8818e2599ea2f2a0e64b9c3433a9002 --- .../android/gallery3d/util/FilterShowHelper.java | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src_pd/com/android/gallery3d/util/FilterShowHelper.java (limited to 'src_pd') 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; + } +} -- cgit v1.2.3