mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Enable edgeToEdge support for compose CallScreen.
This commit is contained in:
committed by
Jeffrey Starke
parent
515f3dd43f
commit
1056e79361
@@ -82,6 +82,10 @@ public final class WindowUtil {
|
||||
setSystemUiFlags(window, View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
|
||||
}
|
||||
|
||||
public static void clearTranslucentStatusBar(@NonNull Window window) {
|
||||
window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
|
||||
}
|
||||
|
||||
public static void setStatusBarColor(@NonNull Window window, @ColorInt int color) {
|
||||
window.setStatusBarColor(color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user