Skip to content

Capture fails to resume after device sleep #1299

Open
@richardeakin

Description

@richardeakin

From @sansumbrella on August 6, 2015 14:1

Frequently on the Nexus 5, the hardware camera input fails to resume after the device is put to sleep. Possibly a race condition in camera initialization?

How to reproduce:

  • Open a sample that uses hardware Capture (and stops using it when losing focus (e.g. a slightly modified CaptureBasic).
  • Press the side button to put the device to sleep.
  • Press the side button to wake the device and slide up to resume the application.

Result (often, on Nexus 5):
The application resumes with a blank screen and the camera never resumes capturing.
Often, the application will hang or crash after this point if a user tries exiting and restarting it with the back button.

Expected result:
The application resumes as if the user had pressed one of the multitasking buttons and then returned to the app.

Copied from original issue: chaoticbob/Cinder#34

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions