OSDN Git Service

Add empty version of SystemProperties interface.
authorSascha Haeberling <haeberling@google.com>
Wed, 30 Jul 2014 00:32:17 +0000 (17:32 -0700)
committerSascha Haeberling <haeberling@google.com>
Wed, 30 Jul 2014 00:32:17 +0000 (17:32 -0700)
This is so that we can use it in Camera2 code.

Change-Id: I764adb7377b91b5b54a33535188eb6d0d5159253

src_pd/com/android/camera/util/SystemProperties.java [new file with mode: 0644]

diff --git a/src_pd/com/android/camera/util/SystemProperties.java b/src_pd/com/android/camera/util/SystemProperties.java
new file mode 100644 (file)
index 0000000..0932e1b
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2014 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;
+
+public final class SystemProperties {
+
+    public static String get(String key, String defaultValue) {
+        return defaultValue;
+    }
+
+    private SystemProperties() {
+    }
+}