diff --git a/library/src/main/java/com/android/gpstest/library/util/CarrierFreqUtils.java b/library/src/main/java/com/android/gpstest/library/util/CarrierFreqUtils.java index 182a15e5..a19a93dd 100644 --- a/library/src/main/java/com/android/gpstest/library/util/CarrierFreqUtils.java +++ b/library/src/main/java/com/android/gpstest/library/util/CarrierFreqUtils.java @@ -242,10 +242,7 @@ public static String getSbasCf(int svid, double carrierFrequencyMhz) { return getGlonassCf(carrierFrequencyMhz); } else if (svid == 130 || svid == 143 || svid == 144) { // BDSBAS (China) - if (MathUtils.fuzzyEquals(carrierFrequencyMhz, 1575.42, CF_TOLERANCE_MHZ)) { - return "B1C"; - } else if (MathUtils.fuzzyEquals(carrierFrequencyMhz, 1176.45, CF_TOLERANCE_MHZ)) { - return "B2a"; + return getBeidoucCf(carrierFrequencyMhz); } } return CF_UNKNOWN;