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

Commit 4f5a8fac authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Send callback if CDMA is not supported in call forwarding/waiting functions" am: 85f5ae01

Change-Id: I7c5e74d8500da76de7f1899ec1c1f61ccabe3ae1
parents 2425d726 85f5ae01
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2054,6 +2054,9 @@ public class GsmCdmaPhone extends Phone {
            }
        } else {
            loge("getCallForwardingOption: not possible in CDMA without IMS");
            AsyncResult.forMessage(onComplete, null,
                    CommandException.fromRilErrno(RILConstants.REQUEST_NOT_SUPPORTED));
            onComplete.sendToTarget();
        }
    }

@@ -2105,6 +2108,9 @@ public class GsmCdmaPhone extends Phone {
            }
        } else {
            loge("setCallForwardingOption: not possible in CDMA without IMS");
            AsyncResult.forMessage(onComplete, null,
                    CommandException.fromRilErrno(RILConstants.REQUEST_NOT_SUPPORTED));
            onComplete.sendToTarget();
        }
    }

@@ -2231,6 +2237,9 @@ public class GsmCdmaPhone extends Phone {
            mCi.setCallWaiting(enable, serviceClass, onComplete);
        } else {
            loge("method setCallWaiting is NOT supported in CDMA without IMS!");
            AsyncResult.forMessage(onComplete, null,
                    CommandException.fromRilErrno(RILConstants.REQUEST_NOT_SUPPORTED));
            onComplete.sendToTarget();
        }
    }