fix build error

This commit is contained in:
inotia00 2025-01-03 22:05:03 +09:00
parent 945b91eebb
commit a10e400cfa

View File

@ -522,6 +522,11 @@ public class Utils {
);
}
public static boolean isLandscapeOrientation() {
final int orientation = context.getResources().getConfiguration().orientation;
return orientation == Configuration.ORIENTATION_LANDSCAPE;
}
/**
* Automatically logs any exceptions the runnable throws.
*