Use getRadioTechnology call instead of getRilVoiceRadioTechnology
getRilVoiceRadioTechnology had obsoleted getRadioTechnology
We are using the obsolete method to get bluetooth master compile
with aosp build for Broadcom branch.
Change-Id: Ica4258f99be82a2b0e04f74eac0bc5ee95f0a914
diff --git a/src/com/android/bluetooth/hfp/HeadsetPhoneState.java b/src/com/android/bluetooth/hfp/HeadsetPhoneState.java
index 30639d8..f6d282c 100755
--- a/src/com/android/bluetooth/hfp/HeadsetPhoneState.java
+++ b/src/com/android/bluetooth/hfp/HeadsetPhoneState.java
@@ -238,10 +238,11 @@
cdmaIconLevel = (levelDbm < levelEcio) ? levelDbm : levelEcio;
+ // STOPSHIP: Change back to getRilVoiceRadioTechnology
if (mServiceState != null &&
- (mServiceState.getRilVoiceRadioTechnology() ==
+ (mServiceState.getRadioTechnology() ==
ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0 ||
- mServiceState.getRilVoiceRadioTechnology() ==
+ mServiceState.getRadioTechnology() ==
ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_A)) {
int evdoEcio = signalStrength.getEvdoEcio();
int evdoSnr = signalStrength.getEvdoSnr();