Merge branch '3029-old-edge' into 'master'

Disable edge-to-edge for Android 10 and below

Closes #3029

See merge request fdroid/fdroidclient!1567
This commit is contained in:
Michael Pöhn
2025-07-09 09:33:23 +00:00
2 changed files with 4 additions and 2 deletions

View File

@@ -120,7 +120,8 @@ public class AppDetailsActivity extends AppCompatActivity
fdroidApp.setSecureWindow(this);
fdroidApp.applyPureBlackBackgroundInDarkTheme(this);
EdgeToEdge.enable(this);
// Edge-to-edge has a bug in Android 10 (and lower?) where end of page is overlayed
if (Build.VERSION.SDK_INT > 29) EdgeToEdge.enable(this);
super.onCreate(savedInstanceState);
setContentView(R.layout.app_details2);

View File

@@ -125,7 +125,8 @@ public class ManageReposActivity extends AppCompatActivity implements RepoAdapte
fdroidApp.setSecureWindow(this);
fdroidApp.applyPureBlackBackgroundInDarkTheme(this);
EdgeToEdge.enable(this);
// Edge-to-edge has a bug in Android 10 (and lower?) where end of page is overlayed
if (Build.VERSION.SDK_INT > 29) EdgeToEdge.enable(this);
repoManager = FDroidApp.getRepoManager(this);
super.onCreate(savedInstanceState);