-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 2.0Found to occur in 2.0Found to occur in 2.0found in release: 2.2Found to occur in 2.2Found to occur in 2.2found in release: 2.3Found to occur in 2.3Found to occur in 2.3found in release: 2.6Found to occur in 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyplatform-iosiOS applications specificallyiOS applications specificallyteam-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team
Description
Code: #81816
BUG:
After Fast and many times changing camera from front to back, the black screen apears
57f5434d-7133-4fe2-905e-4d5e25ebe9f6.mp4
logs
I/flutter (26583): [A CameraController was used after being disposed.
I/flutter (26583): Once you have called dispose() on a CameraController, it can no longer be used., #0 ChangeNotifier._debugAssertNotDisposed.<anonymous closure> (package:flutter/src/foundation/change_notifier.dart:117:9)
I/flutter (26583): #1 ChangeNotifier._debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:123:6)
I/flutter (26583): #2 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:234:12)
I/flutter (26583): #3 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:309:5)
I/flutter (26583): #4 CameraController.initialize (package:camera/src/camera_controller.dart:290:7)
I/flutter (26583): <asynchronous suspension>
I/flutter (26583): #5 _AppCameraState.onNewCameraSelected (package:yool/app/presentation/page/camera/app_camera.dart:131:7)
I/flutter (26583): <asynchronous suspension>
I/flutter (26583): ]
I/ViewRootImpl@7622ea3[MainActivity](26583): ViewPostIme pointer 0
I/ViewRootImpl@7622ea3[MainActivity](26583): ViewPostIme pointer 1
I/CameraManagerGlobal(26583): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client uz.yim.yool API Level 2
D/SensorManager(26583): unregisterListener ::
I/Camera (26583): [FPS Range Available] is:[15, 15]
I/Camera (26583): [FPS Range Available] is:[15, 20]
I/Camera (26583): [FPS Range Available] is:[20, 20]
I/Camera (26583): [FPS Range Available] is:[10, 24]
I/Camera (26583): [FPS Range Available] is:[15, 24]
I/Camera (26583): [FPS Range Available] is:[24, 24]
I/Camera (26583): [FPS Range Available] is:[7, 30]
I/Camera (26583): [FPS Range Available] is:[10, 30]
I/Camera (26583): [FPS Range Available] is:[15, 30]
I/Camera (26583): [FPS Range Available] is:[30, 30]
I/Camera (26583): [FPS Range] is:[7, 30]
D/SensorManager(26583): registerListener :: 1, LSM6DSL Acceleration Sensor, 200000, 0,
I/CameraManagerGlobal(26583): Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client uz.yim.yool API Level 2
I/CameraManagerGlobal(26583): Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client uz.yim.yool API Level 2
W/System (26583): A resource failed to call release.
I/chatty (26583): uid=11124(uz.yim.yool) FinalizerDaemon identical 8 lines
W/System (26583): A resource failed to call release.
I/ViewRootImpl@7622ea3[MainActivity](26583): MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager(26583): prepareNavigationBarInfo() DecorView@1865321[MainActivity]
D/InputMethodManager(26583): getNavigationBarColor() -855310
I/ViewRootImpl@7622ea3[MainActivity](26583): MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager(26583): prepareNavigationBarInfo() DecorView@1865321[MainActivity]
D/InputMethodManager(26583): getNavigationBarColor() -855310
I/ViewRootImpl@7622ea3[MainActivity](26583): ViewPostIme pointer 0
I/SurfaceView(26583): onWindowVisibilityChanged(8) false io.flutter.embedding.android.FlutterSurfaceView{4554559 V.E...... ........ 0,0-720,1450} of ViewRootImpl@7622ea3[MainActivity]
I/SurfaceView(26583): surfaceDestroyed callback.size 1 #2 io.flutter.embedding.android.FlutterSurfaceView{4554559 V.E...... ........ 0,0-720,1450}
I/mali_egl(26583): eglDestroySurface() in
I/mali_winsys(26583): delete_surface() [720x1450] return
I/mali_egl(26583): eglDestroySurface() out
W/libEGL (26583): EGLNativeWindowType 0x7187faa010 disconnect failed
I/SurfaceView(26583): remove() io.flutter.embedding.android.FlutterSurfaceView{4554559 V.E...... ........ 0,0-720,1450} Surface(name=SurfaceView - uz.yim.yool/uz.yim.yool.MainActivity@4554559@0)/@0x7547ffc
I/mali_egl(26583): eglDestroySurface() in
I/mali_winsys(26583): delete_surface() [720x1480] return
I/mali_egl(26583): eglDestroySurface() out
W/libEGL (26583): EGLNativeWindowType 0x71869dc550 disconnect failed
I/ViewRootImpl@7622ea3[MainActivity](26583): Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)8 dur=27 res=0x5 s={false 0} ch=true
I/CameraManagerGlobal(26583): Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client uz.yim.yool API Level 2
I/CameraManagerGlobal(26583): Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client uz.yim.yool API Level 2
D/SensorManager(26583): unregisterListener ::
I/ViewRootImpl@7622ea3[MainActivity](26583): stopped(true) old=false
I/SurfaceView(26583): windowStopped(true) false io.flutter.embedding.android.FlutterSurfaceView{4554559 V.E...... ........ 0,0-720,1450} of ViewRootImpl@7622ea3[MainActivity]
I/ViewRootImpl@7622ea3[MainActivity](26583): MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager(26583): prepareNavigationBarInfo() DecorView@1865321[MainActivity]
D/InputMethodManager(26583): getNavigationBarColor() -855310
D/InputTransport(26583): Input channel destroyed: 'ClientS', fd=103
W/System (26583): A resource failed to call release.
W/System (26583): A resource failed to call release.
W/System (26583): A resource failed to call release.
W/System (26583): A resource failed to call release.
W/System (26583): A resource failed to call release.
W/System (26583): A resource failed to call release.
W/System (26583): A resource failed to call release. Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 2.0Found to occur in 2.0Found to occur in 2.0found in release: 2.2Found to occur in 2.2Found to occur in 2.2found in release: 2.3Found to occur in 2.3Found to occur in 2.3found in release: 2.6Found to occur in 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyplatform-iosiOS applications specificallyiOS applications specificallyteam-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team
Type
Projects
Status
[PENDING] camera_android issues solved by camera_android_camerax