Skip to content

Commit ac294de

Browse files
committed
simplify PSDS setting post-Qualcomm-removal
1 parent 7d5375f commit ac294de

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/com/android/settings/location/GnssPsdsPrefController.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,7 @@ public void addPrefsAfterList(RadioButtonPickerFragment2 fragment, PreferenceScr
4343
@Override
4444
protected void getEntries(Entries entries) {
4545
entries.add(R.string.psds_enabled_grapheneos_server, GnssSettings.PSDS_SERVER_GRAPHENEOS);
46-
int standardServerString;
47-
switch (psdsType) {
48-
default:
49-
standardServerString = R.string.psds_enabled_standard_server;
50-
break;
51-
}
52-
entries.add(standardServerString, GnssSettings.PSDS_SERVER_STANDARD);
46+
entries.add(R.string.psds_enabled_standard_server, GnssSettings.PSDS_SERVER_STANDARD);
5347
entries.add(R.string.psds_disabled, R.string.psds_disabled_summary, GnssSettings.PSDS_DISABLED);
5448
}
5549
}

0 commit comments

Comments
 (0)