Closed Kypsis closed 3 years ago
Could you please correctly format the error logs? use three backticks (```) for code blocks
I'll add a remark here just incase it might help. I have a side project in Flutter and there the camera module on Samsung Galaxy Note10+ for whatever reason is noticeably slower to init than Pixel 4a for example.
Could you please share the native logs in Android Studio/Logcat?
2021-07-07 12:41:23.437 6996-6996/? I/.camera.exampl: Late-enabling -Xcheck:jni
2021-07-07 12:41:23.468 6996-6996/? I/.camera.exampl: Unquickening 22 vdex files!
2021-07-07 12:41:23.503 6996-6996/? D/ActivityThread: setConscryptValidator
2021-07-07 12:41:23.504 6996-6996/? D/ActivityThread: setConscryptValidator - put
2021-07-07 12:41:23.568 6996-6996/com.mrousavy.camera.example D/ActivityThread: handleBindApplication()++ app=com.mrousavy.camera.example
2021-07-07 12:41:23.577 6996-6996/com.mrousavy.camera.example I/.camera.exampl: The ClassLoaderContext is a special shared library.
2021-07-07 12:41:23.732 6996-6996/com.mrousavy.camera.example D/ActivityThread: handleBindApplication() -- skipGraphicsSupport=false
2021-07-07 12:41:23.733 6996-6996/com.mrousavy.camera.example D/ActivityThread: ActivityThread::handleMakeApplication() data=AppBindData{appInfo=ApplicationInfo{e24dd84 com.mrousavy.camera.example}} appContext=android.app.ContextImpl@948b96d appContext.mOpPackageName=com.mrousavy.camera.example appContext.mBasePackageName=com.mrousavy.camera.example appContext.mPackageInfo=android.app.LoadedApk@3c459a2 data.restrictedBackupMode= false data.providers= [] Caller=android.app.ActivityThread.handleBindApplication:7446 android.app.ActivityThread.access$1500:301 android.app.ActivityThread$H.handleMessage:2148 android.os.Handler.dispatchMessage:106 android.os.Looper.loop:246
2021-07-07 12:41:23.735 6996-6996/com.mrousavy.camera.example D/LoadedApk: LoadedApk::makeApplication() appContext=android.app.ContextImpl@335b633 appContext.mOpPackageName=com.mrousavy.camera.example appContext.mBasePackageName=com.mrousavy.camera.example appContext.mPackageInfo=android.app.LoadedApk@3c459a2
2021-07-07 12:41:23.735 6996-6996/com.mrousavy.camera.example D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2021-07-07 12:41:23.753 6996-6996/com.mrousavy.camera.example D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2021-07-07 12:41:23.757 6996-6996/com.mrousavy.camera.example D/SoLoader: init start
2021-07-07 12:41:23.758 6996-6996/com.mrousavy.camera.example D/SoLoader: adding system library source: /vendor/lib64
2021-07-07 12:41:23.758 6996-6996/com.mrousavy.camera.example D/SoLoader: adding system library source: /system/lib64
2021-07-07 12:41:23.758 6996-6996/com.mrousavy.camera.example D/SoLoader: adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64 flags = 0]
2021-07-07 12:41:23.759 6996-6996/com.mrousavy.camera.example D/SoLoader: adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/data/com.mrousavy.camera.example/lib-main flags = 1]
2021-07-07 12:41:23.759 6996-6996/com.mrousavy.camera.example D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
2021-07-07 12:41:23.759 6996-6996/com.mrousavy.camera.example D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
2021-07-07 12:41:23.759 6996-6996/com.mrousavy.camera.example D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64 flags = 0]
2021-07-07 12:41:23.759 6996-6996/com.mrousavy.camera.example D/SoLoader: Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/data/com.mrousavy.camera.example/lib-main flags = 1]
2021-07-07 12:41:23.760 6996-6996/com.mrousavy.camera.example V/fb-UnpackingSoSource: locked dso store /data/user/0/com.mrousavy.camera.example/lib-main
2021-07-07 12:41:23.761 6996-6996/com.mrousavy.camera.example V/fb-UnpackingSoSource: deps mismatch on deps store: regenerating
2021-07-07 12:41:23.761 6996-6996/com.mrousavy.camera.example V/fb-UnpackingSoSource: so store dirty: regenerating
2021-07-07 12:41:23.810 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libVisionCamera.so: deferring to libdir
2021-07-07 12:41:23.810 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libc++_shared.so: deferring to libdir
2021-07-07 12:41:23.810 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libfb.so: deferring to libdir
2021-07-07 12:41:23.810 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libfbjni.so: deferring to libdir
2021-07-07 12:41:23.810 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libfolly_futures.so: deferring to libdir
2021-07-07 12:41:23.810 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libfolly_json.so: deferring to libdir
2021-07-07 12:41:23.810 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libglog.so: deferring to libdir
2021-07-07 12:41:23.810 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libglog_init.so: deferring to libdir
2021-07-07 12:41:23.810 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libhermes-executor-common-debug.so: deferring to libdir
2021-07-07 12:41:23.810 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libhermes-executor-common-release.so: deferring to libdir
2021-07-07 12:41:23.810 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libhermes-executor-debug.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libhermes-executor-release.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libhermes-inspector.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libhermes.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libimagepipeline.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libjscexecutor.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsijniprofiler.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsinspector.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libnative-filters.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libnative-imagetranscoder.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_codegen_reactandroidspec.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_nativemodule_core.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactnativeblob.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactnativejni.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactnativeutilsjni.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactperfloggerjni.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libreanimated.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libturbomodulejsijni.so: deferring to libdir
2021-07-07 12:41:23.811 6996-6996/com.mrousavy.camera.example D/ApkSoSource: not allowing consideration of lib/arm64-v8a/libyoga.so: deferring to libdir
2021-07-07 12:41:23.812 6996-6996/com.mrousavy.camera.example V/fb-UnpackingSoSource: regenerating DSO store com.facebook.soloader.ApkSoSource
2021-07-07 12:41:23.812 6996-6996/com.mrousavy.camera.example V/fb-UnpackingSoSource: Finished regenerating DSO store com.facebook.soloader.ApkSoSource
2021-07-07 12:41:23.812 6996-6996/com.mrousavy.camera.example V/fb-UnpackingSoSource: starting syncer worker
2021-07-07 12:41:23.815 6996-6996/com.mrousavy.camera.example V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.mrousavy.camera.example/lib-main (from syncer thread)
2021-07-07 12:41:23.815 6996-6996/com.mrousavy.camera.example V/fb-UnpackingSoSource: not releasing dso store lock for /data/user/0/com.mrousavy.camera.example/lib-main (syncer thread started)
2021-07-07 12:41:23.815 6996-6996/com.mrousavy.camera.example D/SoLoader: init finish: 4 SO sources prepared
2021-07-07 12:41:23.815 6996-6996/com.mrousavy.camera.example D/SoLoader: init exiting
2021-07-07 12:41:23.825 6996-6996/com.mrousavy.camera.example D/SoLoader: init exiting
2021-07-07 12:41:23.825 6996-6996/com.mrousavy.camera.example D/SoLoader: About to load: libjscexecutor.so
2021-07-07 12:41:23.826 6996-6996/com.mrousavy.camera.example D/SoLoader: libjscexecutor.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-07-07 12:41:23.826 6996-6996/com.mrousavy.camera.example D/SoLoader: libjscexecutor.so found on /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64
2021-07-07 12:41:23.826 6996-6996/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libjscexecutor.so
2021-07-07 12:41:23.827 6996-6996/com.mrousavy.camera.example W/System.err: java.lang.UnsatisfiedLinkError: dlopen failed: library "libjsc.so" not found: needed by /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64/libjscexecutor.so in namespace classloader-namespace
2021-07-07 12:41:23.827 6996-6996/com.mrousavy.camera.example W/System.err: at java.lang.Runtime.load0(Runtime.java:939)
2021-07-07 12:41:23.827 6996-6996/com.mrousavy.camera.example W/System.err: at java.lang.System.load(System.java:1628)
2021-07-07 12:41:23.827 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.soloader.SoLoader$1.load(SoLoader.java:400)
2021-07-07 12:41:23.827 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:77)
2021-07-07 12:41:23.827 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:50)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.soloader.ApplicationSoSource.loadLibrary(ApplicationSoSource.java:89)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:838)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl(SoLoader.java:725)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:649)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:629)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:577)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.react.ReactInstanceManagerBuilder.getDefaultJSExecutorFactory(ReactInstanceManagerBuilder.java:297)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.react.ReactInstanceManagerBuilder.build(ReactInstanceManagerBuilder.java:270)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.reactnativenavigation.react.NavigationReactNativeHost.createReactInstanceManager(NavigationReactNativeHost.java:59)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.facebook.react.ReactNativeHost.getReactInstanceManager(ReactNativeHost.java:39)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.reactnativenavigation.react.ReactGateway.<init>(ReactGateway.java:20)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.reactnativenavigation.NavigationApplication.createReactGateway(NavigationApplication.java:40)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.reactnativenavigation.NavigationApplication.onCreate(NavigationApplication.java:27)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.mrousavy.camera.example.MainApplication.onCreate(MainApplication.java:53)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1192)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at android.app.ActivityThread.handleMakeApplication(ActivityThread.java:7507)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7446)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at android.app.ActivityThread.access$1500(ActivityThread.java:301)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2148)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at android.os.Looper.loop(Looper.java:246)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at android.app.ActivityThread.main(ActivityThread.java:8512)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
2021-07-07 12:41:23.828 6996-6996/com.mrousavy.camera.example E/SoLoader: couldn't find DSO to load: libjscexecutor.so caused by: dlopen failed: library "libjsc.so" not found: needed by /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64/libjscexecutor.so in namespace classloader-namespace result: 0
2021-07-07 12:41:23.831 6996-6996/com.mrousavy.camera.example D/SoLoader: init exiting
2021-07-07 12:41:23.851 6996-6996/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, reflection, allowed)
2021-07-07 12:41:23.851 6996-6996/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, reflection, allowed)
2021-07-07 12:41:23.851 6996-6996/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (greylist,core-platform-api, reflection, allowed)
2021-07-07 12:41:23.870 6996-6996/com.mrousavy.camera.example D/SensorManager: registerListener :: 1, LSM6DSO Acceleration Sensor, 66667, 0, com.facebook.react.common.ShakeDetector@6c6c5c3
2021-07-07 12:41:23.896 6996-6996/com.mrousavy.camera.example D/SoLoader: About to load: libfbjni.so
2021-07-07 12:41:23.897 6996-6996/com.mrousavy.camera.example D/SoLoader: libfbjni.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-07-07 12:41:23.897 6996-6996/com.mrousavy.camera.example D/SoLoader: libfbjni.so found on /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64
2021-07-07 12:41:23.897 6996-6996/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libfbjni.so
2021-07-07 12:41:23.897 6996-6996/com.mrousavy.camera.example D/SoLoader: Loaded: libfbjni.so
2021-07-07 12:41:23.999 6996-6996/com.mrousavy.camera.example I/DecorView: [INFO] isPopOver=false, config=true
2021-07-07 12:41:23.999 6996-6996/com.mrousavy.camera.example I/DecorView: updateCaptionType >> DecorView@30de41e[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
2021-07-07 12:41:23.999 6996-6996/com.mrousavy.camera.example D/DecorView: setCaptionType = 0, this = DecorView@30de41e[]
2021-07-07 12:41:24.013 6996-6996/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2021-07-07 12:41:24.014 6996-6996/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2021-07-07 12:41:24.057 6996-6996/com.mrousavy.camera.example D/InputTransport: Input channel constructed: '7ed457a', fd=78
2021-07-07 12:41:24.059 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: setView = com.android.internal.policy.DecorView@30de41e TM=true
2021-07-07 12:41:24.068 6996-6996/com.mrousavy.camera.example W/unknown:ReactNative: Packager connection already open, nooping.
2021-07-07 12:41:24.095 6996-6996/com.mrousavy.camera.example I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x7aaf6e8 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-07-07 12:41:24.097 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)0 dur=22 res=0x7 s={true 488028819472} ch=true fn=-1
2021-07-07 12:41:24.101 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:10957 android.view.ViewRootImpl.performTraversals:3845 android.view.ViewRootImpl.doTraversal:2618
2021-07-07 12:41:24.101 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: [DP] pd() Asnyc report
2021-07-07 12:41:24.107 6996-30742/com.mrousavy.camera.example I/Gralloc4: mapper 4.x is not supported
2021-07-07 12:41:24.108 6996-30742/com.mrousavy.camera.example W/Gralloc3: mapper 3.x is not supported
2021-07-07 12:41:24.111 6996-30742/com.mrousavy.camera.example I/gralloc: Arm Module v1.0
2021-07-07 12:41:24.133 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$performDraw$1$ViewRootImpl:4668 android.view.-$$Lambda$ViewRootImpl$DJd0VUYJgsebcnSohO6h8zc_ONI.run:6 android.os.Handler.handleCallback:938
2021-07-07 12:41:24.133 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: [DP] rdf()
2021-07-07 12:41:24.158 6996-6996/com.mrousavy.camera.example D/InputTransport: Input channel constructed: '19ff56a', fd=83
2021-07-07 12:41:24.158 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: setView = android.widget.PopupWindow$PopupDecorView@e10cf39 TM=true
2021-07-07 12:41:24.177 6996-6996/com.mrousavy.camera.example I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x5a625f5 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-07-07 12:41:24.178 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: Relayout returned: old=(0,85,1080,2154) new=(0,85,1080,158) req=(1079,73)0 dur=4 res=0x7 s={true 488029316512} ch=true fn=-1
2021-07-07 12:41:24.180 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: [DP] dp(1) 0 android.view.ViewRootImpl.reportNextDraw:10957 android.view.ViewRootImpl.performTraversals:3845 android.view.ViewRootImpl.doTraversal:2618
2021-07-07 12:41:24.180 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: [DP] pd() Asnyc report
2021-07-07 12:41:24.193 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: [DP] pdf(0) 0 android.view.ViewRootImpl.lambda$performDraw$1$ViewRootImpl:4668 android.view.-$$Lambda$ViewRootImpl$DJd0VUYJgsebcnSohO6h8zc_ONI.run:6 android.os.Handler.handleCallback:938
2021-07-07 12:41:24.193 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: [DP] rdf()
2021-07-07 12:41:24.194 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
2021-07-07 12:41:24.194 6996-6996/com.mrousavy.camera.example D/InputMethodManager: prepareNavigationBarInfo() DecorView@30de41e[MainActivity]
2021-07-07 12:41:24.194 6996-6996/com.mrousavy.camera.example D/InputMethodManager: getNavigationBarColor() -855310
2021-07-07 12:41:24.195 6996-6996/com.mrousavy.camera.example D/InputMethodManager: prepareNavigationBarInfo() DecorView@30de41e[MainActivity]
2021-07-07 12:41:24.195 6996-6996/com.mrousavy.camera.example D/InputMethodManager: getNavigationBarColor() -855310
2021-07-07 12:41:24.195 6996-6996/com.mrousavy.camera.example V/InputMethodManager: Starting input: tba=com.mrousavy.camera.example ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
2021-07-07 12:41:24.195 6996-6996/com.mrousavy.camera.example D/InputMethodManager: startInputInner - Id : 0
2021-07-07 12:41:24.195 6996-6996/com.mrousavy.camera.example I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
2021-07-07 12:41:24.200 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197010464 - Surface(name=PopupWindow:6c0ac3d$_6996)/@0x6e109fb / android.view.SurfaceControl.assignNativeObject:567 android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1810 android.view.ViewRootImpl.relayoutWindow:9005
2021-07-07 12:41:24.200 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197010464]
2021-07-07 12:41:24.200 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197010464]
2021-07-07 12:41:24.201 6996-6996/com.mrousavy.camera.example I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x5a625f5 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-07-07 12:41:24.201 6996-30732/com.mrousavy.camera.example D/InputTransport: Input channel constructed: 'ClientS', fd=87
2021-07-07 12:41:24.202 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: Relayout returned: old=(0,85,1080,158) new=(0,85,1080,158) req=(1079,73)0 dur=4 res=0x1 s={true 488029316512} ch=false fn=2
2021-07-07 12:41:24.205 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: MSG_RESIZED_REPORT: frame=(0,85,1080,158) ci=(0,0,0,0) vi=(0,0,0,0) or=1
2021-07-07 12:41:24.206 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: [DP] dp(1) 0 android.view.ViewRootImpl.reportNextDraw:10957 android.view.ViewRootImpl.access$1200:256 android.view.ViewRootImpl$ViewRootHandler.handleMessage:6101
2021-07-07 12:41:24.206 6996-6996/com.mrousavy.camera.example D/InputMethodManager: prepareNavigationBarInfo() DecorView@30de41e[MainActivity]
2021-07-07 12:41:24.206 6996-6996/com.mrousavy.camera.example D/InputMethodManager: getNavigationBarColor() -855310
2021-07-07 12:41:24.206 6996-6996/com.mrousavy.camera.example V/InputMethodManager: Starting input: tba=com.mrousavy.camera.example ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
2021-07-07 12:41:24.206 6996-6996/com.mrousavy.camera.example D/InputMethodManager: startInputInner - Id : 0
2021-07-07 12:41:24.225 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197009792 - Surface(name=PopupWindow:6c0ac3d$_6996)/@0x6e109fb / android.view.SurfaceControl.assignNativeObject:567 android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1810 android.view.ViewRootImpl.relayoutWindow:9005
2021-07-07 12:41:24.225 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197009792]
2021-07-07 12:41:24.225 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197009792]
2021-07-07 12:41:24.226 6996-6996/com.mrousavy.camera.example I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x5a625f5 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-07-07 12:41:24.227 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: Relayout returned: old=(0,85,1080,158) new=(0,85,1080,158) req=(1079,73)0 dur=5 res=0x1 s={true 488029316512} ch=false fn=3
2021-07-07 12:41:24.228 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: [DP] pd() Asnyc report
2021-07-07 12:41:24.229 6996-30742/com.mrousavy.camera.example W/libEGL: EGLNativeWindowType 0x71a0d065b0 disconnect failed
2021-07-07 12:41:24.233 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: [DP] pdf(0) 0 android.view.ViewRootImpl.lambda$performDraw$1$ViewRootImpl:4668 android.view.-$$Lambda$ViewRootImpl$DJd0VUYJgsebcnSohO6h8zc_ONI.run:6 android.os.Handler.handleCallback:938
2021-07-07 12:41:24.233 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: [DP] rdf()
2021-07-07 12:41:24.236 6996-6996/com.mrousavy.camera.example D/SurfaceControl: hide : mNativeObject = 483734692464 - sc.mNativeObject = 483197003296 - Surface(name=Surface(name=4bb92a9 InputMethod)/@0xbf6e7cf - animation-leash)/@0x1fdea18
2021-07-07 12:41:24.236 6996-6996/com.mrousavy.camera.example D/SurfaceControl: nativeSetFlags Done : Surface(name=Surface(name=4bb92a9 InputMethod)/@0xbf6e7cf - animation-leash)/@0x1fdea18
2021-07-07 12:41:24.237 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197020768 - Surface(name=Surface(name=61b8689 NavigationBar0)/@0x879a30 - animation-leash)/@0xd002c71 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 12:41:24.237 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197020768]
2021-07-07 12:41:24.237 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197020768]
2021-07-07 12:41:24.237 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197020656 - Surface(name=Surface(name=743ae47 StatusBar)/@0x5debcad - animation-leash)/@0x7038a56 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 12:41:24.237 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197020656]
2021-07-07 12:41:24.237 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197020656]
2021-07-07 12:41:24.270 6996-30742/com.mrousavy.camera.example W/libEGL: EGLNativeWindowType 0x71a0d065b0 disconnect failed
2021-07-07 12:41:24.270 6996-6996/com.mrousavy.camera.example D/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: dispatchDetachedFromWindow: reset blurmask
2021-07-07 12:41:24.271 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@583bb00[PopupWindow:6c0ac3d]: dispatchDetachedFromWindow
2021-07-07 12:41:24.272 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197009232 - Surface(name=PopupWindow:6c0ac3d$_6996)/@0x6e109fb / android.view.ViewRootImpl.destroySurface:2484 android.view.ViewRootImpl.dispatchDetachedFromWindow:5706 android.view.ViewRootImpl.doDie:9337 android.view.ViewRootImpl.die:9314
2021-07-07 12:41:24.272 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197009232]
2021-07-07 12:41:24.272 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197009232]
2021-07-07 12:41:24.274 6996-6996/com.mrousavy.camera.example D/InputTransport: Input channel destroyed: '19ff56a', fd=83
2021-07-07 12:41:24.279 6996-30806/com.mrousavy.camera.example D/SoLoader: About to load: libhermes.so
2021-07-07 12:41:24.279 6996-30806/com.mrousavy.camera.example D/SoLoader: libhermes.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-07-07 12:41:24.279 6996-30806/com.mrousavy.camera.example D/SoLoader: libhermes.so found on /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64
2021-07-07 12:41:24.279 6996-30806/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libhermes.so
2021-07-07 12:41:24.280 6996-30806/com.mrousavy.camera.example D/SoLoader: Loaded: libhermes.so
2021-07-07 12:41:24.280 6996-30806/com.mrousavy.camera.example D/SoLoader: About to load: libhermes-executor-debug.so
2021-07-07 12:41:24.280 6996-30806/com.mrousavy.camera.example D/SoLoader: libhermes-executor-debug.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-07-07 12:41:24.280 6996-30806/com.mrousavy.camera.example D/SoLoader: libhermes-executor-debug.so found on /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64
2021-07-07 12:41:24.280 6996-30806/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libhermes-executor-debug.so
2021-07-07 12:41:24.283 6996-30806/com.mrousavy.camera.example D/SoLoader: Loaded: libhermes-executor-debug.so
2021-07-07 12:41:24.298 6996-30806/com.mrousavy.camera.example D/SoLoader: About to load: libreactnativejni.so
2021-07-07 12:41:24.298 6996-30806/com.mrousavy.camera.example D/SoLoader: libreactnativejni.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-07-07 12:41:24.298 6996-30806/com.mrousavy.camera.example D/SoLoader: libreactnativejni.so found on /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64
2021-07-07 12:41:24.298 6996-30806/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libreactnativejni.so
2021-07-07 12:41:24.299 6996-30806/com.mrousavy.camera.example D/SoLoader: Loaded: libreactnativejni.so
2021-07-07 12:41:26.352 6996-30807/com.mrousavy.camera.example I/ReactNativeJNI: Inspector::Inspector transitioning to initial state RunningDetached
2021-07-07 12:41:26.380 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDialogPickerManager
2021-07-07 12:41:26.385 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode
2021-07-07 12:41:26.388 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager
2021-07-07 12:41:26.389 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDropdownPickerManager
2021-07-07 12:41:26.389 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollViewManager
2021-07-07 12:41:26.392 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollContainerViewManager
2021-07-07 12:41:26.393 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager
2021-07-07 12:41:26.394 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode
2021-07-07 12:41:26.395 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager
2021-07-07 12:41:26.397 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager
2021-07-07 12:41:26.398 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager$ReactSliderShadowNode
2021-07-07 12:41:26.399 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
2021-07-07 12:41:26.400 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
2021-07-07 12:41:26.401 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager
2021-07-07 12:41:26.402 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager
2021-07-07 12:41:26.402 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode
2021-07-07 12:41:26.403 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.image.ReactImageManager
2021-07-07 12:41:26.404 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ReactModalHostManager
2021-07-07 12:41:26.405 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ModalHostShadowNode
2021-07-07 12:41:26.405 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager
2021-07-07 12:41:26.405 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextShadowNode
2021-07-07 12:41:26.406 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
2021-07-07 12:41:26.409 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode
2021-07-07 12:41:26.411 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager
2021-07-07 12:41:26.412 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode
2021-07-07 12:41:26.413 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.view.ReactViewManager
2021-07-07 12:41:26.414 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager
2021-07-07 12:41:26.415 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextShadowNode
2021-07-07 12:41:26.415 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.unimplementedview.ReactUnimplementedViewManager
2021-07-07 12:41:26.415 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.cmcewen.blurview.BlurViewManager
2021-07-07 12:41:26.416 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.slider.ReactSliderManager
2021-07-07 12:41:26.417 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.slider.ReactSliderManager$ReactSliderShadowNode
2021-07-07 12:41:26.417 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.swmansion.gesturehandler.react.RNGestureHandlerRootViewManager
2021-07-07 12:41:26.417 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.swmansion.gesturehandler.react.RNGestureHandlerButtonViewManager
2021-07-07 12:41:26.418 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.brentvatne.react.ReactVideoViewManager
2021-07-07 12:41:26.419 6996-30806/com.mrousavy.camera.example W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.mrousavy.camera.CameraViewManager
2021-07-07 12:41:26.426 6996-30806/com.mrousavy.camera.example D/SoLoader: About to load: libturbomodulejsijni.so
2021-07-07 12:41:26.426 6996-30806/com.mrousavy.camera.example D/SoLoader: libturbomodulejsijni.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-07-07 12:41:26.426 6996-30806/com.mrousavy.camera.example D/SoLoader: libturbomodulejsijni.so found on /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64
2021-07-07 12:41:26.426 6996-30806/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libturbomodulejsijni.so
2021-07-07 12:41:26.427 6996-30806/com.mrousavy.camera.example D/SoLoader: Loaded: libturbomodulejsijni.so
2021-07-07 12:41:26.438 6996-6996/com.mrousavy.camera.example W/unknown:ReactNative: Packager connection already open, nooping.
2021-07-07 12:41:26.464 6996-30808/com.mrousavy.camera.example D/SoLoader: init exiting
2021-07-07 12:41:26.486 6996-30827/com.mrousavy.camera.example I/VisionCamera: Initializing FrameProcessorRuntimeManager...
2021-07-07 12:41:26.486 6996-30827/com.mrousavy.camera.example I/VisionCamera: Initializing Vision JS-Runtime...
2021-07-07 12:41:26.487 6996-30827/com.mrousavy.camera.example I/VisionCamera: Initialized Vision JS-Runtime!
2021-07-07 12:41:26.487 6996-30827/com.mrousavy.camera.example I/FrameProcessorRuntime: Installing Frame Processor Plugins...
2021-07-07 12:41:26.487 6996-30827/com.mrousavy.camera.example I/VisionCamera: Installing Frame Processor Plugin "__example_plugin"...
2021-07-07 12:41:26.487 6996-30827/com.mrousavy.camera.example I/FrameProcessorRuntime: Successfully installed 1 Frame Processor Plugins!
2021-07-07 12:41:26.575 6996-30807/com.mrousavy.camera.example I/ReactNativeJNI: received didPause for reason: 0 in state: RunningDetached
2021-07-07 12:41:26.657 6996-30807/com.mrousavy.camera.example D/SoLoader: About to load: libreactnativeblob.so
2021-07-07 12:41:26.657 6996-30807/com.mrousavy.camera.example D/SoLoader: libreactnativeblob.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-07-07 12:41:26.658 6996-30807/com.mrousavy.camera.example D/SoLoader: libreactnativeblob.so found on /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64
2021-07-07 12:41:26.658 6996-30807/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libreactnativeblob.so
2021-07-07 12:41:26.658 6996-30807/com.mrousavy.camera.example D/SoLoader: Loaded: libreactnativeblob.so
2021-07-07 12:41:26.687 6996-30808/com.mrousavy.camera.example I/WebViewFactory: Loading com.google.android.webview version 91.0.4472.120 (code 447212034)
2021-07-07 12:41:26.707 6996-30808/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (greylist, reflection, allowed)
2021-07-07 12:41:26.707 6996-30808/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (greylist, reflection, allowed)
2021-07-07 12:41:26.708 6996-30808/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (greylist, reflection, allowed)
2021-07-07 12:41:26.708 6996-30808/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (greylist, reflection, allowed)
2021-07-07 12:41:26.708 6996-30808/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (greylist, reflection, allowed)
2021-07-07 12:41:26.723 6996-30808/com.mrousavy.camera.example I/cr_LibraryLoader: Loaded native library version number "91.0.4472.120"
2021-07-07 12:41:26.723 6996-30808/com.mrousavy.camera.example I/cr_CachingUmaRecorder: Flushed 5 samples from 5 histograms.
2021-07-07 12:41:26.965 6996-30807/com.mrousavy.camera.example I/VisionCamera: Installing JSI bindings...
2021-07-07 12:41:26.965 6996-30807/com.mrousavy.camera.example I/VisionCamera: Finished installing JSI bindings!
2021-07-07 12:41:27.352 6996-6996/com.mrousavy.camera.example D/SoLoader: About to load: libyoga.so
2021-07-07 12:41:27.352 6996-6996/com.mrousavy.camera.example D/SoLoader: libyoga.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-07-07 12:41:27.352 6996-6996/com.mrousavy.camera.example D/SoLoader: libyoga.so found on /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64
2021-07-07 12:41:27.352 6996-6996/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libyoga.so
2021-07-07 12:41:27.354 6996-6996/com.mrousavy.camera.example D/SoLoader: Loaded: libyoga.so
2021-07-07 12:41:27.358 6996-30807/com.mrousavy.camera.example I/ReactNativeJS: Running "CameraPage" with {"initialProps":{"componentId":"Component1"},"rootTag":1}
2021-07-07 12:41:27.401 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197018976 - Surface(name=com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity$_6996)/@0xffc47bf / android.view.SurfaceControl.assignNativeObject:567 android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1810 android.view.ViewRootImpl.relayoutWindow:9005
2021-07-07 12:41:27.401 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197018976]
2021-07-07 12:41:27.401 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197018976]
2021-07-07 12:41:27.402 6996-6996/com.mrousavy.camera.example I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x7aaf6e8 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-07-07 12:41:27.403 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197003296 - Surface(name=Surface(name=4bb92a9 InputMethod)/@0xbf6e7cf - animation-leash)/@0x1fdea18 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154
2021-07-07 12:41:27.403 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197003296]
2021-07-07 12:41:27.403 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197003296]
2021-07-07 12:41:27.403 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197006992 - Surface(name=Surface(name=61b8689 NavigationBar0)/@0x879a30 - animation-leash)/@0x900ee8c / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 12:41:27.403 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197006992]
2021-07-07 12:41:27.403 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197006992]
2021-07-07 12:41:27.403 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197006432 - Surface(name=Surface(name=743ae47 StatusBar)/@0x5debcad - animation-leash)/@0xa5c69d5 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 12:41:27.403 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197006432]
2021-07-07 12:41:27.403 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197006432]
2021-07-07 12:41:27.403 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)0 dur=4 res=0x1 s={true 488028819472} ch=false fn=3
2021-07-07 12:41:27.404 6996-6996/com.mrousavy.camera.example I/DecorView: [INFO] isPopOver=false, config=true
2021-07-07 12:41:27.404 6996-6996/com.mrousavy.camera.example I/DecorView: updateCaptionType >> DecorView@30de41e[MainActivity], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
2021-07-07 12:41:27.404 6996-6996/com.mrousavy.camera.example D/DecorView: setCaptionType = 0, this = DecorView@30de41e[MainActivity]
2021-07-07 12:41:27.410 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: MSG_RESIZED_REPORT: frame=(0,0,1080,2280) ci=(0,85,0,126) vi=(0,85,0,126) or=1
2021-07-07 12:41:27.410 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:10957 android.view.ViewRootImpl.access$1200:256 android.view.ViewRootImpl$ViewRootHandler.handleMessage:6101
2021-07-07 12:41:27.431 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197050448 - Surface(name=com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity$_6996)/@0xffc47bf / android.view.SurfaceControl.assignNativeObject:567 android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1810 android.view.ViewRootImpl.relayoutWindow:9005
2021-07-07 12:41:27.431 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197050448]
2021-07-07 12:41:27.431 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197050448]
2021-07-07 12:41:27.431 6996-6996/com.mrousavy.camera.example I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x7aaf6e8 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-07-07 12:41:27.432 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197042944 - Surface(name=Surface(name=4bb92a9 InputMethod)/@0xbf6e7cf - animation-leash)/@0x5146778 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154
2021-07-07 12:41:27.432 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197042944]
2021-07-07 12:41:27.432 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197042944]
2021-07-07 12:41:27.432 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197042496 - Surface(name=Surface(name=61b8689 NavigationBar0)/@0x879a30 - animation-leash)/@0x6ce51 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 12:41:27.432 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197042496]
2021-07-07 12:41:27.432 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197042496]
2021-07-07 12:41:27.433 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197018976 - Surface(name=Surface(name=743ae47 StatusBar)/@0x5debcad - animation-leash)/@0x968b6b6 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 12:41:27.433 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197018976]
2021-07-07 12:41:27.433 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197018976]
2021-07-07 12:41:27.433 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)0 dur=10 res=0x1 s={true 488028819472} ch=false fn=4
2021-07-07 12:41:27.434 6996-30742/com.mrousavy.camera.example W/libEGL: EGLNativeWindowType 0x71a0c8d020 disconnect failed
2021-07-07 12:41:27.435 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: [DP] pd() Asnyc report
2021-07-07 12:41:27.438 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$performDraw$1$ViewRootImpl:4668 android.view.-$$Lambda$ViewRootImpl$DJd0VUYJgsebcnSohO6h8zc_ONI.run:6 android.os.Handler.handleCallback:938
2021-07-07 12:41:27.438 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: [DP] rdf()
2021-07-07 12:41:27.507 6996-30807/com.mrousavy.camera.example I/ReactNativeJS: re-rendering camera page without active camera
2021-07-07 12:41:27.616 6996-30807/com.mrousavy.camera.example I/ReactNativeJS: devices undefined
2021-07-07 12:41:27.616 6996-30807/com.mrousavy.camera.example I/ReactNativeJS: deviceundefined
2021-07-07 12:41:27.648 6996-6996/com.mrousavy.camera.example D/ExtensionVersionImpl: checkApiVersion : cameraX version 1.1.0, vendor version 1.1.0
2021-07-07 12:41:27.648 6996-6996/com.mrousavy.camera.example D/ExtenderVersion: Selected vendor runtime: 1.1.0
2021-07-07 12:41:27.650 6996-6996/com.mrousavy.camera.example D/InitializerImpl: init, app version = 1.1.0
2021-07-07 12:41:27.654 6996-6996/com.mrousavy.camera.example D/ExtensionsManager: Successfully initialized extensions
2021-07-07 12:41:27.665 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: Connecting to camera service
2021-07-07 12:41:27.665 6996-6996/com.mrousavy.camera.example I/ReactNative: [GESTURE HANDLER] Initialize gesture handler for root view com.reactnativenavigation.react.ReactView{6638863 V.E...... ......ID 0,0-1080,2154 #1}
2021-07-07 12:41:27.668 6996-30843/com.mrousavy.camera.example D/VendorTagDescriptor: addVendorDescriptor: vendor tag id 3854507339 added
2021-07-07 12:41:27.674 6996-30732/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.supervaisor.dashcam API Level 2
2021-07-07 12:41:27.675 6996-30715/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2
2021-07-07 12:41:27.676 6996-30715/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 2 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2
2021-07-07 12:41:27.676 6996-30715/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 20 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.sec.android.app.camera API Level 2
2021-07-07 12:41:27.677 6996-30715/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 21 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2
2021-07-07 12:41:27.677 6996-30715/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 23 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2
2021-07-07 12:41:27.684 6996-30715/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 3 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client com.sec.android.app.camera API Level 2
2021-07-07 12:41:27.685 6996-30715/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 4 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.lvonasek.arcore3dscannerpro API Level 2
2021-07-07 12:41:27.686 6996-30715/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 40 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2
2021-07-07 12:41:27.686 6996-30715/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 50 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2
2021-07-07 12:41:27.689 6996-30715/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 52 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2
2021-07-07 12:41:27.690 6996-30715/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 80 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2
2021-07-07 12:41:27.691 6996-30732/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 91 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client com.samsung.android.bio.face.service API Level 2
2021-07-07 12:41:27.698 6996-30843/com.mrousavy.camera.example D/CameraRepository: Added camera: 0
2021-07-07 12:41:27.712 6996-30843/com.mrousavy.camera.example I/Camera2CameraInfo: Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_FULL
2021-07-07 12:41:27.712 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_PRESENT
2021-07-07 12:41:27.713 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 1 status STATUS_PRESENT
2021-07-07 12:41:27.713 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 2 status STATUS_PRESENT
2021-07-07 12:41:27.713 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 3 status STATUS_PRESENT
2021-07-07 12:41:27.713 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 4 status STATUS_PRESENT
2021-07-07 12:41:27.713 6996-30843/com.mrousavy.camera.example D/CameraRepository: Added camera: 1
2021-07-07 12:41:27.714 6996-30843/com.mrousavy.camera.example I/Camera2CameraInfo: Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED
2021-07-07 12:41:27.714 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_PRESENT
2021-07-07 12:41:27.714 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 1 status STATUS_PRESENT
2021-07-07 12:41:27.715 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 2 status STATUS_PRESENT
2021-07-07 12:41:27.715 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 3 status STATUS_PRESENT
2021-07-07 12:41:27.715 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 4 status STATUS_PRESENT
2021-07-07 12:41:27.715 6996-30843/com.mrousavy.camera.example D/CameraRepository: Added camera: 2
2021-07-07 12:41:27.715 6996-30843/com.mrousavy.camera.example I/Camera2CameraInfo: Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED
2021-07-07 12:41:27.715 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_PRESENT
2021-07-07 12:41:27.715 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 1 status STATUS_PRESENT
2021-07-07 12:41:27.716 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 2 status STATUS_PRESENT
2021-07-07 12:41:27.716 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 3 status STATUS_PRESENT
2021-07-07 12:41:27.716 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 4 status STATUS_PRESENT
2021-07-07 12:41:27.716 6996-30843/com.mrousavy.camera.example D/CameraRepository: Added camera: 3
2021-07-07 12:41:27.716 6996-30843/com.mrousavy.camera.example I/Camera2CameraInfo: Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED
2021-07-07 12:41:27.716 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_PRESENT
2021-07-07 12:41:27.717 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 1 status STATUS_PRESENT
2021-07-07 12:41:27.717 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 2 status STATUS_PRESENT
2021-07-07 12:41:27.717 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 3 status STATUS_PRESENT
2021-07-07 12:41:27.717 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 4 status STATUS_PRESENT
2021-07-07 12:41:27.717 6996-30843/com.mrousavy.camera.example D/CameraRepository: Added camera: 4
2021-07-07 12:41:27.717 6996-30843/com.mrousavy.camera.example I/Camera2CameraInfo: Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED
2021-07-07 12:41:27.717 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_PRESENT
2021-07-07 12:41:27.718 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 1 status STATUS_PRESENT
2021-07-07 12:41:27.718 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 2 status STATUS_PRESENT
2021-07-07 12:41:27.718 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 3 status STATUS_PRESENT
2021-07-07 12:41:27.718 6996-30843/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 4 status STATUS_PRESENT
2021-07-07 12:41:27.718 6996-30843/com.mrousavy.camera.example D/CameraValidator: Verifying camera lens facing on d2s, lensFacingInteger: null
2021-07-07 12:41:27.747 6996-6996/com.mrousavy.camera.example D/HdrImageCaptureExtenderImpl: isExtensionAvailable
2021-07-07 12:41:27.748 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableFeature(mode 202) : true
2021-07-07 12:41:27.748 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableDynamicShotInfo : true
2021-07-07 12:41:27.748 6996-6996/com.mrousavy.camera.example D/HdrProcessor: isProcessorAvailable(cameraId 0) : true
2021-07-07 12:41:27.748 6996-6996/com.mrousavy.camera.example D/NightImageCaptureExtenderImpl: isExtensionAvailable
2021-07-07 12:41:27.748 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableFeature(mode 201) : true
2021-07-07 12:41:27.749 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableDynamicShotInfo : true
2021-07-07 12:41:27.749 6996-6996/com.mrousavy.camera.example D/NightProcessor: isProcessorAvailable(cameraId 0) : true
2021-07-07 12:41:27.800 6996-6996/com.mrousavy.camera.example D/HdrImageCaptureExtenderImpl: isExtensionAvailable
2021-07-07 12:41:27.801 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableFeature(mode 202) : true
2021-07-07 12:41:27.801 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableDynamicShotInfo : true
2021-07-07 12:41:27.801 6996-6996/com.mrousavy.camera.example D/HdrProcessor: isProcessorAvailable(cameraId 1) : true
2021-07-07 12:41:27.801 6996-6996/com.mrousavy.camera.example D/NightImageCaptureExtenderImpl: isExtensionAvailable
2021-07-07 12:41:27.801 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableFeature(mode 201) : true
2021-07-07 12:41:27.801 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableDynamicShotInfo : true
2021-07-07 12:41:27.802 6996-6996/com.mrousavy.camera.example D/NightProcessor: isProcessorAvailable(cameraId 1) : true
2021-07-07 12:41:27.844 6996-6996/com.mrousavy.camera.example D/HdrImageCaptureExtenderImpl: isExtensionAvailable
2021-07-07 12:41:27.845 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableFeature(mode 202) : true
2021-07-07 12:41:27.845 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableDynamicShotInfo : true
2021-07-07 12:41:27.845 6996-6996/com.mrousavy.camera.example D/HdrProcessor: isProcessorAvailable(cameraId 2) : true
2021-07-07 12:41:27.845 6996-6996/com.mrousavy.camera.example D/NightImageCaptureExtenderImpl: isExtensionAvailable
2021-07-07 12:41:27.845 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableFeature(mode 201) : true
2021-07-07 12:41:27.846 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableDynamicShotInfo : true
2021-07-07 12:41:27.846 6996-6996/com.mrousavy.camera.example D/NightProcessor: isProcessorAvailable(cameraId 2) : true
2021-07-07 12:41:27.887 6996-6996/com.mrousavy.camera.example D/HdrImageCaptureExtenderImpl: isExtensionAvailable
2021-07-07 12:41:27.887 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableFeature(mode 202) : true
2021-07-07 12:41:27.887 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableDynamicShotInfo : true
2021-07-07 12:41:27.887 6996-6996/com.mrousavy.camera.example D/HdrProcessor: isProcessorAvailable(cameraId 3) : true
2021-07-07 12:41:27.887 6996-6996/com.mrousavy.camera.example D/NightImageCaptureExtenderImpl: isExtensionAvailable
2021-07-07 12:41:27.888 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableFeature(mode 201) : true
2021-07-07 12:41:27.888 6996-6996/com.mrousavy.camera.example D/CameraCharacteristicsUtils: isAvailableDynamicShotInfo : true
2021-07-07 12:41:27.888 6996-6996/com.mrousavy.camera.example D/NightProcessor: isProcessorAvailable(cameraId 3) : true
2021-07-07 12:41:27.925 6996-6996/com.mrousavy.camera.example W/System.err: java.lang.NullPointerException
2021-07-07 12:41:27.925 6996-6996/com.mrousavy.camera.example W/System.err: at com.mrousavy.camera.CameraViewModule$getAvailableCameraDevices$1.invokeSuspend(CameraViewModule.kt:160)
2021-07-07 12:41:27.925 6996-6996/com.mrousavy.camera.example W/System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-07-07 12:41:27.925 6996-6996/com.mrousavy.camera.example W/System.err: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2021-07-07 12:41:27.925 6996-6996/com.mrousavy.camera.example W/System.err: at android.os.Handler.handleCallback(Handler.java:938)
2021-07-07 12:41:27.925 6996-6996/com.mrousavy.camera.example W/System.err: at android.os.Handler.dispatchMessage(Handler.java:99)
2021-07-07 12:41:27.925 6996-6996/com.mrousavy.camera.example W/System.err: at android.os.Looper.loop(Looper.java:246)
2021-07-07 12:41:27.925 6996-6996/com.mrousavy.camera.example W/System.err: at android.app.ActivityThread.main(ActivityThread.java:8512)
2021-07-07 12:41:27.926 6996-6996/com.mrousavy.camera.example W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2021-07-07 12:41:27.926 6996-6996/com.mrousavy.camera.example W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
2021-07-07 12:41:27.926 6996-6996/com.mrousavy.camera.example W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
2021-07-07 12:41:28.746 6996-30708/com.mrousavy.camera.example I/.camera.exampl: WaitForGcToComplete blocked RunEmptyCheckpoint on ProfileSaver for 19.331ms
2021-07-07 12:41:29.967 6996-30807/com.mrousavy.camera.example W/ReactNativeJS: Possible Unhandled Promise Rejection (id: 0):
unknown/unknown: [unknown/unknown] An unknown camera error occured.
[unknown/unknown]: [unknown/unknown] An unknown camera error occured.
at construct (native)
at apply (native)
at _construct (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:118386:28)
at Wrapper (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:118339:64)
at construct (native)
at _createSuperInternal (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:118135:322)
at call (native)
at CameraError (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:118148:26)
at construct (native)
at _createSuperInternal (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:118135:322)
at apply (native)
at CameraRuntimeError (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:118203:27)
at tryParseNativeCameraError (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:118226:38)
at getAvailableCameraDevices$ (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:117201:102)
at call (native)
at tryCatch (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:117446:23)
at invoke (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:117619:32)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:117489:30)
at call (native)
at tryCatch (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:117446:23)
at invoke (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:117519:30)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:117531:21)
at tryCallOne (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:30482:16)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:30583:27)
at apply (native)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:31111:26)
at _callTimer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:30999:17)
at _callImmediatesPass (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:31038:17)
at callImmediates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:31256:33)
at __callImmediates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.mrousavy.camera.example&modulesOnly=false&runModule=true:8072:35)
2021-07-07 12:41:29.967 6996-30807/com.mrousavy.camera.example W/ReactNativeJS: at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.
2021-07-07 12:41:30.103 6996-30853/com.mrousavy.camera.example D/SoLoader: About to load: libimagepipeline.so
2021-07-07 12:41:30.104 6996-30853/com.mrousavy.camera.example D/SoLoader: libimagepipeline.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-07-07 12:41:30.104 6996-30853/com.mrousavy.camera.example D/SoLoader: libimagepipeline.so found on /data/app/~~-z_4R8Pzz5Mzgaf5qRYxYw==/com.mrousavy.camera.example-nw7VZFdPxP4wyn44OUVcTg==/lib/arm64
2021-07-07 12:41:30.104 6996-30853/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libimagepipeline.so
2021-07-07 12:41:30.107 6996-30853/com.mrousavy.camera.example D/SoLoader: Loaded: libimagepipeline.so
2021-07-07 12:42:15.114 6996-6996/com.mrousavy.camera.example D/InputMethodManager: prepareNavigationBarInfo() DecorView@30de41e[MainActivity]
2021-07-07 12:42:15.114 6996-6996/com.mrousavy.camera.example D/InputMethodManager: getNavigationBarColor() -855310
2021-07-07 12:42:15.115 6996-6996/com.mrousavy.camera.example V/InputMethodManager: Starting input: tba=com.mrousavy.camera.example ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
2021-07-07 12:42:15.115 6996-6996/com.mrousavy.camera.example D/InputMethodManager: startInputInner - Id : 0
2021-07-07 12:42:15.115 6996-6996/com.mrousavy.camera.example I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
2021-07-07 12:42:15.118 6996-6996/com.mrousavy.camera.example D/InputTransport: Input channel constructed: 'ClientS', fd=107
2021-07-07 12:42:15.118 6996-6996/com.mrousavy.camera.example D/InputTransport: Input channel destroyed: 'ClientS', fd=87
2021-07-07 12:42:15.473 6996-6996/com.mrousavy.camera.example D/SensorManager: unregisterListener :: com.facebook.react.common.ShakeDetector@6c6c5c3
2021-07-07 12:42:15.485 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: stopped(true) old=false
2021-07-07 12:42:15.488 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197003296 - Surface(name=com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity$_6996)/@0xffc47bf / android.view.ViewRootImpl.destroySurface:2484 android.view.ViewRootImpl.setWindowStopped:2332 android.view.WindowManagerGlobal.setStoppedState:741 android.app.Activity.performStop:8423
2021-07-07 12:42:15.488 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197003296]
2021-07-07 12:42:15.488 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197003296]
2021-07-07 12:42:15.550 6996-30742/com.mrousavy.camera.example W/libEGL: EGLNativeWindowType 0x71a0c8d020 disconnect failed
2021-07-07 12:42:15.558 6996-6996/com.mrousavy.camera.example I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0xffc47bf / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1810 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-07-07 12:42:15.570 6996-6996/com.mrousavy.camera.example I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x7aaf6e8 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-07-07 12:42:15.574 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197179808 - Surface(name=Surface(name=4bb92a9 InputMethod)/@0xbf6e7cf - animation-leash)/@0x103643c / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154
2021-07-07 12:42:15.575 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197179808]
2021-07-07 12:42:15.575 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197179808]
2021-07-07 12:42:15.576 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197042160 - Surface(name=Surface(name=61b8689 NavigationBar0)/@0x879a30 - animation-leash)/@0x96425c5 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 12:42:15.576 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197042160]
2021-07-07 12:42:15.576 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197042160]
2021-07-07 12:42:15.577 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197050448 - Surface(name=Surface(name=743ae47 StatusBar)/@0x5debcad - animation-leash)/@0xe844b1a / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 12:42:15.577 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197050448]
2021-07-07 12:42:15.577 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197050448]
2021-07-07 12:42:15.578 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)8 dur=18 res=0x5 s={false 0} ch=false fn=-1
2021-07-07 12:42:15.613 6996-30807/com.mrousavy.camera.example I/ReactNativeJS: re-rendering camera page without active camera
2021-07-07 12:42:15.637 6996-30807/com.mrousavy.camera.example I/ReactNativeJNI: Memory warning (pressure level: TRIM_MEMORY_UI_HIDDEN) received by JS VM, ignoring because it's non-severe
2021-07-07 12:42:15.670 6996-6996/com.mrousavy.camera.example I/ViewRootImpl@7b1ebda[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
2021-07-07 12:42:15.842 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197266608 - Surface(name=Surface(name=4bb92a9 InputMethod)/@0xbf6e7cf - animation-leash)/@0xd52164b / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154
2021-07-07 12:42:15.842 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197266608]
2021-07-07 12:42:15.842 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197266608]
2021-07-07 12:42:15.843 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197276352 - Surface(name=Surface(name=61b8689 NavigationBar0)/@0x879a30 - animation-leash)/@0x7c08828 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 12:42:15.843 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197276352]
2021-07-07 12:42:15.843 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197276352]
2021-07-07 12:42:15.843 6996-6996/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197003296 - Surface(name=Surface(name=743ae47 StatusBar)/@0x5debcad - animation-leash)/@0xd665941 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 12:42:15.843 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197003296]
2021-07-07 12:42:15.843 6996-6996/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197003296]
Why did you not fill out the issue template I explicitly created for such cases? now I have to ask you for every detail.
What VisionCamera version are you using?
Well seems the code block formatting hid the part where I wrote that it's the most current example from react-native-vision-camera. And seeing as it is from the most current example any other info than logs seemed extraneous 🙂
Oh I see. So in the stacktrace I can see that there is a NullPointerException being raised here: https://github.com/mrousavy/react-native-vision-camera/blob/0bb9ba1e8a49e945530b8a7d733ba26aa57b3279/android/src/main/java/com/mrousavy/camera/CameraViewModule.kt#L160
The documentation for CONTROL_AVAILABLE_VIDEO_STABILIZATION_MODES
literally says that this key is available on all devices (and therefore not null), wtf?
Can you try again with the current master (3007cd9) to double-check the line numbers in the stacktrace? If it's still CameraViewModule line 160
then that's weird...
let me know if https://github.com/mrousavy/react-native-vision-camera/pull/259 fixes the issue.
Not crashing anymore just black camera preview screen. Pressed the camera flip button twice just in case as well. Logcat below:
2021-07-07 15:24:13.046 24388-24388/com.mrousavy.camera.example I/ViewRootImpl@859bef[MainActivity]: ViewPostIme pointer 0
2021-07-07 15:24:13.112 24388-24388/com.mrousavy.camera.example I/ViewRootImpl@859bef[MainActivity]: ViewPostIme pointer 1
2021-07-07 15:24:13.131 24388-26604/com.mrousavy.camera.example I/ReactNativeJS: Re-rendering camera page with active camera. Device: "back (0)" (2288x1080 @ 60fps)
2021-07-07 15:24:13.230 24388-24388/com.mrousavy.camera.example I/CameraView: Configuring session...
2021-07-07 15:24:13.231 24388-24388/com.mrousavy.camera.example I/CameraView: Configuring session with Camera ID 0 and custom format...
2021-07-07 15:24:13.236 24388-24388/com.mrousavy.camera.example I/CameraView: Using custom format - photo: 2288x1080, video: 2288x1080 @ 60 FPS
2021-07-07 15:24:13.237 24388-24388/com.mrousavy.camera.example I/CameraView: Setting AE_TARGET_FPS_RANGE to 60-60, and SENSOR_FRAME_DURATION to 0
2021-07-07 15:24:13.237 24388-24388/com.mrousavy.camera.example I/VideoCapture: stopRecording
2021-07-07 15:24:13.239 24388-26655/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@138919f[id=1]} Use case androidx.camera.core.VideoCapture@3ac860b UPDATED
2021-07-07 15:24:13.239 24388-24388/com.mrousavy.camera.example D/DeferrableSurface: surface closed, useCount=1 closed=true androidx.camera.core.SurfaceRequest$2@9c89232
2021-07-07 15:24:13.239 24388-24388/com.mrousavy.camera.example I/VideoCapture: stopRecording
2021-07-07 15:24:13.239 24388-26655/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.VideoCapture-e542a522-2564-4243-8e68-88e72407c5ab61638155, androidx.camera.core.ImageCapture-7721d5c2-f63e-4dac-ad21-0a9e502caff8147758312, androidx.camera.core.Preview-8153a298-1947-43fb-b74e-9e24b76d854e109552090] for camera: 1
2021-07-07 15:24:13.240 24388-26765/com.mrousavy.camera.example I/CCodec: state->set(RELEASING)
2021-07-07 15:24:13.240 24388-26655/com.mrousavy.camera.example D/CaptureSession: Attempting to submit CaptureRequest after setting
2021-07-07 15:24:13.240 24388-26655/com.mrousavy.camera.example D/CaptureSession: Issuing request for session.
2021-07-07 15:24:13.242 24388-26840/com.mrousavy.camera.example I/CCodec: [c2.android.aac.encoder] release(1)
2021-07-07 15:24:13.243 24388-26840/com.mrousavy.camera.example I/CCodec: state->set(RELEASED)
2021-07-07 15:24:13.243 24388-26765/com.mrousavy.camera.example I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
2021-07-07 15:24:13.244 24388-26765/com.mrousavy.camera.example I/MediaCodec: Codec shutdown complete
2021-07-07 15:24:13.246 24388-24388/com.mrousavy.camera.example D/DeferrableSurface: surface closed, useCount=1 closed=true androidx.camera.core.impl.ImmediateSurface@3057cdf
2021-07-07 15:24:13.247 24388-24388/com.mrousavy.camera.example D/DeferrableSurface: surface closed, useCount=1 closed=true androidx.camera.core.impl.ImmediateSurface@1ef07fb
2021-07-07 15:24:13.253 24388-24388/com.mrousavy.camera.example I/CameraView: Attaching 2 use-cases...
2021-07-07 15:24:13.257 24388-26655/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@138919f[id=1]} Use cases [Preview:androidx.camera.core.Preview-8153a298-1947-43fb-b74e-9e24b76d854e, androidx.camera.core.VideoCapture@3ac860b, ImageCapture:androidx.camera.core.ImageCapture-7721d5c2-f63e-4dac-ad21-0a9e502caff8] now DETACHED for camera
2021-07-07 15:24:13.257 24388-26655/com.mrousavy.camera.example D/UseCaseAttachState: All use case: [] for camera: 1
2021-07-07 15:24:13.257 24388-26655/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@138919f[id=1]} Resetting Capture Session
2021-07-07 15:24:13.258 24388-26655/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@138919f[id=1]} Releasing session in state OPENED
2021-07-07 15:24:13.258 24388-26655/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 1
2021-07-07 15:24:13.259 24388-26655/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 1
2021-07-07 15:24:13.259 24388-26655/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@138919f[id=1]} Closing camera.
2021-07-07 15:24:13.259 24388-26655/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@138919f[id=1]} Transitioning camera internal state: OPENED --> CLOSING
2021-07-07 15:24:13.261 24388-26655/com.mrousavy.camera.example D/CameraStateRegistry: Recalculating open cameras:
Camera State
-------------------------------------------------------------------
Camera@b1901d8[id=2] UNKNOWN
Camera@bfcc76d[id=3] UNKNOWN
Camera@138919f[id=1] CLOSING
Camera@409287[id=4] UNKNOWN
Camera@9ea3966[id=0] CLOSED
-------------------------------------------------------------------
Open count: 1 (Max allowed: 1)
2021-07-07 15:24:13.261 24388-26655/com.mrousavy.camera.example D/CameraStateMachine: New public camera state CameraState{type=CLOSING, error=null} from CLOSING and null
2021-07-07 15:24:13.261 24388-26655/com.mrousavy.camera.example D/CameraStateMachine: Publishing new public camera state CameraState{type=CLOSING, error=null}
2021-07-07 15:24:13.261 24388-26655/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@138919f[id=1]} Resetting Capture Session
2021-07-07 15:24:13.261 24388-26655/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@138919f[id=1]} Releasing session in state CLOSING
2021-07-07 15:24:13.263 24388-26655/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@138919f[id=1]} Use case androidx.camera.core.VideoCapture@3ac860b UPDATED
2021-07-07 15:24:13.263 24388-26655/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 1
2021-07-07 15:24:13.263 24388-24388/com.mrousavy.camera.example D/DeferrableSurface: Surface created[total_surfaces=4, used_surfaces=3](androidx.camera.core.SurfaceRequest$2@1d76031}
2021-07-07 15:24:13.264 24388-26655/com.mrousavy.camera.example D/CaptureSession: onSessionFinished()
2021-07-07 15:24:13.269 24388-24388/com.mrousavy.camera.example I/ACodec: [] Now uninitialized
2021-07-07 15:24:13.269 24388-26846/com.mrousavy.camera.example I/ACodec: [] onAllocateComponent
2021-07-07 15:24:13.270 24388-26846/com.mrousavy.camera.example I/OMXClient: IOmx service obtained
2021-07-07 15:24:13.289 24388-26846/com.mrousavy.camera.example I/ACodec: [OMX.Exynos.AVC.Encoder] Now Loaded
2021-07-07 15:24:13.293 24388-26850/com.mrousavy.camera.example I/CCodec: state->set(ALLOCATING)
2021-07-07 15:24:13.293 24388-26850/com.mrousavy.camera.example I/CCodec: allocate(c2.android.aac.encoder)
2021-07-07 15:24:13.295 24388-26850/com.mrousavy.camera.example I/CCodec: setting up 'default' as default (vendor) store
2021-07-07 15:24:13.296 24388-26850/com.mrousavy.camera.example I/CCodec: Created component [c2.android.aac.encoder]
2021-07-07 15:24:13.296 24388-26850/com.mrousavy.camera.example I/CCodec: state->set(ALLOCATED)
2021-07-07 15:24:13.296 24388-26850/com.mrousavy.camera.example D/CCodecConfig: read media type: audio/mp4a-latm
2021-07-07 15:24:13.297 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
2021-07-07 15:24:13.297 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
2021-07-07 15:24:13.297 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
2021-07-07 15:24:13.297 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
2021-07-07 15:24:13.297 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
2021-07-07 15:24:13.297 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
2021-07-07 15:24:13.297 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
2021-07-07 15:24:13.298 24388-26850/com.mrousavy.camera.example I/CCodecConfig: query failed after returning 9 values (BAD_INDEX)
2021-07-07 15:24:13.298 24388-26850/com.mrousavy.camera.example D/CCodecConfig: c2 config diff is Dict {
c2::u32 coded.bitrate.value = 64000
c2::u32 coded.pl.level = 0
c2::u32 coded.pl.profile = 8192
c2::u32 coding.aac-sbr-mode.value = 3
c2::u32 input.buffers.max-size.value = 2048
c2::u32 input.delay.value = 0
string input.media-type.value = "audio/raw"
string output.media-type.value = "audio/mp4a-latm"
c2::u32 raw.channel-count.value = 1
c2::u32 raw.sample-rate.value = 44100
}
2021-07-07 15:24:13.299 24388-26846/com.mrousavy.camera.example I/ACodec: [OMX.Exynos.AVC.Encoder] Now uninitialized
2021-07-07 15:24:13.299 24388-26846/com.mrousavy.camera.example I/ACodec: [] Now kWhatShutdownCompleted event : 8307
2021-07-07 15:24:13.299 24388-26844/com.mrousavy.camera.example I/MediaCodec: Codec shutdown complete
2021-07-07 15:24:13.301 24388-24388/com.mrousavy.camera.example I/ACodec: [] Now uninitialized
2021-07-07 15:24:13.301 24388-26846/com.mrousavy.camera.example I/ACodec: [] onAllocateComponent
2021-07-07 15:24:13.301 24388-26846/com.mrousavy.camera.example I/OMXClient: IOmx service obtained
2021-07-07 15:24:13.320 24388-26846/com.mrousavy.camera.example I/ACodec: [OMX.Exynos.AVC.Encoder] Now Loaded
2021-07-07 15:24:13.322 24388-26846/com.mrousavy.camera.example I/ACodec: app-pid(24388)
2021-07-07 15:24:13.323 24388-26846/com.mrousavy.camera.example W/OMXUtils: do not know color format 0x7f000011 = 2130706449
2021-07-07 15:24:13.325 24388-26846/com.mrousavy.camera.example W/OMXUtils: do not know color format 0x10 = 16
2021-07-07 15:24:13.325 24388-26846/com.mrousavy.camera.example W/OMXUtils: do not know color format 0x7f00a000 = 2130747392
2021-07-07 15:24:13.326 24388-26846/com.mrousavy.camera.example W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-07-07 15:24:13.327 24388-26846/com.mrousavy.camera.example I/ACodec: app-name : com.mrousavy.camera.example
2021-07-07 15:24:13.327 24388-26846/com.mrousavy.camera.example I/ACodec: Enable drop control
2021-07-07 15:24:13.331 24388-26846/com.mrousavy.camera.example I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level42]
2021-07-07 15:24:13.332 24388-26846/com.mrousavy.camera.example I/ACodec: Enable Perceptual Video Coding
2021-07-07 15:24:13.333 24388-26846/com.mrousavy.camera.example I/ACodec: Success set VideoMinQP(5/5/5) VideoMaxQP(50/50/50)
2021-07-07 15:24:13.333 24388-26846/com.mrousavy.camera.example I/ACodec: reconfigEncoder4OtherApps
2021-07-07 15:24:13.335 24388-26846/com.mrousavy.camera.example I/ACodec: [OMX.Exynos.AVC.Encoder] cannot encode HDR static metadata. Ignoring.
2021-07-07 15:24:13.335 24388-26846/com.mrousavy.camera.example I/ACodec: setupVideoEncoder succeeded
2021-07-07 15:24:13.335 24388-26846/com.mrousavy.camera.example I/ACodec: [OMX.Exynos.AVC.Encoder] configure, AMessage : AMessage(what = 'conf', target = 28) = {
int32_t color-format = 2130708361
int32_t i-frame-interval = 1
string mime = "video/avc"
int32_t width = 1920
int32_t bitrate = 8388608
int32_t frame-rate = 60
int32_t height = 1080
int32_t flags = 1
int32_t encoder = 1
}
2021-07-07 15:24:13.335 24388-26846/com.mrousavy.camera.example W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-07-07 15:24:13.338 24388-26689/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_IDLE for client com.mrousavy.camera.example API Level 2
2021-07-07 15:24:13.355 24388-24388/com.mrousavy.camera.example D/DeferrableSurface: Surface created[total_surfaces=5, used_surfaces=3](androidx.camera.core.impl.ImmediateSurface@d90ce6d}
2021-07-07 15:24:13.357 24388-26850/com.mrousavy.camera.example I/CCodec: state->set(RELEASING)
2021-07-07 15:24:13.357 24388-26856/com.mrousavy.camera.example I/CCodec: [c2.android.aac.encoder] release(1)
2021-07-07 15:24:13.361 24388-26856/com.mrousavy.camera.example I/CCodec: state->set(RELEASED)
2021-07-07 15:24:13.361 24388-26850/com.mrousavy.camera.example I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
2021-07-07 15:24:13.361 24388-26850/com.mrousavy.camera.example I/MediaCodec: Codec shutdown complete
2021-07-07 15:24:13.363 24388-26850/com.mrousavy.camera.example I/CCodec: state->set(ALLOCATING)
2021-07-07 15:24:13.363 24388-26850/com.mrousavy.camera.example I/CCodec: allocate(c2.android.aac.encoder)
2021-07-07 15:24:13.366 24388-26850/com.mrousavy.camera.example I/CCodec: setting up 'default' as default (vendor) store
2021-07-07 15:24:13.368 24388-26850/com.mrousavy.camera.example I/CCodec: Created component [c2.android.aac.encoder]
2021-07-07 15:24:13.368 24388-26850/com.mrousavy.camera.example I/CCodec: state->set(ALLOCATED)
2021-07-07 15:24:13.368 24388-26850/com.mrousavy.camera.example D/CCodecConfig: read media type: audio/mp4a-latm
2021-07-07 15:24:13.370 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
2021-07-07 15:24:13.370 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
2021-07-07 15:24:13.370 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
2021-07-07 15:24:13.370 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
2021-07-07 15:24:13.370 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
2021-07-07 15:24:13.370 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
2021-07-07 15:24:13.370 24388-26850/com.mrousavy.camera.example D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
2021-07-07 15:24:13.372 24388-26850/com.mrousavy.camera.example I/CCodecConfig: query failed after returning 9 values (BAD_INDEX)
2021-07-07 15:24:13.372 24388-26850/com.mrousavy.camera.example D/CCodecConfig: c2 config diff is Dict {
c2::u32 coded.bitrate.value = 64000
c2::u32 coded.pl.level = 0
c2::u32 coded.pl.profile = 8192
c2::u32 coding.aac-sbr-mode.value = 3
c2::u32 input.buffers.max-size.value = 2048
c2::u32 input.delay.value = 0
string input.media-type.value = "audio/raw"
string output.media-type.value = "audio/mp4a-latm"
c2::u32 raw.channel-count.value = 1
c2::u32 raw.sample-rate.value = 44100
}
2021-07-07 15:24:13.373 24388-26850/com.mrousavy.camera.example D/CCodec: [c2.android.aac.encoder] buffers are bound to CCodec for this session
2021-07-07 15:24:13.373 24388-26850/com.mrousavy.camera.example D/CCodec: can't get width
2021-07-07 15:24:13.373 24388-26850/com.mrousavy.camera.example D/CCodec: can't get height
2021-07-07 15:24:13.373 24388-26850/com.mrousavy.camera.example I/CCodec: appPid(24388) width(0) height(0)
2021-07-07 15:24:13.373 24388-26850/com.mrousavy.camera.example D/CCodecConfig: no c2 equivalents for aac-profile
2021-07-07 15:24:13.373 24388-26850/com.mrousavy.camera.example D/CCodecConfig: no c2 equivalents for flags
2021-07-07 15:24:13.374 24388-26850/com.mrousavy.camera.example D/CCodecConfig: no c2 equivalents for encoder
2021-07-07 15:24:13.375 24388-26850/com.mrousavy.camera.example D/CCodecConfig: c2 config diff is c2::u32 coded.bitrate.value = 256000
c2::u32 raw.channel-count.value = 2
c2::u32 raw.sample-rate.value = 48000
2021-07-07 15:24:13.375 24388-26850/com.mrousavy.camera.example W/Codec2Client: query -- param skipped: index = 1107298332.
2021-07-07 15:24:13.375 24388-26850/com.mrousavy.camera.example D/CCodec: setup formats input: AMessage(what = 0x00000000) = {
int32_t aac-sbr-mode = 3
int32_t channel-count = 2
int32_t max-input-size = 4096
string mime = "audio/raw"
int32_t sample-rate = 48000
} and output: AMessage(what = 0x00000000) = {
int32_t aac-sbr-mode = 3
int32_t bitrate = 256000
int32_t channel-count = 2
int32_t level = 0
int32_t max-bitrate = 256000
string mime = "audio/mp4a-latm"
int32_t profile = 2
int32_t sample-rate = 48000
}
2021-07-07 15:24:13.402 24388-24388/com.mrousavy.camera.example I/VideoCapture: source: 5 audioSampleRate: 48000 channelConfig: 12 audioFormat: 2 bufferSize: 7680
2021-07-07 15:24:13.403 24388-26659/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use case androidx.camera.core.VideoCapture@374cdc0 ACTIVE
2021-07-07 15:24:13.403 24388-26659/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 0
2021-07-07 15:24:13.404 24388-26689/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 1 status STATUS_PRESENT
2021-07-07 15:24:13.404 24388-26655/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 1
2021-07-07 15:24:13.405 24388-26689/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 1 status STATUS_PRESENT
2021-07-07 15:24:13.405 24388-26689/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 1 status STATUS_PRESENT
2021-07-07 15:24:13.405 24388-26689/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 1 status STATUS_PRESENT
2021-07-07 15:24:13.405 24388-26689/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 1 status STATUS_PRESENT
2021-07-07 15:24:13.405 24388-26689/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client com.mrousavy.camera.example API Level 2
2021-07-07 15:24:13.406 24388-26655/com.mrousavy.camera.example D/DeferrableSurface: use count-1, useCount=0 closed=true androidx.camera.core.impl.ImmediateSurface@1ef07fb
2021-07-07 15:24:13.406 24388-26655/com.mrousavy.camera.example D/DeferrableSurface: Surface no longer in use[total_surfaces=5, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@1ef07fb}
2021-07-07 15:24:13.406 24388-26655/com.mrousavy.camera.example D/DeferrableSurface: Surface terminated[total_surfaces=4, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@1ef07fb}
2021-07-07 15:24:13.406 24388-24388/com.mrousavy.camera.example D/DeferrableSurface: Surface created[total_surfaces=5, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@13726f0}
2021-07-07 15:24:13.407 24388-26655/com.mrousavy.camera.example D/DeferrableSurface: use count-1, useCount=0 closed=true androidx.camera.core.impl.ImmediateSurface@3057cdf
2021-07-07 15:24:13.408 24388-26655/com.mrousavy.camera.example D/DeferrableSurface: Surface no longer in use[total_surfaces=5, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@3057cdf}
2021-07-07 15:24:13.408 24388-26655/com.mrousavy.camera.example D/DeferrableSurface: Surface terminated[total_surfaces=4, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@3057cdf}
2021-07-07 15:24:13.408 24388-26655/com.mrousavy.camera.example D/DeferrableSurface: use count-1, useCount=0 closed=true androidx.camera.core.SurfaceRequest$2@9c89232
2021-07-07 15:24:13.408 24388-26655/com.mrousavy.camera.example D/DeferrableSurface: Surface no longer in use[total_surfaces=4, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@9c89232}
2021-07-07 15:24:13.409 24388-26655/com.mrousavy.camera.example D/DeferrableSurface: Surface terminated[total_surfaces=3, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@9c89232}
2021-07-07 15:24:13.409 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use case ImageCapture:androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d14 ACTIVE
2021-07-07 15:24:13.409 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 0
2021-07-07 15:24:13.410 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use case Preview:androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d INACTIVE
2021-07-07 15:24:13.410 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 0
2021-07-07 15:24:13.410 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use case androidx.camera.core.VideoCapture@374cdc0 ACTIVE
2021-07-07 15:24:13.410 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 0
2021-07-07 15:24:13.410 24388-26655/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@138919f[id=1]} CameraDevice.onClosed()
2021-07-07 15:24:13.410 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use case ImageCapture:androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d14 ACTIVE
2021-07-07 15:24:13.411 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 0
2021-07-07 15:24:13.411 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 0
2021-07-07 15:24:13.411 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use cases [Preview:androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d, androidx.camera.core.VideoCapture@374cdc0, ImageCapture:androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d14] now ATTACHED
2021-07-07 15:24:13.411 24388-26655/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@138919f[id=1]} Transitioning camera internal state: CLOSING --> INITIALIZED
2021-07-07 15:24:13.411 24388-24388/com.mrousavy.camera.example D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2021-07-07 15:24:13.411 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: All use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905, androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d36442947] for camera: 0
2021-07-07 15:24:13.411 24388-24388/com.mrousavy.camera.example I/CameraView.performance: Session configured in 181 ms! Camera: androidx.camera.lifecycle.LifecycleCamera@aee710
2021-07-07 15:24:13.412 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: mMeteringRepeating is ATTACHED, SessionConfig Surfaces: 3, CaptureConfig Surfaces: 1
2021-07-07 15:24:13.412 24388-24388/com.mrousavy.camera.example I/CameraView: invokeOnInitialized()
2021-07-07 15:24:13.412 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905] for camera: 0
2021-07-07 15:24:13.413 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Resetting Capture Session
2021-07-07 15:24:13.413 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Releasing session in state INITIALIZED
2021-07-07 15:24:13.413 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Attempting to force open the camera.
2021-07-07 15:24:13.413 24388-26604/com.mrousavy.camera.example I/ReactNativeJS: Camera initialized!
2021-07-07 15:24:13.414 24388-26655/com.mrousavy.camera.example D/CameraStateRegistry: Recalculating open cameras:
Camera State
-------------------------------------------------------------------
Camera@b1901d8[id=2] UNKNOWN
Camera@bfcc76d[id=3] UNKNOWN
Camera@138919f[id=1] CLOSED
Camera@409287[id=4] UNKNOWN
Camera@9ea3966[id=0] CLOSED
-------------------------------------------------------------------
Open count: 0 (Max allowed: 1)
2021-07-07 15:24:13.415 24388-26656/com.mrousavy.camera.example D/CameraStateRegistry: tryOpenCamera(Camera@9ea3966[id=0]) [Available Cameras: 1, Already Open: false (Previous state: CLOSED)] --> SUCCESS
2021-07-07 15:24:13.415 24388-26655/com.mrousavy.camera.example D/CameraStateMachine: New public camera state CameraState{type=CLOSED, error=null} from CLOSED and null
2021-07-07 15:24:13.415 24388-26655/com.mrousavy.camera.example D/CameraStateMachine: Publishing new public camera state CameraState{type=CLOSED, error=null}
2021-07-07 15:24:13.415 24388-26656/com.mrousavy.camera.example D/CameraStateRegistry: Recalculating open cameras:
Camera State
-------------------------------------------------------------------
Camera@b1901d8[id=2] UNKNOWN
Camera@bfcc76d[id=3] UNKNOWN
Camera@138919f[id=1] CLOSED
Camera@409287[id=4] UNKNOWN
Camera@9ea3966[id=0] OPENING
-------------------------------------------------------------------
Open count: 1 (Max allowed: 1)
2021-07-07 15:24:13.415 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Opening camera.
2021-07-07 15:24:13.415 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Transitioning camera internal state: INITIALIZED --> OPENING
2021-07-07 15:24:13.415 24388-26656/com.mrousavy.camera.example D/CameraStateMachine: New public camera state CameraState{type=OPENING, error=null} from OPENING and null
2021-07-07 15:24:13.415 24388-26656/com.mrousavy.camera.example D/CameraStateMachine: Publishing new public camera state CameraState{type=OPENING, error=null}
2021-07-07 15:24:13.416 24388-24388/com.mrousavy.camera.example D/SurfaceViewImpl: Safe to release surface.
2021-07-07 15:24:13.417 24388-26762/com.mrousavy.camera.example I/ACodec: [OMX.Exynos.AVC.Encoder] Now uninitialized
2021-07-07 15:24:13.417 24388-26762/com.mrousavy.camera.example I/ACodec: [] Now kWhatShutdownCompleted event : 8307
2021-07-07 15:24:13.417 24388-26761/com.mrousavy.camera.example I/MediaCodec: Codec shutdown complete
2021-07-07 15:24:13.418 24388-24388/com.mrousavy.camera.example D/PreviewView: Surface requested by Preview.
2021-07-07 15:24:13.418 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: All use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905, androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d36442947] for camera: 0
2021-07-07 15:24:13.420 24388-24388/com.mrousavy.camera.example I/SurfaceView: onWindowVisibilityChanged(8) false android.view.SurfaceView{327e6a9 V.E...... ........ 0,0-1920,1080} of ViewRootImpl@859bef[MainActivity]
2021-07-07 15:24:13.421 24388-24388/com.mrousavy.camera.example I/SurfaceView: surfaceDestroyed callback.size 1 #2 android.view.SurfaceView{327e6a9 V.E...... ........ 0,0-1920,1080}
2021-07-07 15:24:13.421 24388-24388/com.mrousavy.camera.example D/SurfaceViewImpl: Surface destroyed.
2021-07-07 15:24:13.421 24388-24388/com.mrousavy.camera.example D/SurfaceViewImpl: Surface invalidated androidx.camera.core.SurfaceRequest@8ef3a3d
2021-07-07 15:24:13.422 24388-24388/com.mrousavy.camera.example I/SurfaceView: onWindowVisibilityChanged(0) true android.view.SurfaceView{a9a2c20 V.E...... ......I. 0,0-0,0} of ViewRootImpl@859bef[MainActivity]
2021-07-07 15:24:13.422 24388-24388/com.mrousavy.camera.example D/PreviewView: Preview transformation info updated. TransformationInfo{cropRect=Rect(0, 0 - 1920, 1080), rotationDegrees=90, targetRotation=0}
2021-07-07 15:24:13.422 24388-24388/com.mrousavy.camera.example D/PreviewTransform: Transformation info set: TransformationInfo{cropRect=Rect(0, 0 - 1920, 1080), rotationDegrees=90, targetRotation=0} 1920x1080 false
2021-07-07 15:24:13.425 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2021-07-07 15:24:13.425 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2021-07-07 15:24:13.425 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2021-07-07 15:24:13.425 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2021-07-07 15:24:13.425 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2021-07-07 15:24:13.426 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.mrousavy.camera.example API Level 2
2021-07-07 15:24:13.434 24388-24388/com.mrousavy.camera.example I/SurfaceView: surfaceCreated 1 #8 android.view.SurfaceView{a9a2c20 V.E...... ......ID 0,0-1920,1080}
2021-07-07 15:24:13.434 24388-24388/com.mrousavy.camera.example D/SurfaceViewImpl: Surface created.
2021-07-07 15:24:13.434 24388-24388/com.mrousavy.camera.example I/SurfaceView: surfaceChanged (1920,1080) 1 #8 android.view.SurfaceView{a9a2c20 V.E...... ......ID 0,0-1920,1080}
2021-07-07 15:24:13.434 24388-24388/com.mrousavy.camera.example D/SurfaceViewImpl: Surface changed. Size: 1920x1080
2021-07-07 15:24:13.434 24388-24388/com.mrousavy.camera.example I/ViewRootImpl@859bef[MainActivity]: [DP] dp(1) 1 android.view.SurfaceView.updateSurface:1311 android.view.SurfaceView$1.onPreDraw:225 android.view.ViewTreeObserver.dispatchOnPreDraw:1124
2021-07-07 15:24:13.435 24388-24388/com.mrousavy.camera.example I/ViewRootImpl@859bef[MainActivity]: [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:577 android.view.SurfaceView.performDrawFinished:564 android.view.SurfaceView.lambda$TWz4D2u33ZlAmRtgKzbqqDue3iM:0
2021-07-07 15:24:13.435 24388-24388/com.mrousavy.camera.example I/ViewRootImpl@859bef[MainActivity]: [DP] rdf()
2021-07-07 15:24:13.436 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use case Preview:androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d INACTIVE
2021-07-07 15:24:13.436 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905] for camera: 0
2021-07-07 15:24:13.437 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use case androidx.camera.core.VideoCapture@374cdc0 ACTIVE
2021-07-07 15:24:13.437 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905] for camera: 0
2021-07-07 15:24:13.438 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use case ImageCapture:androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d14 ACTIVE
2021-07-07 15:24:13.438 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905] for camera: 0
2021-07-07 15:24:13.438 24388-26522/com.mrousavy.camera.example D/SurfaceControl: hide : mNativeObject = 483734931824 - sc.mNativeObject = 483197259216 - Surface(name=SurfaceView - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@327e6a9@0)/@0x6ef4b06
2021-07-07 15:24:13.438 24388-26522/com.mrousavy.camera.example D/SurfaceControl: nativeSetFlags Done : Surface(name=SurfaceView - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@327e6a9@0)/@0x6ef4b06
2021-07-07 15:24:13.438 24388-26522/com.mrousavy.camera.example I/SurfaceView: remove() from RT android.view.SurfaceView$2@f45ea4c Surface(name=SurfaceView - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@327e6a9@0)/@0x6ef4b06
2021-07-07 15:24:13.438 24388-26522/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197259216 - Surface(name=SurfaceView - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@327e6a9@0)/@0x6ef4b06 / android.view.SurfaceControl$Transaction.remove:3449 android.view.SurfaceView$2.positionLost:1561 android.graphics.RenderNode$CompositePositionUpdateListener.positionLost:313 <bottom of call stack>
2021-07-07 15:24:13.438 24388-26522/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197259216]
2021-07-07 15:24:13.438 24388-26522/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197259216]
2021-07-07 15:24:13.439 24388-26522/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197262800 - Surface(name=Background for -SurfaceView - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@327e6a9@0)/@0xf01a95 / android.view.SurfaceControl$Transaction.remove:3449 android.view.SurfaceView$2.positionLost:1562 android.graphics.RenderNode$CompositePositionUpdateListener.positionLost:313 <bottom of call stack>
2021-07-07 15:24:13.439 24388-26522/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197262800]
2021-07-07 15:24:13.439 24388-26522/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197262800]
2021-07-07 15:24:13.439 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use case Preview:androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d ACTIVE
2021-07-07 15:24:13.439 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905, androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d36442947] for camera: 0
2021-07-07 15:24:13.439 24388-26688/com.mrousavy.camera.example I/SurfaceView: setParentSpaceRectangle: useBLAST = false position = Rect(-66, 0 - 1146, 2154) frameNumber = 47 t = android.view.SurfaceControl$Transaction@292e7aa
2021-07-07 15:24:13.440 24388-26688/com.mrousavy.camera.example I/SurfaceView: applySurfaceTransforms: t = android.view.SurfaceControl$Transaction@292e7aa surfaceControl = Surface(name=SurfaceView - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@a9a2c20@0)/@0x29e9f9b frame = 47
2021-07-07 15:24:13.440 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905, androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d36442947] for camera: 0
2021-07-07 15:24:13.440 24388-26688/com.mrousavy.camera.example I/SurfaceView: applySurfaceTransforms: postScaleX = 0.63125 postScaleY = 1.9944445
2021-07-07 15:24:13.440 24388-24388/com.mrousavy.camera.example D/SurfaceViewImpl: Surface set on Preview.
2021-07-07 15:24:13.441 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Issue capture request
2021-07-07 15:24:13.442 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905, androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d36442947] for camera: 0
2021-07-07 15:24:13.442 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} CameraDevice.onOpened()
2021-07-07 15:24:13.443 24388-26656/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Transitioning camera internal state: OPENING --> OPENED
2021-07-07 15:24:13.443 24388-26656/com.mrousavy.camera.example D/CameraStateRegistry: Recalculating open cameras:
Camera State
-------------------------------------------------------------------
Camera@b1901d8[id=2] UNKNOWN
Camera@bfcc76d[id=3] UNKNOWN
Camera@138919f[id=1] CLOSED
Camera@409287[id=4] UNKNOWN
Camera@9ea3966[id=0] OPEN
-------------------------------------------------------------------
Open count: 1 (Max allowed: 1)
2021-07-07 15:24:13.443 24388-26656/com.mrousavy.camera.example D/CameraStateMachine: New public camera state CameraState{type=OPEN, error=null} from OPEN and null
2021-07-07 15:24:13.443 24388-26656/com.mrousavy.camera.example D/CameraStateMachine: Publishing new public camera state CameraState{type=OPEN, error=null}
2021-07-07 15:24:13.443 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: All use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905, androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d36442947] for camera: 0
2021-07-07 15:24:13.446 24388-26656/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905, androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d36442947] for camera: 0
2021-07-07 15:24:13.452 24388-26656/com.mrousavy.camera.example D/SyncCaptureSessionBase: [androidx.camera.camera2.internal.SynchronizedCaptureSessionBaseImpl@50c8f5a] getSurface...done
2021-07-07 15:24:13.452 24388-26656/com.mrousavy.camera.example D/CaptureSession: Opening capture session.
2021-07-07 15:24:13.454 24388-26656/com.mrousavy.camera.example D/DeferrableSurface: New surface in use[total_surfaces=3, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@1d76031}
2021-07-07 15:24:13.454 24388-26656/com.mrousavy.camera.example D/DeferrableSurface: use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@1d76031
2021-07-07 15:24:13.454 24388-26656/com.mrousavy.camera.example D/DeferrableSurface: New surface in use[total_surfaces=3, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@13726f0}
2021-07-07 15:24:13.454 24388-26656/com.mrousavy.camera.example D/DeferrableSurface: use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@13726f0
2021-07-07 15:24:13.454 24388-26656/com.mrousavy.camera.example D/DeferrableSurface: New surface in use[total_surfaces=3, used_surfaces=3](androidx.camera.core.impl.ImmediateSurface@d90ce6d}
2021-07-07 15:24:13.454 24388-26656/com.mrousavy.camera.example D/DeferrableSurface: use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@d90ce6d
2021-07-07 15:24:13.547 24388-26656/com.mrousavy.camera.example D/CaptureSession: Attempting to send capture request onConfigured
2021-07-07 15:24:13.547 24388-26656/com.mrousavy.camera.example D/CaptureSession: Issuing request for session.
2021-07-07 15:24:13.549 24388-26656/com.mrousavy.camera.example D/CaptureSession: Issuing capture request.
2021-07-07 15:24:13.553 24388-26656/com.mrousavy.camera.example D/CaptureSession: CameraCaptureSession.onConfigured() mState=OPENED
2021-07-07 15:24:13.553 24388-26656/com.mrousavy.camera.example D/CaptureSession: CameraCaptureSession.onReady() OPENED
2021-07-07 15:24:13.824 24388-26434/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.mrousavy.camera.example API Level 2
2021-07-07 15:24:16.300 24388-26846/com.mrousavy.camera.example W/AMessage: failed to deliver message as target handler 22 is gone.
2021-07-07 15:26:13.080 24388-24388/com.mrousavy.camera.example D/InputMethodManager: prepareNavigationBarInfo() DecorView@fd261a3[MainActivity]
2021-07-07 15:26:13.080 24388-24388/com.mrousavy.camera.example D/InputMethodManager: getNavigationBarColor() -855310
2021-07-07 15:26:13.080 24388-24388/com.mrousavy.camera.example V/InputMethodManager: Starting input: tba=com.mrousavy.camera.example ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
2021-07-07 15:26:13.084 24388-24388/com.mrousavy.camera.example D/InputMethodManager: startInputInner - Id : 0
2021-07-07 15:26:13.085 24388-24388/com.mrousavy.camera.example I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
2021-07-07 15:26:13.089 24388-24388/com.mrousavy.camera.example D/InputTransport: Input channel constructed: 'ClientS', fd=108
2021-07-07 15:26:13.089 24388-24388/com.mrousavy.camera.example D/InputTransport: Input channel destroyed: 'ClientS', fd=88
2021-07-07 15:26:13.512 24388-24388/com.mrousavy.camera.example D/SensorManager: unregisterListener :: com.facebook.react.common.ShakeDetector@6c6c5c3
2021-07-07 15:26:13.520 24388-24388/com.mrousavy.camera.example I/VideoCapture: stopRecording
2021-07-07 15:26:13.521 24388-24388/com.mrousavy.camera.example D/CameraView: Lifecycle went from RESUMED -> CREATED (isActive: true | isAttachedToWindow: true)
2021-07-07 15:26:13.523 24388-26659/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use case androidx.camera.core.VideoCapture@374cdc0 UPDATED
2021-07-07 15:26:13.523 24388-26604/com.mrousavy.camera.example I/ReactNativeJS: Re-rendering camera page with inactive camera. Device: "back (0)" (2288x1080 @ 60fps)
2021-07-07 15:26:13.525 24388-26659/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.VideoCapture-ece814fd-82a7-4a46-88b2-c49975dbeea757986496, androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d1432262905, androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d36442947] for camera: 0
2021-07-07 15:26:13.529 24388-24388/com.mrousavy.camera.example I/ViewRootImpl@859bef[MainActivity]: stopped(true) old=false
2021-07-07 15:26:13.531 24388-26659/com.mrousavy.camera.example D/CaptureSession: Attempting to submit CaptureRequest after setting
2021-07-07 15:26:13.531 24388-26659/com.mrousavy.camera.example D/CaptureSession: Issuing request for session.
2021-07-07 15:26:13.531 24388-26522/com.mrousavy.camera.example D/SurfaceControl: hide : mNativeObject = 483734033696 - sc.mNativeObject = 483197311520 - Surface(name=SurfaceView - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@a9a2c20@0)/@0x29e9f9b
2021-07-07 15:26:13.531 24388-26522/com.mrousavy.camera.example D/SurfaceControl: nativeSetFlags Done : Surface(name=SurfaceView - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@a9a2c20@0)/@0x29e9f9b
2021-07-07 15:26:13.534 24388-24388/com.mrousavy.camera.example I/SurfaceView: windowStopped(true) false android.view.SurfaceView{a9a2c20 V.E...... ........ 0,0-1920,1080} of ViewRootImpl@859bef[MainActivity]
2021-07-07 15:26:13.537 24388-24388/com.mrousavy.camera.example I/SurfaceView: surfaceDestroyed callback.size 1 #1 android.view.SurfaceView{a9a2c20 V.E...... ........ 0,0-1920,1080}
2021-07-07 15:26:13.537 24388-24388/com.mrousavy.camera.example D/SurfaceViewImpl: Surface destroyed.
2021-07-07 15:26:13.538 24388-24388/com.mrousavy.camera.example D/SurfaceViewImpl: Surface invalidated androidx.camera.core.SurfaceRequest@76aa7bb
2021-07-07 15:26:13.538 24388-24388/com.mrousavy.camera.example D/DeferrableSurface: surface closed, useCount=1 closed=true androidx.camera.core.SurfaceRequest$2@1d76031
2021-07-07 15:26:13.538 24388-24388/com.mrousavy.camera.example I/SurfaceView: remove() android.view.SurfaceView{a9a2c20 V.E...... ........ 0,0-1920,1080} Surface(name=SurfaceView - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@a9a2c20@0)/@0x29e9f9b
2021-07-07 15:26:13.538 24388-24388/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197311520 - Surface(name=SurfaceView - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@a9a2c20@0)/@0x29e9f9b / android.view.SurfaceControl$Transaction.remove:3449 android.view.SurfaceView.releaseSurfaces:988 android.view.SurfaceView.updateSurface:1320 android.view.SurfaceView.setWindowStopped:343
2021-07-07 15:26:13.538 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197311520]
2021-07-07 15:26:13.539 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197311520]
2021-07-07 15:26:13.539 24388-24388/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197290128 - Surface(name=Background for -SurfaceView - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@a9a2c20@0)/@0x78125f1 / android.view.SurfaceControl$Transaction.remove:3449 android.view.SurfaceView.releaseSurfaces:992 android.view.SurfaceView.updateSurface:1320 android.view.SurfaceView.setWindowStopped:343
2021-07-07 15:26:13.539 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197290128]
2021-07-07 15:26:13.539 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197290128]
2021-07-07 15:26:13.540 24388-24388/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197184288 - Surface(name=Bounds for - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@0)/@0x4f2c5d6 / android.view.ViewRootImpl.destroySurface:2480 android.view.ViewRootImpl.setWindowStopped:2332 android.view.WindowManagerGlobal.setStoppedState:741 android.app.Activity.performStop:8423
2021-07-07 15:26:13.541 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197184288]
2021-07-07 15:26:13.541 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197184288]
2021-07-07 15:26:13.542 24388-24388/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197287664 - Surface(name=com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity$_24388)/@0xbe349de / android.view.ViewRootImpl.destroySurface:2484 android.view.ViewRootImpl.setWindowStopped:2332 android.view.WindowManagerGlobal.setStoppedState:741 android.app.Activity.performStop:8423
2021-07-07 15:26:13.542 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197287664]
2021-07-07 15:26:13.543 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197287664]
2021-07-07 15:26:13.544 24388-26659/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Use cases [Preview:androidx.camera.core.Preview-261051a4-7b0a-4c53-815f-6761cd3dec9d, androidx.camera.core.VideoCapture@374cdc0, ImageCapture:androidx.camera.core.ImageCapture-ca1311c1-9ceb-454b-b0c2-0d98d6731d14] now DETACHED for camera
2021-07-07 15:26:13.545 24388-26659/com.mrousavy.camera.example D/UseCaseAttachState: All use case: [] for camera: 0
2021-07-07 15:26:13.546 24388-26659/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Resetting Capture Session
2021-07-07 15:26:13.560 24388-26659/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Releasing session in state OPENED
2021-07-07 15:26:13.561 24388-26659/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 0
2021-07-07 15:26:13.563 24388-26659/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 0
2021-07-07 15:26:13.591 24388-26659/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Closing camera.
2021-07-07 15:26:13.591 24388-26659/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Transitioning camera internal state: OPENED --> CLOSING
2021-07-07 15:26:13.592 24388-24388/com.mrousavy.camera.example I/SurfaceView: onWindowVisibilityChanged(8) false android.view.SurfaceView{a9a2c20 V.E...... ........ 0,0-1920,1080} of ViewRootImpl@859bef[MainActivity]
2021-07-07 15:26:13.594 24388-26659/com.mrousavy.camera.example D/CameraStateRegistry: Recalculating open cameras:
Camera State
-------------------------------------------------------------------
Camera@b1901d8[id=2] UNKNOWN
Camera@bfcc76d[id=3] UNKNOWN
Camera@138919f[id=1] CLOSED
Camera@409287[id=4] UNKNOWN
Camera@9ea3966[id=0] CLOSING
-------------------------------------------------------------------
Open count: 1 (Max allowed: 1)
2021-07-07 15:26:13.595 24388-26659/com.mrousavy.camera.example D/CameraStateMachine: New public camera state CameraState{type=CLOSING, error=null} from CLOSING and null
2021-07-07 15:26:13.595 24388-26659/com.mrousavy.camera.example D/CameraStateMachine: Publishing new public camera state CameraState{type=CLOSING, error=null}
2021-07-07 15:26:13.616 24388-26659/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Resetting Capture Session
2021-07-07 15:26:13.616 24388-26522/com.mrousavy.camera.example W/libEGL: EGLNativeWindowType 0x71a0cb5750 disconnect failed
2021-07-07 15:26:13.619 24388-26659/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Releasing session in state CLOSING
2021-07-07 15:26:13.621 24388-26659/com.mrousavy.camera.example D/CaptureSession: onSessionFinished()
2021-07-07 15:26:13.648 24388-24388/com.mrousavy.camera.example I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0xbe349de / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1810 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-07-07 15:26:13.651 24388-24388/com.mrousavy.camera.example I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x5b4d185 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-07-07 15:26:13.654 24388-24388/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197286096 - Surface(name=Surface(name=4bb92a9 InputMethod)/@0xbf6e7cf - animation-leash)/@0xe7cb9ae / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154
2021-07-07 15:26:13.654 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197286096]
2021-07-07 15:26:13.654 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197286096]
2021-07-07 15:26:13.655 24388-24388/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197287104 - Surface(name=Surface(name=61b8689 NavigationBar0)/@0x879a30 - animation-leash)/@0x642434f / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 15:26:13.655 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197287104]
2021-07-07 15:26:13.655 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197287104]
2021-07-07 15:26:13.656 24388-24388/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197179808 - Surface(name=Surface(name=743ae47 StatusBar)/@0x5debcad - animation-leash)/@0x8d2eadc / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 15:26:13.656 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197179808]
2021-07-07 15:26:13.656 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197179808]
2021-07-07 15:26:13.658 24388-24388/com.mrousavy.camera.example I/ViewRootImpl@859bef[MainActivity]: Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)8 dur=33 res=0x5 s={false 0} ch=false fn=-1
2021-07-07 15:26:13.664 24388-26604/com.mrousavy.camera.example I/ReactNativeJNI: Memory warning (pressure level: TRIM_MEMORY_UI_HIDDEN) received by JS VM, ignoring because it's non-severe
2021-07-07 15:26:13.708 24388-24388/com.mrousavy.camera.example D/CameraView: Lifecycle went from CREATED -> CREATED (isActive: false | isAttachedToWindow: true)
2021-07-07 15:26:13.719 24388-26435/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.mrousavy.camera.example API Level 2
2021-07-07 15:26:13.733 24388-24388/com.mrousavy.camera.example I/ViewRootImpl@859bef[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
2021-07-07 15:26:13.800 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_PRESENT
2021-07-07 15:26:13.801 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_PRESENT
2021-07-07 15:26:13.801 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_PRESENT
2021-07-07 15:26:13.802 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_PRESENT
2021-07-07 15:26:13.802 24388-26659/com.mrousavy.camera.example D/UseCaseAttachState: Active and attached use case: [] for camera: 0
2021-07-07 15:26:13.802 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_PRESENT
2021-07-07 15:26:13.803 24388-26867/com.mrousavy.camera.example I/CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.mrousavy.camera.example API Level 2
2021-07-07 15:26:13.805 24388-26659/com.mrousavy.camera.example D/DeferrableSurface: use count-1, useCount=0 closed=true androidx.camera.core.SurfaceRequest$2@1d76031
2021-07-07 15:26:13.805 24388-26659/com.mrousavy.camera.example D/DeferrableSurface: Surface no longer in use[total_surfaces=3, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@1d76031}
2021-07-07 15:26:13.805 24388-26659/com.mrousavy.camera.example D/DeferrableSurface: Surface terminated[total_surfaces=2, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@1d76031}
2021-07-07 15:26:13.807 24388-24388/com.mrousavy.camera.example D/SurfaceViewImpl: Safe to release surface.
2021-07-07 15:26:13.808 24388-26659/com.mrousavy.camera.example D/DeferrableSurface: use count-1, useCount=0 closed=false androidx.camera.core.impl.ImmediateSurface@13726f0
2021-07-07 15:26:13.808 24388-26659/com.mrousavy.camera.example D/DeferrableSurface: Surface no longer in use[total_surfaces=2, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@13726f0}
2021-07-07 15:26:13.808 24388-26659/com.mrousavy.camera.example D/DeferrableSurface: use count-1, useCount=0 closed=false androidx.camera.core.impl.ImmediateSurface@d90ce6d
2021-07-07 15:26:13.808 24388-26659/com.mrousavy.camera.example D/DeferrableSurface: Surface no longer in use[total_surfaces=2, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@d90ce6d}
2021-07-07 15:26:13.809 24388-26659/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} CameraDevice.onClosed()
2021-07-07 15:26:13.810 24388-26659/com.mrousavy.camera.example D/Camera2CameraImpl: {Camera@9ea3966[id=0]} Transitioning camera internal state: CLOSING --> INITIALIZED
2021-07-07 15:26:13.817 24388-26659/com.mrousavy.camera.example D/CameraStateRegistry: Recalculating open cameras:
Camera State
-------------------------------------------------------------------
Camera@b1901d8[id=2] UNKNOWN
Camera@bfcc76d[id=3] UNKNOWN
Camera@138919f[id=1] CLOSED
Camera@409287[id=4] UNKNOWN
Camera@9ea3966[id=0] CLOSED
-------------------------------------------------------------------
Open count: 0 (Max allowed: 1)
2021-07-07 15:26:13.817 24388-26659/com.mrousavy.camera.example D/CameraStateMachine: New public camera state CameraState{type=CLOSED, error=null} from CLOSED and null
2021-07-07 15:26:13.818 24388-26659/com.mrousavy.camera.example D/CameraStateMachine: Publishing new public camera state CameraState{type=CLOSED, error=null}
2021-07-07 15:26:13.887 24388-24388/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197311520 - Surface(name=Surface(name=4bb92a9 InputMethod)/@0xbf6e7cf - animation-leash)/@0xecfb974 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154
2021-07-07 15:26:13.887 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197311520]
2021-07-07 15:26:13.888 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197311520]
2021-07-07 15:26:13.893 24388-24388/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197184288 - Surface(name=Surface(name=61b8689 NavigationBar0)/@0x879a30 - animation-leash)/@0xcab7e9d / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 15:26:13.893 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197184288]
2021-07-07 15:26:13.893 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197184288]
2021-07-07 15:26:13.894 24388-24388/com.mrousavy.camera.example I/SurfaceControl: release : mNativeObject = 483197287664 - Surface(name=Surface(name=743ae47 StatusBar)/@0x5debcad - animation-leash)/@0x6ef12 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
2021-07-07 15:26:13.894 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject s[483197287664]
2021-07-07 15:26:13.894 24388-24388/com.mrousavy.camera.example I/SurfaceControl: nativeRelease nativeObject e[483197287664]
Yeah this looks like a bug in the native CameraX library from Google. Can you create an issue for this in their issuetracker please? Maybe also mention that
val stabilizationModes = characteristics.get(CameraCharacteristics.CONTROL_AVAILABLE_VIDEO_STABILIZATION_MODES)!! // only digital, no optical
causes a NullPointerException on your device.
I'm sorry but I don't think it's wise for me (for many reasons) to file an issue on behalf of a third party library. But it looks like the issue has already been raised: https://issuetracker.google.com/issues/188690069
Same problem here, note10+ with android11 black screen.
Yeah so apparently the stabilization modes cause null pointer exceptions even though they should be available on all devices:
So the android docs are lying and I just fixed this in #449
I've fixed this in 2.8.1 🎉🚀
Thank you very much for your efforts. But caught the same issue on Samsung s9. "react-native-vision-camera": "^2.12.0",
Some info from sentry.
java.lang.NullPointerException: null
at com.mrousavy.camera.CameraView_RecordVideoKt$startRecording$1.accept(CameraView+RecordVideo.kt:79)
at com.mrousavy.camera.CameraView_RecordVideoKt$startRecording$1.accept(CameraView+RecordVideo.kt:52)
at androidx.camera.video.Recorder$RecordingRecord.lambda$updateVideoRecordEvent$6$Recorder$RecordingRecord(Recorder.java:2611)
at androidx.camera.video.-$$Lambda$Recorder$RecordingRecord$Uo40MCKPuma4aZ5df1-_fzufzHg.run
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:6981)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1445)
Model | SM-G960U (PPR1.180610.011)
Model Id | PPR1.180610.011
Name | Galaxy S9
Kernel Version | 4.9.112-15611914
Name | Android
Rooted | no
Version | 9
Could you, please, help with it? Thank you!
Hello @mrousavy
Do you have a possibility to check this issue? The same issue as other users described - black screen when open the camera on Samsung.
Thank you.
Hey!
Do you have a possibility to check this issue?
Sorry, no. I do not have that specific test device and I cannot reproduce it on my device.
What
The camera preview will not initialise on Samsung Galaxy Note10+.
const devices = useCameraDevices();
remains undefined.Logs
Reproducable sample
react-native-vision-camera example code.