summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Han <416810799@qq.com>2018-11-15 18:00:44 +0800
committerMichael Bestas <mkbestas@lineageos.org>2019-11-09 22:47:37 +0200
commita90584b19fae9b8ec75abf8659641877d403a576 (patch)
tree3e10a176019f163f1577d10535086bd1df5375e3
parent8c1cbbbcce044f5b6faae231d1b97250dc39bc1e (diff)
downloadandroid_packages_apps_Snap-a90584b19fae9b8ec75abf8659641877d403a576.zip
android_packages_apps_Snap-a90584b19fae9b8ec75abf8659641877d403a576.tar.gz
android_packages_apps_Snap-a90584b19fae9b8ec75abf8659641877d403a576.tar.bz2
Snap: Disable debugging of double open issue
* Slows down camera opening and useless for us Change-Id: I2826704afc6b15fc4ca51ee0d29553f5b3dfb858
-rwxr-xr-xsrc/com/android/camera/CameraHolder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/CameraHolder.java b/src/com/android/camera/CameraHolder.java
index 281bdd8..4daf843 100755
--- a/src/com/android/camera/CameraHolder.java
+++ b/src/com/android/camera/CameraHolder.java
@@ -72,7 +72,7 @@ public class CameraHolder {
private ArrayList<CameraCharacteristics> mCharacteristics = new ArrayList<>();
/* Debug double-open issue */
- private static final boolean DEBUG_OPEN_RELEASE = true;
+ private static final boolean DEBUG_OPEN_RELEASE = false;
private static class OpenReleaseState {
long time;
int id;