summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Han <416810799@qq.com>2018-11-15 18:00:44 +0800
committerdianlujitao <dianlujitao@lineageos.org>2018-12-19 14:00:02 +0800
commit3a4f42691307a811a5259a2b50cf11f34751c8f7 (patch)
tree3d308456aab9419326b981e028c3dbbfef786ff2
parent0d811bdc2f96cd82f8062d27d1589b76e94e72d5 (diff)
downloadandroid_packages_apps_Snap-3a4f42691307a811a5259a2b50cf11f34751c8f7.zip
android_packages_apps_Snap-3a4f42691307a811a5259a2b50cf11f34751c8f7.tar.gz
android_packages_apps_Snap-3a4f42691307a811a5259a2b50cf11f34751c8f7.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 d102768..585e3bb 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;