Please find attached sample Android Studio project which is an adaptation of github googlesamples android-Camera2Basic except the activity handles rotation so it does not get destroyed upon rotation and sets a manual exposure to the request.
When installed on LGv10, if auto-rotate is enabled, after rotating landscape -> portrait a couple of times (5 - 6 times) the exposure gets unlocked thus the output will be a brighter image. This behaviour is unexpected; on other phones the exposure is the same. In the zip you can find also out.log which is an adb logcat of the device when the error is happening.
I suspect this to be a problem in the camera implementation of this particular phone. Thank you for your time.
I have filed a bug report on Google: 214345 where you can find the sample code as well.
When installed on LGv10, if auto-rotate is enabled, after rotating landscape -> portrait a couple of times (5 - 6 times) the exposure gets unlocked thus the output will be a brighter image. This behaviour is unexpected; on other phones the exposure is the same. In the zip you can find also out.log which is an adb logcat of the device when the error is happening.
I suspect this to be a problem in the camera implementation of this particular phone. Thank you for your time.
I have filed a bug report on Google: 214345 where you can find the sample code as well.
from xda-developers http://ift.tt/28XZf3m
via IFTTT
Aucun commentaire:
Enregistrer un commentaire