Fix Javadocs

pull/360/head
Mattia Iavarone 6 years ago
parent 07f421e7e0
commit 8e8818af78
  1. 2
      cameraview/src/main/java/com/otaliastudios/cameraview/CameraView.java
  2. 2
      cameraview/src/main/utils/com/otaliastudios/cameraview/CameraUtils.java

@ -1068,7 +1068,7 @@ public class CameraView extends FrameLayout implements LifecycleObserver {
/**
* <strong>ADVANCED FEATURE</strong> - sets a size selector for the preview stream.
* The {@link SizeSelector} will be invoked with the list of available sizes, and the first
* acceptable size will be accepted and passed to the internal engine & surface.
* acceptable size will be accepted and passed to the internal engine and surface.
*
* This is typically NOT NEEDED. The default size selector is already smart enough to respect
* the picture/video output aspect ratio, and be bigger than the surface so that there is no

@ -121,6 +121,7 @@ public class CameraUtils {
* is that this cares about orientation, reading it from the EXIF header.
*
* @param source a JPEG byte array
* @return decoded bitmap or null if error is encountered
*/
@SuppressWarnings("WeakerAccess")
@Nullable
@ -223,6 +224,7 @@ public class CameraUtils {
* @param maxWidth the max allowed width
* @param maxHeight the max allowed height
* @param options the options to be passed to decodeByteArray
* @return decoded bitmap or null if error is encountered
*/
@SuppressWarnings({"SuspiciousNameCombination", "WeakerAccess"})
@Nullable

Loading…
Cancel
Save