diff options
author | Wink Saville <wink@google.com> | 2014-04-30 01:30:25 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-04-30 01:30:25 +0000 |
commit | 75daa839013cec4eaaf074d8ceec2bfb2c99f9f0 (patch) | |
tree | 0e82820932f409b5c93387b261e754cf16ec82bf /src/com/android | |
parent | 2920bf91e2ecd2304cf658445870160137390e64 (diff) | |
parent | 38fe6a6cdb6b0a4c9ccf7040b82e4f08f7662833 (diff) | |
download | Stk-75daa839013cec4eaaf074d8ceec2bfb2c99f9f0.tar.gz |
Merge "Stk: Add Support for alpha in REFRESH command."
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/stk/StkAppService.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/com/android/stk/StkAppService.java b/src/com/android/stk/StkAppService.java index d98c14b..f5dc420 100644 --- a/src/com/android/stk/StkAppService.java +++ b/src/com/android/stk/StkAppService.java @@ -330,6 +330,7 @@ public class StkAppService extends Service implements Runnable { case SEND_USSD: case SET_UP_IDLE_MODE_TEXT: case SET_UP_MENU: + case REFRESH: case CLOSE_CHANNEL: case RECEIVE_DATA: case SEND_DATA: @@ -440,6 +441,16 @@ public class StkAppService extends Service implements Runnable { waitForUsersResponse = false; launchEventMessage(); break; + case REFRESH: + waitForUsersResponse = false; + launchEventMessage(); + // Idle mode text needs to be cleared for init or reset modes of refresh. + if (cmdMsg.isRefreshResetOrInit()) { + mNotificationManager.cancel(STK_NOTIFICATION_ID); + mIdleModeTextCmd = null; + CatLog.d(this, "Clean idle mode text due to refresh"); + } + break; case LAUNCH_BROWSER: launchConfirmationDialog(mCurrentCmd.geTextMessage()); break; |