Skip to content

Commit

Permalink
Bump quality of camera1 photos.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Mar 27, 2020
1 parent 2b58dcb commit 264d353
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -168,6 +168,7 @@ private Camera.Size getClosestSize(List<Camera.Size> sizes, int width, int heigh
while (i < sizes.size() && (sizes.get(i).width * sizes.get(i).height) < (width * height)) {
i++;
}
i++;

return sizes.get(Math.min(i, sizes.size() - 1));
}
Expand Down

0 comments on commit 264d353

Please sign in to comment.