Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e24ceb0b authored by Josh Chien's avatar Josh Chien Committed by Android (Google) Code Review
Browse files

Merge "Adjusted the systembar display in mock game test app to only hiding...

Merge "Adjusted the systembar display in mock game test app to only hiding statusbar while under immersive mode." into main
parents 20c56e7b 08a298aa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ public class GameActivity extends Activity implements SurfaceHolder.Callback {
        windowInsetsController.setSystemBarsBehavior(
                WindowInsetsControllerCompat.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
        );
        // Hide both the status bar and the navigation bar.
        windowInsetsController.hide(WindowInsetsCompat.Type.systemBars());
        // Hide status bar only to avoid flakiness on gesture quick switch cases.
        windowInsetsController.hide(WindowInsetsCompat.Type.statusBars());
    }
}