Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashlight is always on on Huawei #12

Closed
orestesgaolin opened this issue Aug 26, 2020 · 0 comments · Fixed by #17
Closed

Flashlight is always on on Huawei #12

orestesgaolin opened this issue Aug 26, 2020 · 0 comments · Fixed by #17
Labels
bug Something isn't working

Comments

@orestesgaolin
Copy link
Collaborator

Steps to Reproduce

  1. Launch the example app in profile mode
  2. Change mode of the flashlight to always on
  3. The flashlight is turned on all the time

Expected results

The flashlight should only fire when taking a picture

Actual results

Flashlight is on all the time

About your device

Brand Model OS
Huawei Y7p EMUI 10.1.0, Android 10

Logs

Launching lib/main.dart on ART L29 in profile mode...
✓ Built build/app/outputs/flutter-apk/app-profile.apk (10.0MB).
Connecting to VM Service at ws://127.0.0.1:53579/weBnUdIgprY=/ws
D/com.apparence.camerawesome.CamerawesomePlugin(20067): _handleCheckPermissions:
I/flutter (20067): granted
I/CameraManagerGlobal(20067): Connecting to camera service
D/SensorManager(20067): 0x6ff644b0e0 addFd fd=116
I/CameraManager(20067): open camera: 0, package name: com.apparence.camerawesome_example
W/Gralloc3(20067): allocator 3.x is not supported
I/Hwaps   (20067): APS: EventAnalyzed: initAPS: version is 10.1.0.18
D/Hwaps   (20067): Fpsrequest create,type:EXACTLY_IDENTIFY
I/hwaps   (20067): HwAps: JNI_OnLoad
D/Hwaps   (20067): Fpsrequest create,type:EXACTLY_IDENTIFY
D/Hwaps   (20067): Fpsrequest create,type:OPENGL_SETTING
D/Hwaps   (20067): FpsController create
D/Hwaps   (20067): APS: EventAnalyzed: reInitFpsPara :mBaseFps = 60; mMaxFps = 60
W/Settings(20067): Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
V/HiTouch_HiTouchSensor(20067): User setup is finished.
W/HwApsManager(20067): HwApsManagerService, registerCallback, start !
D/Hwaps   (20067): APS: EventAnalyzed: registerCallbackInApsManagerService, mPkgName:com.apparence.camerawesome_example; result = true
V/AudioManager(20067): querySoundEffectsEnabled...
V/AudioManager(20067): querySoundEffectsEnabled...
D/AwareBitmapCacher(20067): handleInit switch not opened pid=20067
I/flutter (20067): ----------------------------------
I/flutter (20067): TAKE PHOTO CALLED
I/flutter (20067): ==> hastakePhoto : Instance of 'Future<bool>'
I/flutter (20067): ==> path : /data/user/0/com.apparence.camerawesome_example/cache/test/1598455630967.jpg
I/flutter (20067): ==> img.width : 8000
I/flutter (20067): ==> img.height : 6000
I/flutter (20067): ----------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant