pull/319/head
matanelgabsi 7 years ago committed by GitHub
parent 026b57abfd
commit 099515b996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      cameraview/src/main/utils/com/otaliastudios/cameraview/CameraUtils.java

@ -98,7 +98,7 @@ public class CameraUtils {
*/
@SuppressWarnings("WeakerAccess")
public static void decodeBitmap(final byte[] source, final int maxWidth, final int maxHeight, final BitmapCallback callback) {
return decodeBitmap(source, maxWidth, maxHeight, new BitmapFactory.Options(), callback);
decodeBitmap(source, maxWidth, maxHeight, new BitmapFactory.Options(), callback);
}
/**
@ -116,7 +116,7 @@ public class CameraUtils {
* @param callback a callback to be notified
*/
@SuppressWarnings("WeakerAccess")
public static void decodeBitmap(final byte[] source, final int maxWidth, final int maxHeight, BitmapFactory.Options options, final BitmapCallback callback) {
public static void decodeBitmap(final byte[] source, final int maxWidth, final int maxHeight, final BitmapFactory.Options options, final BitmapCallback callback) {
final Handler ui = new Handler();
WorkerHandler.run(new Runnable() {
@Override

Loading…
Cancel
Save