NetworkPickerActivity: remove setting of system UI layout flag

This was overseen in the recent migration.
This commit is contained in:
Andreas Schildbach 2024-10-20 12:08:33 +02:00
parent eb23268ebc
commit 59168f51c4

View file

@ -124,7 +124,6 @@ public class NetworkPickerActivity extends ComponentActivity implements Location
backgroundHandler = new Handler(backgroundThread.getLooper());
setContentView(R.layout.network_picker_content);
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION);
findViewById(android.R.id.content).setOnApplyWindowInsetsListener((v, insets) -> {
v.setPadding(insets.getSystemWindowInsetLeft(), 0, insets.getSystemWindowInsetRight(), 0);
return insets;