Set public methods to private

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

View file

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