Android Question Camera2 - Problem with Camera_SurfaceReady

Steve Addy

Member
Licensed User
Longtime User
I'm writing a timelapse app using a foreground service to keep the process running and all is fine until the display "goes to sleep".

When the Main Activity is re-awakened by a CallSubDelayed from my foreground service, there is no response from the line "Wait For Camera_SurfaceReady" in "Private Sub CreateSurface" in CamEX2

Is there any solution for this problem when the display has gone to sleep?
 
Top