z2-dev/android_device_zuk_z2_plus

Quick settings torch tile does not work

nsr8 opened this issue · 5 comments

nsr8 commented

-build 20170930
-logcat https://zerobin.net/?5f307df32095410a#eS0EN6CUEqQfn2JJ/EZ88lHA+rPxdaqekw+gH0DzauE=
-steps to reproduce
*clean flash the rom after wiping system, dalvik and data
*flash gaaps
*switch on torch from quick settings

(camera flash works flawlessly)

I'm ok) build 20170930
screenshot_20171004-200416
screenshot_20171004-200420

Hmm, I tried earlier and it did not work, but now I tried again and it does. Strange. Changing tag to "investigate."
Edit: I think it may have something to do with charging state/battery level

I repeated the error when the battery is low. so when you try to turn on the flashlight while the screen is off, pressing the power button. the phone has frozen with a white diode . after reboot everything is fine.

nsr8 commented

Flash light works now after a reboot. However, there's a slight lag.

Touching the quick settings icon immediately switches on the light and the icon indicates that the light is on. Touching the icon again switches off the light immediately, but the icon indicates it is still on. It takes about 5 seconds to display as off.

A very minor issue. I don't remember if it was the same in previous builds.

Battery status might not be relevant. Flash didn't light up with 90% battery. Now it works at 40%.

I will post a logcat if the issue is reproduced.

Fixed in 20171120