[camera] [android] Camera flash remains lit after taking a picture.

Description
Once the camera flash is triggered by taking a photo (FlashMode auto or always), it will not turn off again. The flash LED stays lit like a torch, even when taking another picture with FlashMode.off.

Some ways of manually turning off the flash:

First switching to FlashMode.torch and then to FlashMode.off
Switch to a different camera (e.g front camera)
Switch to video recording
Close the app / dispose the widget containing the camera

Video
Screen recording of Samsung Galaxy S20FE, Android 11
https://user-images.githubusercontent.com/11444698/151714431-1eaf33d4-a91e-4007-8fbb-eaef6e68c493.mp4

Reproduction
I noticed this in a private project, but it is easy to replicate in the camera example.
Setup:

Flutter 2.8.1
camera: 0.9.4+9
Camera example commit 72dff1b

Select FlashMode.always or FlashMode.auto (in a dark environment) using the flash buttons.
Take a picture with the camera button
The flash will now stay lit.

Expected result
The flash LED turns on for a short duration to brighten for the photo being taken.
Actual result
The flash turns on (likely too late for the photo being taken) and then stays lit. It will remain lit for future photos, even with FlashMode set to off.
Devices
These were the devices I had around to test with. The S20FE was tested both before and after the Android 12 update, which did not make a difference.

Device
version
affected

Galaxy S20FE (SM G780G)
Android 11
yes

Galaxy S20FE (SM G780G)
Android 12
yes

Nokia 8.1
Android 11
yes

Galaxy Xcover 5
Android 11
no

Galaxy S8 (SMG950F)
Android 9
no

Galaxy J5 (SMJ500FN)
Android 6.0.1
no

WileyFox Swift
Android 7.1.2
no

[Update] Devices mentioned in the comments

Device
version
affected

Xiaomi k20 pro
Android 11
yes

Pixel 4a
Android 12
yes

Galaxy A52 5G
Android 12
yes

Log

Flutter doctor -v
[√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.19044.1466], locale en-NL)
    • Flutter version 2.8.1 at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (6 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1)
    • Android SDK at C:\Users\XXXXX\AppData\Local\Android\sdk
    • Platform android-31, build-tools 32.0.0-rc1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.63.2)
    • VS Code at C:\Users\XXXXX\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.32.0

[√] VS Code, 64-bit edition
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.32.0

[√] Connected device (3 available)
    • SM G780G (mobile) • RF8R8021WSR • android-arm64  • Android 11 (API 30)
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 94.0.4606.81
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 87.0.664.75

• No issues found!

Hi @timbotimbo, Thanks for filing the issue. I am able to reproduce the issue on Xiaomi k20 pro (Android 11), WIth flash mode is set to Auto after taking a picture the flash remains on. This is reproducible using the official sample code  on both stable and the master channel using the  latest camera: ^0.9.4+9
plugin.

flutter doctor -v
mahesh@Maheshs-MacBook-Air-M1 SLeM_error % flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (7 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 12 Pro (mobile) • 14F40EC6-3B73-469A-A1C0-8CF0B152290F • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52
      darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome
      97.0.4692.99

• No issues found!

[✓] Flutter (Channel master, 2.10.0-1.0.pre.339, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.10.0-1.0.pre.339 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1c673b28ad (4 hours ago), 2022-01-31 02:20:13 -0500
    • Engine revision c6e12eb12b
    • Dart version 2.17.0 (build 2.17.0-67.0.dev)
    • DevTools version 2.10.0-dev.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 12 Pro (mobile) • 14F40EC6-3B73-469A-A1C0-8CF0B152290F • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52
      darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome
      97.0.4692.99

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

logs
Launching lib/main.dart on Redmi K20 Pro in debug mode...
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Note: /Users/mahesh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.11/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
I/flutter ( 1672): Event: APP_VISIBILITY_EVENT (FOREGROUND)
/Users/mahesh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.9.4+9/android/src/main/java/io/flutter/plugins/camera/features/resolution/ResolutionFeature.java:154: warning: [deprecation] get(int,int) in CamcorderProfile has been deprecated
          return CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_HIGH);
                                 ^
/Users/mahesh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.9.4+9/android/src/main/java/io/flutter/plugins/camera/features/resolution/ResolutionFeature.java:158: warning: [deprecation] get(int,int) in CamcorderProfile has been deprecated
          return CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_2160P);

                                 ^
/Users/mahesh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.9.4+9/android/src/main/java/io/flutter/plugins/camera/features/resolution/ResolutionFeature.java:162: warning: [deprecation] get(int,int) in CamcorderProfile has been deprecated
          return CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_1080P);
                                 ^
/Users/mahesh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.9.4+9/android/src/main/java/io/flutter/plugins/camera/features/resolution/ResolutionFeature.java:166: warning: [deprecation] get(int,int) in CamcorderProfile has been deprecated
          return CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_720P);
                                 ^
/Users/mahesh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.9.4+9/android/src/main/java/io/flutter/plugins/camera/features/resolution/ResolutionFeature.java:170: warning: [deprecation] get(int,int) in CamcorderProfile has been deprecated
          return CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_480P);

                                 ^
/Users/mahesh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.9.4+9/android/src/main/java/io/flutter/plugins/camera/features/resolution/ResolutionFeature.java:174: warning: [deprecation] get(int,int) in CamcorderProfile has been deprecated
          return CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_QVGA);
                                 ^
/Users/mahesh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.9.4+9/android/src/main/java/io/flutter/plugins/camera/features/resolution/ResolutionFeature.java:178: warning: [deprecation] get(int,int) in CamcorderProfile has been deprecated
          return CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_LOW);
                                 ^

7 warnings
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
I/flutter ( 1672): Event: APP_VISIBILITY_EVENT (BACKGROUND)
Error: ADB exited with exit code 1
Performing Streamed Install

adb: failed to install /Users/mahesh/Desktop/triage/SLeM_error/build/app/outputs/flutter-apk/app.apk: Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]
Uninstalling old version...
Connecting to VM Service at ws://<IP_ADDRESS>:51390/35J_oS25PrY=/ws
I/CameraManagerGlobal( 5655): Connecting to camera service
W/CameraManagerGlobal( 5655): [soar.cts] ignore the status update of camera: 100
W/CameraManagerGlobal( 5655): [soar.cts] ignore the status update of camera: 101
W/CameraManagerGlobal( 5655): [soar.cts] ignore the status update of camera: 120
W/CameraManagerGlobal( 5655): [soar.cts] ignore the status update of camera: 20
W/CameraManagerGlobal( 5655): [soar.cts] ignore the status update of camera: 21
W/CameraManagerGlobal( 5655): [soar.cts] ignore the status update of camera: 60
W/CameraManagerGlobal( 5655): [soar.cts] ignore the status update of camera: 61
W/CameraManagerGlobal( 5655): [soar.cts] ignore the status update of camera: 62
W/CameraManagerGlobal( 5655): [soar.cts] ignore the status update of camera: 63
W/CameraManagerGlobal( 5655): ignore the torch status update of camera: 100
W/CameraManagerGlobal( 5655): ignore the torch status update of camera: 120
W/CameraManagerGlobal( 5655): ignore the torch status update of camera: 20
W/CameraManagerGlobal( 5655): ignore the torch status update of camera: 21
W/CameraManagerGlobal( 5655): ignore the torch status update of camera: 60
W/CameraManagerGlobal( 5655): ignore the torch status update of camera: 61
W/CameraManagerGlobal( 5655): ignore the torch status update of camera: 62
W/CameraManagerGlobal( 5655): ignore the torch status update of camera: 63
I/t_level_monito( 5655): ProcessProfilingInfo new_methods=1220 is saved saved_to_disk=1 resolve_classes_delay=8000
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18488610, downTime=18488610 } moveCount:0
W/MirrorManager( 5655): this model don't Support
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18488684, downTime=18488610 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18489457, downTime=18489457 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18489549, downTime=18489457 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18490052, downTime=18490052 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18490168, downTime=18490052 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18490714, downTime=18490714 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18490864, downTime=18490714 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18491461, downTime=18491461 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18491611, downTime=18491461 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18492234, downTime=18492234 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18492342, downTime=18492234 } moveCount:0
E/libc    ( 5655): Access denied finding property "persist.vendor.camera.privapp.list"
W/t_level_monitor( 5655): type=1400 audit(0.0:60120): avc: denied { read } for name="u:object_r:vendor_persist_camera_prop:s0" dev="tmpfs" ino=18767 scontext=u:r:untrusted_app:s0:c238,c259,c512,c768 tcontext=u:object_r:vendor_persist_camera_prop:s0 tclass=file permissive=0 app=com.nest_afrika.smart_level_monitor
W/BpBinder( 5655): PerfMonitor binderTransact :  time=569ms interface=android.hardware.ICameraService code=4
I/Camera  ( 5655): startPreview
I/Choreographer( 5655): Skipped 33 frames!  The application may be doing too much work on its main thread.
W/Looper  ( 5655): PerfMonitor doFrame : time=0ms vsyncFrame=354466 latency=566ms procState=2 historyMsgCount=5 (msgIndex=1 wall=574ms seq=272 running=3ms runnable=1ms binder=570ms late=16ms h=android.os.Handler c=io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$6ZD1MYkhaLxyPjtoFDxe45u43DI)
W/BpBinder( 5655): PerfMonitor binderTransact :  time=401ms interface=android.hardware.camera2.ICameraDeviceUser code=6
I/Camera  ( 5655): CameraCaptureSession onConfigured
I/Camera  ( 5655): Updating builder settings
D/Camera  ( 5655): Updating builder with feature: ExposureLockFeature
D/Camera  ( 5655): Updating builder with feature: ExposurePointFeature
D/Camera  ( 5655): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 5655): Updating builder with feature: AutoFocusFeature
D/Camera  ( 5655): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 5655): updateNoiseReduction | currentSetting: fast
D/Camera  ( 5655): Updating builder with feature: FocusPointFeature
D/Camera  ( 5655): Updating builder with feature: ResolutionFeature
D/Camera  ( 5655): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 5655): Updating builder with feature: FlashFeature
D/Camera  ( 5655): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 5655): Updating builder with feature: FpsRangeFeature
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18496433, downTime=18496433 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18496550, downTime=18496433 } moveCount:0
W/Choreographer( 5655): Frame time is 0.048569 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18498444, downTime=18498444 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18498520, downTime=18498444 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18499113, downTime=18499113 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18499213, downTime=18499113 } moveCount:0
I/Camera  ( 5655): dispose
I/Camera  ( 5655): close
I/Camera  ( 5655): closeCaptureSession
I/Camera  ( 5655): open | onClosed
I/Camera  ( 5655): close
E/libc    ( 5655): Access denied finding property "persist.vendor.camera.privapp.list"
W/t_level_monitor( 5655): type=1400 audit(0.0:60222): avc: denied { read } for name="u:object_r:vendor_persist_camera_prop:s0" dev="tmpfs" ino=18767 scontext=u:r:untrusted_app:s0:c238,c259,c512,c768 tcontext=u:object_r:vendor_persist_camera_prop:s0 tclass=file permissive=0 app=com.nest_afrika.smart_level_monitor
I/Camera  ( 5655): startPreview
I/Camera  ( 5655): CameraCaptureSession onConfigured
I/Camera  ( 5655): Updating builder settings
D/Camera  ( 5655): Updating builder with feature: ExposureLockFeature
D/Camera  ( 5655): Updating builder with feature: ExposurePointFeature
D/Camera  ( 5655): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 5655): Updating builder with feature: AutoFocusFeature
D/Camera  ( 5655): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 5655): updateNoiseReduction | currentSetting: fast
D/Camera  ( 5655): Updating builder with feature: FocusPointFeature
D/Camera  ( 5655): Updating builder with feature: ResolutionFeature
D/Camera  ( 5655): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 5655): Updating builder with feature: FlashFeature
D/Camera  ( 5655): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 5655): Updating builder with feature: FpsRangeFeature
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18501701, downTime=18501701 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18501767, downTime=18501701 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18504751, downTime=18504751 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18504851, downTime=18504751 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18505634, downTime=18505634 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18505733, downTime=18505634 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18506679, downTime=18506679 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18506762, downTime=18506679 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
W/Choreographer( 5655): Frame time is 0.114682 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
W/Choreographer( 5655): Frame time is 0.065227 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
W/Choreographer( 5655): Frame time is 0.121751 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
W/Choreographer( 5655): Frame time is 0.083258 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
W/Choreographer( 5655): Frame time is 0.172143 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18538471, downTime=18538471 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18538588, downTime=18538471 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
W/Choreographer( 5655): Frame time is 0.085517 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18558581, downTime=18558581 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18558741, downTime=18558581 } moveCount:0
I/Camera  ( 5655): runPictureAutoFocus
I/Camera  ( 5655): lockAutoFocus
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 4 | aeState: 2
I/Camera  ( 5655): captureStillPicture
D/Camera  ( 5655): Updating builder with feature: ExposureLockFeature
D/Camera  ( 5655): Updating builder with feature: ExposurePointFeature
D/Camera  ( 5655): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 5655): Updating builder with feature: AutoFocusFeature
D/Camera  ( 5655): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 5655): updateNoiseReduction | currentSetting: fast
D/Camera  ( 5655): Updating builder with feature: FocusPointFeature
D/Camera  ( 5655): Updating builder with feature: ResolutionFeature
D/Camera  ( 5655): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 5655): Updating builder with feature: FlashFeature
D/Camera  ( 5655): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 5655): Updating builder with feature: FpsRangeFeature
I/Camera  ( 5655): sending capture request
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 2
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 2
I/Camera  ( 5655): onImageAvailable
D/qdgralloc( 5655): GetYUVPlaneInfo: Invalid format passed: 0x21
W/Choreographer( 5655): Frame time is 0.004343 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18578081, downTime=18578081 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18578138, downTime=18578081 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18579443, downTime=18579443 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18579526, downTime=18579443 } moveCount:0
I/Camera  ( 5655): runPictureAutoFocus
I/Camera  ( 5655): lockAutoFocus
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 2
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 4 | aeState: 2
I/Camera  ( 5655): captureStillPicture
D/Camera  ( 5655): Updating builder with feature: ExposureLockFeature
D/Camera  ( 5655): Updating builder with feature: ExposurePointFeature
D/Camera  ( 5655): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 5655): Updating builder with feature: AutoFocusFeature
D/Camera  ( 5655): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 5655): updateNoiseReduction | currentSetting: fast
D/Camera  ( 5655): Updating builder with feature: FocusPointFeature
D/Camera  ( 5655): Updating builder with feature: ResolutionFeature
D/Camera  ( 5655): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 5655): Updating builder with feature: FlashFeature
D/Camera  ( 5655): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 5655): Updating builder with feature: FpsRangeFeature
I/Camera  ( 5655): sending capture request
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 2
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 2
I/Camera  ( 5655): onImageAvailable
D/qdgralloc( 5655): GetYUVPlaneInfo: Invalid format passed: 0x21
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18581968, downTime=18581968 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18582026, downTime=18581968 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18583697, downTime=18583697 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18583797, downTime=18583697 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18585855, downTime=18585855 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18585972, downTime=18585855 } moveCount:0
I/Camera  ( 5655): runPictureAutoFocus
I/Camera  ( 5655): lockAutoFocus
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 4 | aeState: 4
I/Camera  ( 5655): runPrecaptureSequence
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 4
I/Camera  ( 5655): captureStillPicture
D/Camera  ( 5655): Updating builder with feature: ExposureLockFeature
D/Camera  ( 5655): Updating builder with feature: ExposurePointFeature
D/Camera  ( 5655): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 5655): Updating builder with feature: AutoFocusFeature
D/Camera  ( 5655): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 5655): updateNoiseReduction | currentSetting: fast
D/Camera  ( 5655): Updating builder with feature: FocusPointFeature
D/Camera  ( 5655): Updating builder with feature: ResolutionFeature
D/Camera  ( 5655): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 5655): Updating builder with feature: FlashFeature
D/Camera  ( 5655): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 5655): Updating builder with feature: FpsRangeFeature
I/Camera  ( 5655): sending capture request
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 4
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 5
I/Camera  ( 5655): onImageAvailable
D/qdgralloc( 5655): GetYUVPlaneInfo: Invalid format passed: 0x21
W/Choreographer( 5655): Frame time is 0.089232 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18593704, downTime=18593704 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18593804, downTime=18593704 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18596671, downTime=18596671 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18596796, downTime=18596671 } moveCount:0
I/Camera  ( 5655): runPictureAutoFocus
I/Camera  ( 5655): lockAutoFocus
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 4 | aeState: 5
I/Camera  ( 5655): runPrecaptureSequence
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
W/CameraCaptureCallback( 5655): Metering timeout waiting for pre-capture to finish, moving on with capture
I/Camera  ( 5655): captureStillPicture
D/Camera  ( 5655): Updating builder with feature: ExposureLockFeature
D/Camera  ( 5655): Updating builder with feature: ExposurePointFeature
D/Camera  ( 5655): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 5655): Updating builder with feature: AutoFocusFeature
D/Camera  ( 5655): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 5655): updateNoiseReduction | currentSetting: fast
D/Camera  ( 5655): Updating builder with feature: FocusPointFeature
D/Camera  ( 5655): Updating builder with feature: ResolutionFeature
D/Camera  ( 5655): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 5655): Updating builder with feature: FlashFeature
D/Camera  ( 5655): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 5655): Updating builder with feature: FpsRangeFeature
I/Camera  ( 5655): sending capture request
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 5
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 5
I/Camera  ( 5655): onImageAvailable
D/qdgralloc( 5655): GetYUVPlaneInfo: Invalid format passed: 0x21
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18601963, downTime=18601963 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18602055, downTime=18601963 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18602964, downTime=18602964 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18603056, downTime=18602964 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
W/Choreographer( 5655): Frame time is 0.15588 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18604319, downTime=18604319 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18604419, downTime=18604319 } moveCount:0
I/Camera  ( 5655): runPictureAutoFocus
I/Camera  ( 5655): lockAutoFocus
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 4 | aeState: 5
I/Camera  ( 5655): runPrecaptureSequence
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 2
I/Camera  ( 5655): captureStillPicture
D/Camera  ( 5655): Updating builder with feature: ExposureLockFeature
D/Camera  ( 5655): Updating builder with feature: ExposurePointFeature
D/Camera  ( 5655): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 5655): Updating builder with feature: AutoFocusFeature
D/Camera  ( 5655): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 5655): updateNoiseReduction | currentSetting: fast
D/Camera  ( 5655): Updating builder with feature: FocusPointFeature
D/Camera  ( 5655): Updating builder with feature: ResolutionFeature
D/Camera  ( 5655): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 5655): Updating builder with feature: FlashFeature
D/Camera  ( 5655): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 5655): Updating builder with feature: FpsRangeFeature
I/Camera  ( 5655): sending capture request
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 5
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 5
I/Camera  ( 5655): onImageAvailable
D/qdgralloc( 5655): GetYUVPlaneInfo: Invalid format passed: 0x21
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18607948, downTime=18607948 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18608056, downTime=18607948 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18613098, downTime=18613098 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18613206, downTime=18613098 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18619502, downTime=18619502 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18619628, downTime=18619502 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18624367, downTime=18624367 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18624475, downTime=18624367 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18629119, downTime=18629119 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18629244, downTime=18629119 } moveCount:0
I/Camera  ( 5655): runPictureAutoFocus
I/Camera  ( 5655): lockAutoFocus
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 4 | aeState: 5
I/Camera  ( 5655): runPrecaptureSequence
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
W/CameraCaptureCallback( 5655): Metering timeout waiting for pre-capture to finish, moving on with capture
I/Camera  ( 5655): captureStillPicture
D/Camera  ( 5655): Updating builder with feature: ExposureLockFeature
D/Camera  ( 5655): Updating builder with feature: ExposurePointFeature
D/Camera  ( 5655): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 5655): Updating builder with feature: AutoFocusFeature
D/Camera  ( 5655): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 5655): updateNoiseReduction | currentSetting: fast
D/Camera  ( 5655): Updating builder with feature: FocusPointFeature
D/Camera  ( 5655): Updating builder with feature: ResolutionFeature
D/Camera  ( 5655): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 5655): Updating builder with feature: FlashFeature
D/Camera  ( 5655): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 5655): Updating builder with feature: FpsRangeFeature
I/Camera  ( 5655): sending capture request
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 5
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 5
I/Camera  ( 5655): onImageAvailable
D/qdgralloc( 5655): GetYUVPlaneInfo: Invalid format passed: 0x21
W/Choreographer( 5655): Frame time is 0.175734 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18635224, downTime=18635224 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18635306, downTime=18635224 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): dispose
I/Camera  ( 5655): close
I/Camera  ( 5655): closeCaptureSession
W/BpBinder( 5655): PerfMonitor binderTransact :  time=283ms interface=android.hardware.camera2.ICameraDeviceUser code=1
I/Camera  ( 5655): open | onClosed
I/Camera  ( 5655): close
E/libc    ( 5655): Access denied finding property "persist.vendor.camera.privapp.list"
W/t_level_monitor( 5655): type=1400 audit(0.0:63474): avc: denied { read } for name="u:object_r:vendor_persist_camera_prop:s0" dev="tmpfs" ino=18767 scontext=u:r:untrusted_app:s0:c238,c259,c512,c768 tcontext=u:object_r:vendor_persist_camera_prop:s0 tclass=file permissive=0 app=com.nest_afrika.smart_level_monitor
I/Camera  ( 5655): startPreview
I/Camera  ( 5655): CameraCaptureSession onConfigured
I/Camera  ( 5655): Updating builder settings
D/Camera  ( 5655): Updating builder with feature: ExposureLockFeature
D/Camera  ( 5655): Updating builder with feature: ExposurePointFeature
D/Camera  ( 5655): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 5655): Updating builder with feature: AutoFocusFeature
D/Camera  ( 5655): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 5655): updateNoiseReduction | currentSetting: fast
D/Camera  ( 5655): Updating builder with feature: FocusPointFeature
D/Camera  ( 5655): Updating builder with feature: ResolutionFeature
D/Camera  ( 5655): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 5655): Updating builder with feature: FlashFeature
D/Camera  ( 5655): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 5655): Updating builder with feature: FpsRangeFeature
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18639761, downTime=18639761 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18639869, downTime=18639761 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
W/Choreographer( 5655): Frame time is 0.224324 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18644422, downTime=18644422 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18644554, downTime=18644422 } moveCount:0
I/Camera  ( 5655): runPictureAutoFocus
I/Camera  ( 5655): lockAutoFocus
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 4 | aeState: 4
I/Camera  ( 5655): runPrecaptureSequence
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 2 | aeState: 4
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 4
I/Camera  ( 5655): captureStillPicture
D/Camera  ( 5655): Updating builder with feature: ExposureLockFeature
D/Camera  ( 5655): Updating builder with feature: ExposurePointFeature
D/Camera  ( 5655): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 5655): Updating builder with feature: AutoFocusFeature
D/Camera  ( 5655): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 5655): updateNoiseReduction | currentSetting: fast
D/Camera  ( 5655): Updating builder with feature: FocusPointFeature
D/Camera  ( 5655): Updating builder with feature: ResolutionFeature
D/Camera  ( 5655): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 5655): Updating builder with feature: FlashFeature
D/Camera  ( 5655): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 5655): Updating builder with feature: FpsRangeFeature
I/Camera  ( 5655): sending capture request
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 4
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 5
I/Camera  ( 5655): onImageAvailable
D/qdgralloc( 5655): GetYUVPlaneInfo: Invalid format passed: 0x21
W/Choreographer( 5655): Frame time is 0.148724 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
W/Choreographer( 5655): Frame time is 0.220457 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18662843, downTime=18662843 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18662943, downTime=18662843 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18664190, downTime=18664190 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18664283, downTime=18664190 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
W/Choreographer( 5655): Frame time is 0.081558 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18666051, downTime=18666051 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18666210, downTime=18666051 } moveCount:2
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18667841, downTime=18667841 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18667958, downTime=18667841 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18669931, downTime=18669931 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18670039, downTime=18669931 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18673107, downTime=18673107 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18673249, downTime=18673107 } moveCount:0
I/Camera  ( 5655): runPictureAutoFocus
I/Camera  ( 5655): lockAutoFocus
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 4 | aeState: 5
I/Camera  ( 5655): runPrecaptureSequence
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 2 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
W/CameraCaptureCallback( 5655): Metering timeout waiting for pre-capture to finish, moving on with capture
I/Camera  ( 5655): captureStillPicture
D/Camera  ( 5655): Updating builder with feature: ExposureLockFeature
D/Camera  ( 5655): Updating builder with feature: ExposurePointFeature
D/Camera  ( 5655): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 5655): Updating builder with feature: AutoFocusFeature
D/Camera  ( 5655): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 5655): updateNoiseReduction | currentSetting: fast
D/Camera  ( 5655): Updating builder with feature: FocusPointFeature
D/Camera  ( 5655): Updating builder with feature: ResolutionFeature
D/Camera  ( 5655): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 5655): Updating builder with feature: FlashFeature
D/Camera  ( 5655): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 5655): Updating builder with feature: FpsRangeFeature
I/Camera  ( 5655): sending capture request
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 5
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/CameraCaptureCallback( 5655): CameraCaptureCallback | state: STATE_CAPTURING | afState: 2 | aeState: 5
I/Camera  ( 5655): onImageAvailable
D/qdgralloc( 5655): GetYUVPlaneInfo: Invalid format passed: 0x21
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18678839, downTime=18678839 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18678973, downTime=18678839 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18679637, downTime=18679637 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18679703, downTime=18679637 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18681135, downTime=18681135 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18681176, downTime=18681135 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18683250, downTime=18683250 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18683383, downTime=18683250 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18686612, downTime=18686612 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18686771, downTime=18686612 } moveCount:0
W/Choreographer( 5655): Frame time is 0.185511 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
W/Choreographer( 5655): Frame time is 0.137455 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
W/Choreographer( 5655): Frame time is 0.112305 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18694708, downTime=18694708 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18694791, downTime=18694708 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18696712, downTime=18696712 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18696795, downTime=18696712 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
W/Choreographer( 5655): Frame time is 0.071029 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18699048, downTime=18699048 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18699148, downTime=18699048 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=18699753, downTime=18699753 } moveCount:0
D/MIUIInput( 5655): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=18699836, downTime=18699753 } moveCount:0
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): unlockAutoFocus
I/Camera  ( 5655): refreshPreviewCaptureSession
I/Camera  ( 5655): dispose
I/Camera  ( 5655): close
I/Camera  ( 5655): closeCaptureSession
W/BpBinder( 5655): PerfMonitor binderTransact :  time=259ms interface=android.hardware.camera2.ICameraDeviceUser code=1
I/Camera  ( 5655): open | onClosed
Lost connection to device.
Exited (sigterm)

