summaryrefslogtreecommitdiffstats
path: root/src_pd/com/android/gallery3d/util
diff options
context:
space:
mode:
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 000000000..82bd647fd
--- /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;
+ }
+}