From 46b8e54155ec404c1ec73c1e8894c9ee1e8f0a49 Mon Sep 17 00:00:00 2001 From: Johnson145 Date: Sat, 30 Sep 2017 15:31:37 +0200 Subject: [PATCH] Fix javadoc errors (#55) --- .../main/java/com/otaliastudios/cameraview/CameraView.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cameraview/src/main/java/com/otaliastudios/cameraview/CameraView.java b/cameraview/src/main/java/com/otaliastudios/cameraview/CameraView.java index 5c97f25e..82772168 100644 --- a/cameraview/src/main/java/com/otaliastudios/cameraview/CameraView.java +++ b/cameraview/src/main/java/com/otaliastudios/cameraview/CameraView.java @@ -518,7 +518,9 @@ public class CameraView extends FrameLayout { /** * Checks that we have appropriate permissions for this session type. - * Throws if session = audio and manifest did not add the microphone permissions. + * Throws if session = audio and manifest did not add the microphone permissions. + * @param sessionType + * @param audio * @return true if we can go on, false otherwise. */ @SuppressLint("NewApi") @@ -1274,7 +1276,7 @@ public class CameraView extends FrameLayout { /** * Controls whether CameraView should play sound effects on certain * events (picture taken, focus complete). Note that: - * - On API level < 16, this flag is always false + * - On API level {@literal <} 16, this flag is always false * - Camera1 will always play the shutter sound when taking pictures * * @param playSounds whether to play sound effects