mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Implement landscape calling.
This commit is contained in:
committed by
Greyson Parrelli
parent
6e55bc04ab
commit
e7720640d1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user