Added support for split screen

This commit is contained in:
M66B
2020-10-11 12:31:51 +02:00
parent d38ffb3117
commit 3d3e943522
2 changed files with 14 additions and 0 deletions

View File

@@ -677,6 +677,10 @@ public class Helper {
return 0;
}
static boolean isSplitScreen() {
return ("Microsoft".equalsIgnoreCase(Build.MANUFACTURER) && "Surface Duo".equals(Build.MODEL));
}
// Graphics
static int dp2pixels(Context context, int dp) {