Chromium Code Reviews
        
  DescriptionAndroid VideoCapture: Add null checks in stopCaptureOnCameraThread
If stopCapture is called shortly after startCapture, and the first startCaptureOnCameraThread failed, but still hasn't retried 3 times, stopCaptureOnCameraThread will be called in a state where the camera is not initialized. This CL adds null checks in stopCaptureOnCameraThread to avoid crashes.
BUG=b/27939867
Committed: https://crrev.com/23b08eb531aef7d2c69512622c46cf2dab965207
Cr-Commit-Position: refs/heads/master@{#12234}
   
  Patch Set 1 #
 Messages
    Total messages: 10 (5 generated)
     
  
  
       | 
    |||||||||||||||||||