From cba2996aa661e04e591a7ecb48369cc9289a3bf6 Mon Sep 17 00:00:00 2001 From: "hoonsung.park" Date: Mon, 6 Jul 2015 23:17:38 +0900 Subject: 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 --- src/com/android/stk/StkInputActivity.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/com/android') 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 -- cgit v1.2.3