Provide an API to make USSD calls and read the responses.
Test: will be added in a subsequent CL.
Bug: 30973910
Change-Id: Iba06981ab665498e56e1980bd2bd65c6b4b7a83a
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 1f15cc7..ac4510a 100644
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -1486,9 +1486,8 @@
return handlePinMmiForSubscriber(getDefaultSubscription(), dialString);
}
- public void handleUssdRequest(String ussdRequest, ResultReceiver wrappedCallback) {
+ public void handleUssdRequest(int subId, String ussdRequest, ResultReceiver wrappedCallback) {
enforceCallPermission();
- int subId = getDefaultSubscription();
if (!SubscriptionManager.isValidSubscriptionId(subId)) {
return;
}