Fix android.os.strictmode.LeakedClosableViolation

Test: Check log.

Change-Id: I488fc6c4288bc3843a2be35a8e2988738441263e
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
This commit is contained in:
Taesu Lee
2020-02-12 09:54:01 +09:00
parent ce85205894
commit 050bc461fc
5 changed files with 57 additions and 27 deletions
@@ -636,6 +636,7 @@ class CameraManager implements FocusOverlayManager.Listener {
}
}
mMediaRecorder.closeVideoFileDescriptor();
mMediaRecorder.release();
mMediaRecorder = null;