summaryrefslogtreecommitdiff
path: root/src/com/android/camera/debug/DebugPropertyHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/debug/DebugPropertyHelper.java')
-rw-r--r--src/com/android/camera/debug/DebugPropertyHelper.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/com/android/camera/debug/DebugPropertyHelper.java b/src/com/android/camera/debug/DebugPropertyHelper.java
index cc8d2fb1d..66ccaafee 100644
--- a/src/com/android/camera/debug/DebugPropertyHelper.java
+++ b/src/com/android/camera/debug/DebugPropertyHelper.java
@@ -16,7 +16,7 @@
package com.android.camera.debug;
-import android.os.SystemProperties;
+import com.android.camera.util.SystemProperties;
public class DebugPropertyHelper {
private static final String OFF_VALUE = "0";
@@ -38,8 +38,6 @@ public class DebugPropertyHelper {
private static final String PROP_WRITE_CAPTURE_DATA = PREFIX + ".capture_write";
/** Is RAW support enabled. */
private static final String PROP_CAPTURE_DNG = PREFIX + ".capture_dng";
- /** Is audio disabled. */
- private static final String PROP_DISABLE_AUDIO = PREFIX + ".disable_audio";
private static boolean isPropertyOn(String property) {
return ON_VALUE.equals(SystemProperties.get(property, OFF_VALUE));
@@ -60,7 +58,4 @@ public class DebugPropertyHelper {
public static boolean isCaptureDngEnabled() {
return isPropertyOn(PROP_CAPTURE_DNG);
}
- public static boolean isAudioDisabled() {
- return isPropertyOn(PROP_DISABLE_AUDIO);
- }
}