am cba2996a: UICC: Destroy input activity when the terminal responose is sent.
* commit 'cba2996aa661e04e591a7ecb48369cc9289a3bf6':
UICC: Destroy input activity when the terminal responose is sent.
diff --git a/src/com/android/stk/StkInputActivity.java b/src/com/android/stk/StkInputActivity.java
index 39c574d..53bea93 100644
--- a/src/com/android/stk/StkInputActivity.java
+++ b/src/com/android/stk/StkInputActivity.java
@@ -172,6 +172,10 @@
"], slot id: " + mSlotId);
startTimeOut();
appService.getStkContext(mSlotId).setPendingActivityInstance(null);
+ if (mIsResponseSent) {
+ cancelTimeOut();
+ finish();
+ }
}
@Override