mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-05 15:48:53 +00:00
Set public methods to private
This commit is contained in:
parent
8a7b0f52a4
commit
58f198416d
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue