summaryrefslogtreecommitdiffstats
path: root/src_pd_gcam
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2013-09-23 10:59:38 -0700
committerRuben Brunk <rubenbrunk@google.com>2013-09-23 11:23:34 -0700
commit283beaf677d0c3235fbb22bfd5cd8338459bed1b (patch)
treef1273d7d9c4e79a728574c1809388ea6732f681d /src_pd_gcam
parentb21215a1a59812592380f31891becedbdec7468b (diff)
downloadandroid_packages_apps_Snap-283beaf677d0c3235fbb22bfd5cd8338459bed1b.tar.gz
android_packages_apps_Snap-283beaf677d0c3235fbb22bfd5cd8338459bed1b.tar.bz2
android_packages_apps_Snap-283beaf677d0c3235fbb22bfd5cd8338459bed1b.zip
Fix build: Don't build GCam for non-arm targets
Bug: 10430748 Change-Id: I26e1208b38f40808ff59e3976f5c4a76efa15b4c
Diffstat (limited to 'src_pd_gcam')
-rw-r--r--src_pd_gcam/com/android/camera/util/GcamHelper.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/src_pd_gcam/com/android/camera/util/GcamHelper.java b/src_pd_gcam/com/android/camera/util/GcamHelper.java
new file mode 100644
index 000000000..0611955f7
--- /dev/null
+++ b/src_pd_gcam/com/android/camera/util/GcamHelper.java
@@ -0,0 +1,32 @@
+/*
+ * 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.camera.util;
+
+import android.content.Context;
+
+import com.android.camera.CameraModule;
+
+public class GcamHelper {
+
+ public static CameraModule createGcamModule() {
+ return null;
+ }
+
+ public static boolean hasGcamCapture(Context context) {
+ return false;
+ }
+
+}