mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Add CallScreenMediator pattern to facilitate moving from views to compose.
This commit is contained in:
committed by
Greyson Parrelli
parent
f80ab7402a
commit
216c29c206
@@ -94,6 +94,10 @@ public final class FullscreenHelper {
|
||||
boolean hide = (visibility & View.SYSTEM_UI_FLAG_FULLSCREEN) != 0;
|
||||
|
||||
for (View view : views) {
|
||||
if (view == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
view.animate()
|
||||
.alpha(hide ? 0 : 1)
|
||||
.withStartAction(() -> {
|
||||
|
||||
Reference in New Issue
Block a user