Implement landscape calling.

This commit is contained in:
Alex Hart
2024-07-18 10:35:18 -03:00
committed by Greyson Parrelli
parent 6e55bc04ab
commit e7720640d1
29 changed files with 890 additions and 571 deletions

View File

@@ -39,6 +39,10 @@ public final class WindowUtil {
clearSystemUiFlags(window, View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR);
}
public static void clearTranslucentNavigationBar(@NonNull Window window) {
window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
}
public static void setLightNavigationBar(@NonNull Window window) {
if (Build.VERSION.SDK_INT < 27) return;