You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Launch the example app on Huawei Y7p in profile mode
Grant access to camera and media library
Observe the app freeze
After ~1 min a rotated image preview is shown
Expected results
The app shouldn't freeze
Actual results
The app freezes
About your device
Brand
Model
OS
Huawei
Y7p
EMUI 10.1.0, Android 10
Log:
Launching lib/main.dart on ART L29 in profile mode...
Note: /Users/dominik/Projects/camera_awesome/android/src/main/java/com/apparence/camerawesome/CameraSession.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
✓ Built build/app/outputs/flutter-apk/app-profile.apk (10.0MB).
Installing build/app/outputs/flutter-apk/app.apk...
Connecting to VM Service at ws://127.0.0.1:53180/TwoWH5nNgak=/ws
D/com.apparence.camerawesome.CamerawesomePlugin(19126): _handleCheckPermissions:
I/flutter (19126): granted
I/CameraManagerGlobal(19126): Connecting to camera service
D/SensorManager(19126): 0x701c1102b0 addFd fd=119
I/CameraManager(19126): open camera: 0, package name: com.apparence.camerawesome_example
W/Gralloc3(19126): allocator 3.x is not supported
I/Hwaps (19126): APS: EventAnalyzed: initAPS: version is 10.1.0.18
D/Hwaps (19126): Fpsrequest create,type:EXACTLY_IDENTIFY
I/hwaps (19126): HwAps: JNI_OnLoad
D/Hwaps (19126): Fpsrequest create,type:EXACTLY_IDENTIFY
D/Hwaps (19126): Fpsrequest create,type:OPENGL_SETTING
D/Hwaps (19126): FpsController create
D/Hwaps (19126): APS: EventAnalyzed: reInitFpsPara :mBaseFps = 60; mMaxFps = 60
W/Settings(19126): Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
V/HiTouch_HiTouchSensor(19126): User setup is finished.
W/HwApsManager(19126): HwApsManagerService, registerCallback, start !
D/Hwaps (19126): APS: EventAnalyzed: registerCallbackInApsManagerService, mPkgName:com.apparence.camerawesome_example; result = true
D/AwareBitmapCacher(19126): handleInit switch not opened pid=19126
I/flutter (19126): ----------------------------------
I/flutter (19126): TAKE PHOTO CALLED
I/flutter (19126): ==> hastakePhoto : Instance of 'Future<bool>'
I/flutter (19126): ==> path : /data/user/0/com.apparence.camerawesome_example/cache/test/1598455418494.jpg
E/com.apparence.camerawesome.CamerawesomePlugin(19126): onSuccess image error
E/com.apparence.camerawesome.CamerawesomePlugin(19126): java.lang.IllegalStateException: Reply already submitted
E/com.apparence.camerawesome.CamerawesomePlugin(19126): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:139)
E/com.apparence.camerawesome.CamerawesomePlugin(19126): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:235)
E/com.apparence.camerawesome.CamerawesomePlugin(19126): at com.apparence.camerawesome.CamerawesomePlugin$1.onSuccess(CamerawesomePlugin.java:401)
E/com.apparence.camerawesome.CamerawesomePlugin(19126): at com.apparence.camerawesome.CameraPicture$1.onImageAvailable(CameraPicture.java:103)
E/com.apparence.camerawesome.CamerawesomePlugin(19126): at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
E/com.apparence.camerawesome.CamerawesomePlugin(19126): at android.os.Handler.dispatchMessage(Handler.java:110)
E/com.apparence.camerawesome.CamerawesomePlugin(19126): at android.os.Looper.loop(Looper.java:219)
E/com.apparence.camerawesome.CamerawesomePlugin(19126): at android.app.ActivityThread.main(ActivityThread.java:8349)
E/com.apparence.camerawesome.CamerawesomePlugin(19126): at java.lang.reflect.Method.invoke(Native Method)
E/com.apparence.camerawesome.CamerawesomePlugin(19126): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
E/com.apparence.camerawesome.CamerawesomePlugin(19126): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)
I/flutter (19126): ==> img.width : 6000
I/flutter (19126): ==> img.height : 8000
I/flutter (19126): ----------------------------------
W/HiTouch_PressGestureDetector(19126): Touch pointer move a lot. The moving distance of X is:46.0, limit is:40The moving distance of Y is:1.0, limit is:40
W/HiTouch_PressGestureDetector(19126): Touch pointer move a lot. The moving distance of X is:48.0, limit is:40The moving distance of Y is:13.0, limit is:40
The text was updated successfully, but these errors were encountered:
Steps to Reproduce
Expected results
The app shouldn't freeze
Actual results
The app freezes
About your device
Log:
The text was updated successfully, but these errors were encountered: