Stk: Timer Related Fixes
Stk: Timer not getting cancelled after user response
After user response, the timer should be cancelled.
Else the timer would expire and sends an untimely
Terminal response with RES_ID_TIMEOUT.
Stk: StkDialog activity should not cancel timer when it is paused
During display text, if any higher / lower priority events
such as incoming call, new sms, screen off intent,
notification alerts, user actions such as 'User moving to
another activtiy' etc.. occur during Display Text ongoing session,
this activity would receive 'onPause()' evt resulting in
cancellation of the timer. As a result no terminal response is
sent to the card
Stk: StkMenu/StkInput activity should not cancel timer when paused
During SelectItem / GetInkey / GetInput, if any
higher / lower priority events such as incoming call,
new sms, screen off intent,notification alerts,
user actions such as 'User moving to another activtiy' etc..
occur during SELECT ITEM / GETINKEY / GETINPUT ongoing session
respectively, the respective activity would receive
'onPause()' evt resulting in cancellation of the timer.
As a result no terminal response is sent to the card
Bug: 17553408
Change-Id: I0a214c037c3a53f65484104bb819c91bbea7fddd
3 files changed