mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 17:43:06 +02:00
Settings: language chooser can be used from Android 14/SDK34.
Part of #1974.
This commit is contained in:
@@ -42,7 +42,7 @@ public class LocalePreference extends ListPreference {
|
||||
|
||||
private void init(Context context) {
|
||||
setPersistent(false);
|
||||
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
|
||||
setEnabled(false);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user