@Override
 protected void tearDown() throws Exception {
   mHandlerThread.quitSafely();
   mHandler = null;
   mCameraListener = null;
   for (CameraHolder camera : mCameraHolders) {
     if (camera.isOpenned()) {
       camera.close();
       camera = null;
     }
   }
   super.tearDown();
 }
 protected void closeCamera(String cameraId) throws Exception {
   CameraHolder camera = getCameraHolder(cameraId);
   camera.close();
 }