Set public methods to private

This commit is contained in:
gz0119 2025-03-11 19:28:27 +08:00
commit 58f198416d

View file

@ -209,7 +209,7 @@ public class SurfaceEncoder implements AsyncProcessor {
return true; return true;
} }
public static int chooseMaxSizeFallback(Size failedSize) { private static int chooseMaxSizeFallback(Size failedSize) {
int currentMaxSize = Math.max(failedSize.getWidth(), failedSize.getHeight()); int currentMaxSize = Math.max(failedSize.getWidth(), failedSize.getHeight());
for (int value : MAX_SIZE_FALLBACK) { for (int value : MAX_SIZE_FALLBACK) {
if (value < currentMaxSize) { if (value < currentMaxSize) {