Fix invalid return type: IccIoResult instead of IccOpenLogicalChannelResponse
Bug: 18984930
Change-Id: Ib8194c198dd7fce504cd33ca9f3fd0777d80b758
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 68b6823..762897e 100644
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -463,7 +463,8 @@
request = (MainThreadRequest) msg.obj;
if (uiccCard == null) {
loge("iccOpenLogicalChannel: No UICC");
- request.result = new IccIoResult(0x6F, 0, (byte[])null);
+ request.result = new IccOpenLogicalChannelResponse(-1,
+ IccOpenLogicalChannelResponse.STATUS_MISSING_RESOURCE, null);
synchronized (request) {
request.notifyAll();
}