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 1313import android .os .Handler ;
1414import android .os .Looper ;
1515import android .view .Window ;
16- import android .view .View ;
1716import androidx .annotation .NonNull ;
1817import androidx .annotation .Nullable ;
1918import androidx .core .view .WindowCompat ;
20- import androidx .core .view .WindowInsetsAnimationControllerCompat ;
21- import androidx .core .view .WindowInsetsAnimationControlListenerCompat ;
2219import androidx .core .view .WindowInsetsCompat ;
2320import androidx .core .view .WindowInsetsControllerCompat ;
2421import io .flutter .Log ;
@@ -169,10 +166,10 @@ public void run() {
169166 }
170167
171168 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 ());
173171 insetController .setSystemBarsBehavior (
174- WindowInsetsControllerCompat .BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
175- );
172+ WindowInsetsControllerCompat .BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE );
176173 insetController .hide (WindowInsetsCompat .Type .systemBars ());
177174 }
178175}
You can’t perform that action at this time.
0 commit comments