Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b64af7cc authored by Ethan Chen's avatar Ethan Chen
Browse files

Telephony: Update getVoiceCallForwardingFlag return type

* This returns -1, 0, or 1 now, adjust accordingly.

Change-Id: Ic85e85fb76fbcc7745ec66c8319d5c3ee8076734
parent e8df7c2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -331,7 +331,7 @@ public class GSMPhone extends PhoneBase {
        boolean cf = false;
        IccRecords r = mIccRecords.get();
        if (r != null && r.isCallForwardStatusStored()) {
            cf = r.getVoiceCallForwardingFlag();
            cf = r.getVoiceCallForwardingFlag() == IccRecords.CALL_FORWARDING_STATUS_ENABLED;
        } else {
            cf = getCallForwardingPreference();
        }
+1 −1
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ public class ImsPhone extends ImsPhoneBase {
        boolean cf = false;
        IccRecords r = getIccRecords();
        if (r != null && r.isCallForwardStatusStored()) {
            cf = r.getVoiceCallForwardingFlag();
            cf = r.getVoiceCallForwardingFlag() == IccRecords.CALL_FORWARDING_STATUS_ENABLED;
        } else {
            cf = getCallForwardingPreference();
        }