diff options
author | Angus Kong <shkong@google.com> | 2012-09-04 18:05:45 +0800 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2012-09-05 22:49:50 +0800 |
commit | 37ce22db2aa8dce5f6b05160c99b65cb3dfae0c1 (patch) | |
tree | ffe184c856b189e1a1e93934422a4b351ed51158 /src_pd/com/android/gallery3d/util | |
parent | 61152454278c53d2251128779f18ac4fbac6a605 (diff) | |
download | android_packages_apps_Snap-37ce22db2aa8dce5f6b05160c99b65cb3dfae0c1.tar.gz android_packages_apps_Snap-37ce22db2aa8dce5f6b05160c99b65cb3dfae0c1.tar.bz2 android_packages_apps_Snap-37ce22db2aa8dce5f6b05160c99b65cb3dfae0c1.zip |
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.java | 57 |
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; + } +} |