private void onExitStartedState() {
   disconnectCamera();
   if (mCacheBitmap != null) {
     mCacheBitmap.recycle();
   }
 }