Motorola Community

Moto G PhonesMoto G6 / Moto G6 Plus / Moto G6 Play
All Forum Topics
Options

1 Posts

06-29-2020

US

1 Signins

10 Page Views

  • Posts: 1
  • Registered: ‎06-29-2020
  • Location: US
  • Views: 10
  • Message 1 of 3

Autofocus failure when using RAW_SENSOR on Moto G6

2020-06-29, 2:33 AM

Android build:
PPSS29.118-15-11-9

Device:
Moto G6

Sample applications:
autofocusbug.apk (see attached)
Camera2Basic (https://github.com/android/camera-samples)

Description:
When a camera session is created with a RAW_SENSOR target surface, the autofocus mechanism does not behave properly. When AF_MODE is CONTINUOUS_PICTURE_MODE, the autofocus restarts repeatedly and does not remain converged. When AF_MODE is AUTO, the autofocus does not converge to a sharp image, regardless of the CaptureResult autofocus state.

This bug is present in Camera2Basic. I have also created autofocusbug.apk, which is Camera2Basic modified to display focus state and let user switch focus mode.

Reply
Options

1 Posts

06-29-2020

US

1 Signins

10 Page Views

  • Posts: 1
  • Registered: ‎06-29-2020
  • Location: US
  • Views: 10
  • Message 2 of 3

Re:Autofocus failure when using RAW_SENSOR on Moto G6

2020-06-29, 15:12 PM

There was an issue sideloading the demo app. I've cleaned and rebuilt the project, apk can sideload now. I've attached the updated apk here.

Reply
Options

1777 Posts

04-04-2018

IN

299 Signins

18489 Page Views

  • Posts: 1777
  • Registered: ‎04-04-2018
  • Location: IN
  • Views: 18489
  • Message 3 of 3

Re:Autofocus failure when using RAW_SENSOR on Moto G6

2020-07-01, 7:41 AM

@ domoAndroid wrote:
 

 

There was an issue sideloading the demo app. I've cleaned and rebuilt the project, apk can sideload now. I've attached the updated apk here.

 

Hi,

 

Thanks for posting! Please share us a Bug Report using the stock Camera. Here are the steps:

 

1.  Go to Settings -> About Phone -> Tap on Build number 7 times on the build number to go into the developer options mode]

 

2. After the above steps Developer options will be enabled.

 

3. Go to Settings ->Developer options -> Enable USB debugging > Toggle On

 

4. Enable Settings -> Developer options -> Enable Bug Report shortcut > Toggle On

 

5. Once the issue is reproduced, Go to Settings -> Developer options -> Click on take bug report or Press Power button and then choose Bug Report from the Power-down menu.

 

6. Wait for some time until the bug report is collected. It takes around 3 to 4 minutes to collect the Bug Report.

 

7. Then upload the Bug Report to your personal Google Drive and then share the link to the Bug Report on the forums in a reply or via a private message.

 

8. Provide observations of what you saw happen right before the bug report was taken. Please indicate the time that you observed the behavior in local time. 

 

Regards,

Suman



Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete