summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhoonsung.park <hoonsung.park@lge.com>2015-07-06 23:17:38 +0900
committerVineeta Srivastava <vsrivastava@google.com>2015-07-10 00:38:41 -0700
commitcba2996aa661e04e591a7ecb48369cc9289a3bf6 (patch)
tree47c57b3a3f5fff80c1c86a37359a71a5cc45703a /src
parent6ec76899c90e1bdb0b14966c7894e6ae65eea406 (diff)
downloadStk-cba2996aa661e04e591a7ecb48369cc9289a3bf6.tar.gz
UICC: Destroy input activity when the terminal responose is sent.
After get input command processing, ME can get the display text command result of input text. User select OK for display text command, then get input screen is remainging and user cannot exit the STK apk in this status. Thus input activity should be destoryed after terminal response. Bug: 22108748, 22217602 Change-Id: I120e35f71c665810d150403130e90d2266afe786
Diffstat (limited to 'src')
-rw-r--r--src/com/android/stk/StkInputActivity.java4
1 files changed, 4 insertions, 0 deletions
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 @@ public class StkInputActivity extends Activity implements View.OnClickListener,
"], slot id: " + mSlotId);
startTimeOut();
appService.getStkContext(mSlotId).setPendingActivityInstance(null);
+ if (mIsResponseSent) {
+ cancelTimeOut();
+ finish();
+ }
}
@Override