diff options
author | Jay Wang <jaywang@codeaurora.org> | 2017-06-28 11:11:59 -0700 |
---|---|---|
committer | Jay Wang <jaywang@codeaurora.org> | 2017-07-07 13:46:24 -0700 |
commit | e59fd31d43697e166b13cb399c6dcb9f6089f8e2 (patch) | |
tree | e3f4c7d86d5705de0fabbeb6bdb105dca73be7cc /src/com/android/camera/util | |
parent | 064737f5a1e50734a363794e78a4d8ce29d59f28 (diff) | |
download | android_packages_apps_Snap-e59fd31d43697e166b13cb399c6dcb9f6089f8e2.tar.gz android_packages_apps_Snap-e59fd31d43697e166b13cb399c6dcb9f6089f8e2.tar.bz2 android_packages_apps_Snap-e59fd31d43697e166b13cb399c6dcb9f6089f8e2.zip |
Hack to enable HAL_ZSL
Change-Id: I772003abfc73a1a7cca5b9492002bbfcb6a70622
Diffstat (limited to 'src/com/android/camera/util')
-rw-r--r-- | src/com/android/camera/util/PersistUtil.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/android/camera/util/PersistUtil.java b/src/com/android/camera/util/PersistUtil.java index c22df6263..e57d514db 100644 --- a/src/com/android/camera/util/PersistUtil.java +++ b/src/com/android/camera/util/PersistUtil.java @@ -41,9 +41,9 @@ public class PersistUtil { private static final int PERSIST_CAMERA_PREVIEW_SIZE = SystemProperties.getInt("persist.camera.preview.size", 0); private static final boolean PERSIST_CAMERA_CAMERA2 = - SystemProperties.getBoolean("persist.camera.camera2", false); - private static final boolean PERSIST_CAMERA_ZSL = - SystemProperties.getBoolean("persist.camera.zsl.disabled", false); + SystemProperties.getBoolean("persist.camera.camera2", true); + private static final boolean PERSIST_CAMERA_HAL_ZSL = + SystemProperties.getBoolean("persist.camera.hal_zsl.disabled", false); private static final int PERSIST_CAMERA_CANCEL_TOUCHFOCUS_DELAY = SystemProperties.getInt("persist.camera.focus_delay", 5000); private static final int PERSIST_CAMERA_DEBUG = @@ -81,8 +81,8 @@ public class PersistUtil { return PERSIST_CAMERA_CAMERA2; } - public static boolean getCameraZSLDisabled() { - return PERSIST_CAMERA_ZSL; + public static boolean getCameraHalZSLDisabled() { + return PERSIST_CAMERA_HAL_ZSL; } public static int getCamera2Debug() { |