summaryrefslogtreecommitdiffstats
path: root/src_pd/com/android/gallery3d/util
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2012-09-04 18:05:45 +0800
committerAngus Kong <shkong@google.com>2012-09-05 22:49:50 +0800
commit37ce22db2aa8dce5f6b05160c99b65cb3dfae0c1 (patch)
treeffe184c856b189e1a1e93934422a4b351ed51158 /src_pd/com/android/gallery3d/util
parent61152454278c53d2251128779f18ac4fbac6a605 (diff)
downloadandroid_packages_apps_Snap-37ce22db2aa8dce5f6b05160c99b65cb3dfae0c1.zip
android_packages_apps_Snap-37ce22db2aa8dce5f6b05160c99b65cb3dfae0c1.tar.gz
android_packages_apps_Snap-37ce22db2aa8dce5f6b05160c99b65cb3dfae0c1.tar.bz2
Move LightCycle checking to the closed source.
bug:7076779 Change-Id: Ieebe0343a46257ca07f06483beb9391a90d7727a
Diffstat (limited to 'src_pd/com/android/gallery3d/util')
-rw-r--r--src_pd/com/android/gallery3d/util/LightCycleHelper.java57
1 files changed, 57 insertions, 0 deletions
diff --git a/src_pd/com/android/gallery3d/util/LightCycleHelper.java b/src_pd/com/android/gallery3d/util/LightCycleHelper.java
new file mode 100644
index 0000000..82bd647
--- /dev/null
+++ b/src_pd/com/android/gallery3d/util/LightCycleHelper.java
@@ -0,0 +1,57 @@
+/*
+ * Copyright (C) 2012 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;
+
+import android.app.Activity;
+import android.content.Context;
+import android.content.Intent;
+import android.net.Uri;
+
+public class LightCycleHelper {
+
+ public static void setupCaptureIntent(Intent it, String outputDir) {
+ /* Do nothing */
+ }
+
+ public static synchronized boolean hasLightCycleView(Context context) {
+ return false;
+ }
+
+ public static synchronized boolean hasLightCycleCapture(Context context) {
+ return false;
+ }
+
+ public static synchronized void onPackageAdded(Context context, String packageName) {
+ /* Do nothing */
+ }
+
+ public static synchronized void onPackageRemoved(Context context, String packageName) {
+ /* Do nothing */
+ }
+
+ public static synchronized void onPackageChanged(Context context, String packageName) {
+ /* Do nothing */
+ }
+
+ public static void viewPanorama(Activity activity, Uri uri, String type) {
+ /* Do nothing */
+ }
+
+ public static boolean isPanorama(String filename) {
+ return false;
+ }
+}