This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
testing/scenario_app/android/app/src/main/java/dev/flutter/scenarios Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 13
13
import android .os .Handler ;
14
14
import android .os .Looper ;
15
15
import android .view .Window ;
16
- import android .view .View ;
17
16
import androidx .annotation .NonNull ;
18
17
import androidx .annotation .Nullable ;
19
18
import androidx .core .view .WindowCompat ;
20
- import androidx .core .view .WindowInsetsAnimationControllerCompat ;
21
- import androidx .core .view .WindowInsetsAnimationControlListenerCompat ;
22
19
import androidx .core .view .WindowInsetsCompat ;
23
20
import androidx .core .view .WindowInsetsControllerCompat ;
24
21
import io .flutter .Log ;
@@ -169,10 +166,10 @@ public void run() {
169
166
}
170
167
171
168
private static void hideSystemBars (Window window ) {
172
- final WindowInsetsControllerCompat insetController = WindowCompat .getInsetsController (window , window .getDecorView ());
169
+ final WindowInsetsControllerCompat insetController =
170
+ WindowCompat .getInsetsController (window , window .getDecorView ());
173
171
insetController .setSystemBarsBehavior (
174
- WindowInsetsControllerCompat .BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
175
- );
172
+ WindowInsetsControllerCompat .BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE );
176
173
insetController .hide (WindowInsetsCompat .Type .systemBars ());
177
174
}
178
175
}
You can’t perform that action at this time.
0 commit comments