Fix a potential bug of CameraTest.

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.

bug:2521202
Change-Id: I0ab74f657e3df3ff624a10763cb0a71cc07c691f
1 file changed
tree: 13139bac8a46b7d90eaa65f001477b039806400a
  1. tests/
  2. tools/
  3. .gitignore
  4. Android.mk
  5. CleanSpec.mk