Skip to content

Commit 5f3142f

Browse files
committed
drop Qualcomm PSDS support
1 parent 4d408d7 commit 5f3142f

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

core/java/android/ext/settings/GnssSettings.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,8 @@ public class GnssSettings {
2727
PSDS_SERVER_GRAPHENEOS, PSDS_SERVER_STANDARD, PSDS_DISABLED // valid values
2828
);
2929

30-
public static final String PSDS_TYPE_QUALCOMM_XTRA = "qualcomm_xtra";
31-
32-
public static final IntSysProperty VENDOR_PSDS_SETTING = new IntSysProperty(
33-
// keep in sync with bionic/libc/bionic/gnss_psds_setting.c
34-
"persist.sys.gnss_psds",
35-
PSDS_SERVER_GRAPHENEOS, // default
36-
PSDS_SERVER_GRAPHENEOS, PSDS_SERVER_STANDARD, PSDS_DISABLED
37-
);
38-
3930
public static IntSetting getPsdsSetting(Context ctx) {
40-
String type = ctx.getString(com.android.internal.R.string.config_gnssPsdsType);
41-
switch (type) {
42-
case PSDS_TYPE_QUALCOMM_XTRA:
43-
return VENDOR_PSDS_SETTING;
44-
default:
45-
return STANDARD_PSDS_SETTING;
46-
}
31+
return STANDARD_PSDS_SETTING;
4732
}
4833

4934
public static boolean isStandardPsds(Context ctx) {

0 commit comments

Comments
 (0)