mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 12:48:35 +00:00
Bump quality of camera1 photos.
This commit is contained in:
parent
2b58dcbe7f
commit
264d353ec2
@ -168,6 +168,7 @@ class Camera1Controller {
|
|||||||
while (i < sizes.size() && (sizes.get(i).width * sizes.get(i).height) < (width * height)) {
|
while (i < sizes.size() && (sizes.get(i).width * sizes.get(i).height) < (width * height)) {
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
i++;
|
||||||
|
|
||||||
return sizes.get(Math.min(i, sizes.size() - 1));
|
return sizes.get(Math.min(i, sizes.size() - 1));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user