59411b3373dca7582aa1a248d4cff4c2330ee224
Looper.quit() is asynchronous. The looper may still has some preview callbacks in the queue after quit is called. The preview callback still uses the camera object (setHasPreviewCallback). After camera is released, RuntimeException will be thrown from the method. So we need to join the looper thread here. This change also fixes a potential race condition. bug:2521202 Change-Id: If69bbb3125d1d30192563559579b87c20fa5aac8
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%