You must call dispose() if the CameraController in the _CameraExampleHomeState.dispose() method.
The example code (https://github.com/flutter/plugins/blob/main/packages/camera/camera/example/lib/main.dart#L100-L106)
  @override
  void dispose() {
    _ambiguate(WidgetsBinding.instance)?.removeObserver(this);
    _flashModeControlRowAnimationController.dispose();
    _exposureModeControlRowAnimationController.dispose();
    super.dispose();
  }

should be modified to:
  @override
  void dispose() {
    _ambiguate(WidgetsBinding.instance)?.removeObserver(this);
    _flashModeControlRowAnimationController.dispose();
    _exposureModeControlRowAnimationController.dispose();
    controller?.dispose();
    super.dispose();
  }

It worked for me and it may help to solve at least some of the instability reported in other issues.

Sorry for the noise, that comment was meant for another issue.

Facing the same issue on a Pixel 4a and Emulator running Android 12. Any workaround would be helpful as this is a showstopper

Same issue here on Galaxy A52 5G with android 12 and flutter 3.0.0

cc @camsim99

To follow up on this issue, I was able to reproduce this on a Pixel 3A, but I have not been able to find a stable solution for this. It seems like the root cause is a hardware issue related to the Android modes used to implement Flutter's FlashMode.always and FlashMode.auto. I have followed up elsewhere to verify this issue and will update here with any updates.

I was able to reproduce this on OnePlus 3, OnePlus 6T, and OnePlus 9Pro. When the FlashMode is always/auto and the flashlight triggered, the callback always reports STATE_WAITING_PRECAPTURE_DONE, and ran into timeout eventually.
Versions
Flutter: 3.0.3
camera: 0.9.7+1
Android versions: 8/11/12
https://user-images.githubusercontent.com/15884415/176918079-5fc1f3d0-2919-468c-bc79-8e9b32f5c5b2.mp4

Logs
I/Camera  (26956): runPictureAutoFocus
I/Camera  (26956): lockAutoFocus
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 4
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 4
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 4
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 4
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 4
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 4
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 4 | aeState: 5
I/Camera  (26956): runPrecaptureSequence
I/Camera  (26956): refreshPreviewCaptureSession
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 4
I/Camera  (26956): captureStillPicture
D/Camera  (26956): Updating builder with feature: ExposureLockFeature
D/Camera  (26956): Updating builder with feature: ExposurePointFeature
D/Camera  (26956): Updating builder with feature: ZoomLevelFeature
D/Camera  (26956): Updating builder with feature: AutoFocusFeature
D/Camera  (26956): Updating builder with feature: NoiseReductionFeature
I/Camera  (26956): updateNoiseReduction | currentSetting: fast
D/Camera  (26956): Updating builder with feature: FocusPointFeature
D/Camera  (26956): Updating builder with feature: ResolutionFeature
D/Camera  (26956): Updating builder with feature: SensorOrientationFeature
D/Camera  (26956): Updating builder with feature: FlashFeature
D/Camera  (26956): Updating builder with feature: ExposureOffsetFeature
D/Camera  (26956): Updating builder with feature: FpsRangeFeature
I/Camera  (26956): sending capture request
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 5
D/CameraCaptureCallback(26956): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 5
I/Camera  (26956): unlockAutoFocus
I/Camera  (26956): refreshPreviewCaptureSession
I/Camera  (26956): onImageAvailable
I/Camera  (26956): dispose
I/Camera  (26956): close
I/Camera  (26956): closeCaptureSession
I/Camera  (26956): open | onClosed

This bug reproduces for me using the plugin sample app on a Google Pixel 4 and a Pixel 5a. Makes the camera plugin effectively unusable on android imo.

In the meantime, you can just reinitialize the camera or dispose to turn the flash off.

I can confirm this issue on Pixel 4a - Android 12. Disposing and reinitializing the camera is no option for me. This process takes time and can fail. In my application, the user might take up to 10 photos in a row.
Btw: I don't have to follow the reproduction steps mentioned by @timbotimbo. Instead, if I just take a picture using FlashMode.always or FlashMode.auto, it happens more than 50 % of the attempts.

@lore-co I filed an internal bug to take a look at the issue since it seems to be hardware-related. I will report back with updates as soon as I get any.

@lore-co I filed an internal bug to take a look at the issue since it seems to be hardware-related. I will report back with updates as soon as I get any.

Thank you very much Camille,
If you need any info feel free to contact me, the issue is reproducible on a vast amount of devices and different brands.

I tried to find out if it's a problem of the camera2 library of Android or of the camera package of Flutter (or even of the way I call the camera package in my Flutter app).
It seems that it's not an issue of camera2 itself, because when I compile the official Camera2Basic example project, (which btw requires a few adaptions to the gradle file for anyone who is interested), it works. The camera is in auto mode.
So basically we "just" need to find out, what is being done differently in the Camera2Basic example and the way the underlying camera is called in the respective Flutter plugin.
I suspect there is a problematic combination of AE_MODE and FLASH_MODE as this SO post suggests.

@timbotimbo & @camsim99
I guess I fixed the bug. Can you guys confirm by putting the following lines in the pubspec.yaml of your project:
camera:
  git:
    url: git@github.com:gerken-tss/plugins.git
    ref: issue-97501-flash-remains-lit
    path: packages/camera/camera

If you can confirm, I will create a PR.
Thank you in advance!

@gerken-tss
I haven't checked the native camera2 example yet, but I did try your issue-97501-flash-remains-lit branch, which seems to be working.

Flash works as expected with flashmode auto & always, and turns off afterwards.
Flash is visible in the resuling photo.

I could only test it on 1 affected device right now, (Galaxy S20FE (SM G780G) Android 12).

Btw my tests were positive for issue-97501-flash-remains-lit and native camera2 example (both for the device Google Pixel 4a).

Un-assigning myself as I'm not actively working on this, but added this as an issue to verify is gone after the re-write of the Flutter camera plugin with CameraX is done.

Still remaining on the Samsung s22 ultra. Is there any solution for this issue?

I don't think there is going to be a fix any time soon, in the mean time you can either dispose the cameracontroller between each picture you take. Or manually reset the flash mode after each picture you take.

@gerken-tss Thank you so much for taking a look at the issue! I can work on confirming it works, but do you mind explaining how you fixed it?

Sorry for the late response.
I have realised that the official Camera2Basic doesn't have this issue.
Not knowing the exact mechanics but knowing the that the official works while in the flutter plugin it doesn't, I adapted all the changes which made it work.
So to conclude: the changes I made are a result of me observing the changes between Camera2Basic and this plugin.
So we got a working version here! In my prod app I am using my own fork which has this fix and since then there were no user complaints.

After taking the picture, set flash mode to torch, and return it to always. I know It's a little bit hacky but that worked for me.

I have the same issue on a Google Pixel 3a XL (Android 12).
Using the torch mode and then switching to off works to disable the flash as Bojmaliev mentioned. However this forces me to always use torch mode since using "always" triggers the same behaviour again.
I also tested this on other devices:

On a Blackberry Key2 (Android 8.1) this issue does not occur at all.
On a Google Pixel 6 the issue is only that the flash is lit for a fraction of a second when switching from auto to always. But it otherwise only turns on when taking a photo.

We are using this package in OnePlus 9R an can confirm that we are also having the same issue. We would require the Flutter team to please look into this urgently as our production app is getting affected badly! The camera package version is:
camera:
version: "0.10.5"
camera_android:
version: "0.10.8+1"
camera_avfoundation:
version: "0.9.13+1"
camera_platform_interface:
version: "2.5.0"
camera_web:
version: "0.3.1+3"

Here's my workaround, calling this method after taking a picture fixed it for me
 Future resetTorch() async {
    final currentFlash = controller?.value.flashMode;
    if (currentFlash != null && currentFlash != FlashMode.off) {
      if (currentFlash == FlashMode.auto || currentFlash == FlashMode.always) {
        await setFlashMode(FlashMode.torch);
      }
      await setFlashMode(FlashMode.off);
      await setFlashMode(currentFlash);
    }
  }

Any real solutions to this problem yet?

@Muzammil-Bit

Any real solutions to this problem yet?

Yes. The one I posted here:

@gerken-tss Thank you so much for taking a look at the issue! I can work on confirming it works, but do you mind explaining how you fixed it?

Sorry for the late response.
I have realised that the official Camera2Basic doesn't have this issue. Not knowing the exact mechanics but knowing the that the official works while in the flutter plugin it doesn't, I adapted all the changes which made it work.
So to conclude: the changes I made are a result of me observing the changes between Camera2Basic and this plugin (which is basically what I have described in this comment)
So we got a working version here! In my prod app I am using my own fork (or to be exact, I'm using this branch because another issue with overexposure was also bothering me) which has this fix and since then there were no user complaints.
I'm using it like this:
camera:
  git:
    url: git@github.com:gerken-tss/plugins.git
    ref: issue-97501-and-88070-combined
    path: packages/camera/camera

@gerken-tss  Thanks a lot for your response.
But I cannot seem to add it to my pubspec.yaml file due to a host key verification error.
Following is the error I receive:
Git error. Command: `git clone --mirror git@github.com:gerken-tss/plugins.git
stderr: Cloning into bare repository 'C:\Users\Muzammil Hussain\AppData\Local\Pub\Cache\git\cache\plugins-2b00e49dd7fefe29c3cc0cb72e601b6ae84936da'...
Host key verification failed.

@Muzammil-Bit Well, since the repository is public, you might as well use the http URL:
git clone --mirror https://github.com/gerken-tss/plugins.git

I also had a similar situation, I found that when the exposure adjustment was triggered by touching the screen, the flash would automatically turn off, so I tried to set the exposure mode to lock mode after initializing the plug-in, but did not find this situation again. The reason for this bug may be related to the exposure mode

@gerken-tss Thanks a lot for your response.
But I cannot seem to add it to my pubspec.yaml file due to a host key verification error. Following is the error I recieve:
Git error. Command: `git clone --mirror git@github.com:gerken-tss/plugins.git
stderr: Cloning into bare repository 'C:\Users\Muzammil Hussain\AppData\Local\Pub\Cache\git\cache\plugins-2b00e49dd7fefe29c3cc0cb72e601b6ae84936da'... Host key verification failed.

Has it worked with using HTTPS as a protocol instead of SSH?
camera:
  git:
    url: https://github.com/gerken-tss/plugins.git"  # <--- This is new
    ref: issue-97501-and-88070-combined
    path: packages/camera/camera

As workaround I am setting FlashMode.torch before taking picture and then setting FlashMode.off when picture is taken. Example:
      await _controller?.setFlashMode(FlashMode.torch);       await _controller?.takePicture().whenComplete(() async {         await _controller?.setFlashMode(FlashMode.off);       });

Note from android triage: dropping to p3 as we would accept a PR to fix this, but currently effort is being spent on developing the CameraX implementation of the camera plugin instead.

I also had a similar situation, I found that when the exposure adjustment was triggered by touching the screen, the flash would automatically turn off, so I tried to set the exposure mode to lock mode after initializing the cameracontroller, this situation did not happend again. The reason for this bug may be related to the exposure mode

Noticed the same behavior on Pixel 3XL, I got it resolved (🤞) when I set the ExposureMode.locked before called takePicture
_controller.setExposureMode(ExposureMode.locked);
final image = await _controller.takePicture();

@timbotimbo Please update the list of devices in the issue by adding the below devices as well

Device
version
affected

SM-A525F/DS
Android 12
Yes

SM-N9600
Android 10
Yes

Just Add this line after taking Picture :- await cameraControllerInstance.value!.setFlashMode(FlashMode.off);
<><><><><><><><>><><><><>
Here's the sample
XFile file = await cameraControllerInstance.value!.takePicture();
await cameraControllerInstance.value!.setFlashMode(FlashMode.off);

This issue should be fixed in the CameraX implementation of the camera plugin, so please try it out!
If you find a similar issue with that implementation (or any other issues), please feel free to file a separate issue!

This issue should be fixed in the CameraX implementation of the camera plugin, so please try it out!
If you find a similar issue with that implementation (or any other issues), please feel free to file a separate issue!

Thnx 😊👍🏻.. I'll check it...

Maybe this will help :- https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://stackoverflow.com/a/9576052&ved=2ahUKEwjetIL1zaSFAxXObGwGHWbLCMEQ4-4CegQIHxAC&usg=AOvVaw1RMVkQ_GIUbYf5Hxe8X8Ul

This issue should be fixed in the CameraX implementation of the camera plugin, so please try it out!
If you find a similar issue with that implementation (or any other issues), please feel free to file a separate issue!

still not fixed.

@hanhmh1203 what device and how did you repro?