History log of /packages/apps/Stk/src/com/android/stk/ToneDialog.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8dbe385fcede884b7871f7c5397873fe690b268b 14-Mar-2014 Srikanth Chintala <srikchin@codeaurora.org> Do not inform user when the alpha identifier is a null data.

This code change has below fixes related to play tone
proactive cmd.

1. Current code is not in accordance with the spec
3GPP TS 11.14, 6.4.5. Play Tone, as user is informed when the
alpha identifier is a null data.

With reference to the spec, if there is no alpha identifier,
show the text message to the user depending on the config setting.

If alpha identifier data is null, play only tone and do not
inform the user.

Move the code to handle play tone from ToneDialog to StkAppService
in cases where only tone needs to be played and no user inform needed.

Dismiss the tone dialog from StkAppService after play tone finish.

Send the intent to StkAppService from ToneDialog to finish
the play tone, when user presses back key.

Ref spec: 3GPP TS 11.14, 6.4.5. Play Tone.

2. Send the correct Message object for the Play Tone command.

When stopping the tone that is playing due to the Play Tone command,
a delayed Message is sent to StkAppService with its 'arg2' field
containing a flag that indicates if tone dialog activity needs to be
closed. But when handling the received messages, StkAppService expects
the Message object's 'arg2' field to contain the slot Id on which the
command is received. This causes unexpected behavior when executing
the Play Tone command.

Use a different field in the Message object to send the the value of
the flag which indicates if tone dialog activity needs to be closed.

3. set slotId in message for OP_STOP_TONE

- unable to send the response to the
correct sim card
- Set the slotId as arg2 in the message

Bug: 35615464
Test: manual
Change-Id: Ib25986efe1d7c26976015f666580a3deb28bb328
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
3350188abe8b3629ec4b291e3e2aab0edce17810 20-Apr-2017 Sanket Padawe <sanketpadawe@google.com> Fix crash in stk app.

Use alertdialog recommended by Material design and remove old dialog
for ToneDialog activity style.

Test: manual
Bug: 37198947
Change-Id: I07da028fb606b3b3af817ca26e03c344aabcd449
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
b97605d5a7b965e00ab4477232546f7ac3520f92 16-Jun-2016 Teruaki Minami <teruaki.x.minami@sonymobile.com> Support self-explanatory icon for PLAY TONE command

ETSI TS 102 384 TC 27.22.4.5.3 fails because it is expected to display
the self-explanatory icon without the alpha identifier.

TextMessage propagates the self-explanatory option specified by PLAY
TONE command, but ToneDialog does not consider it. If the icon is self-
explanatory, it should replace the alpha identifer.

Bug: 30007740
Change-Id: I945f6456a519551c57115deb0a5335f8707bb8a4
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
e68857da85f6fb0964da9d58a7cbfcc0348065c6 18-Oct-2014 Wink Saville <wink@google.com> STK App DSDS support

Change-Id: I8d0a9ac406327fa91d78119df2953a417b4e4cb6
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
075340e9d224c3e6aa57cc50ccc5adfeb1cdfe45 13-Aug-2013 Li Qiang <qiang1.li@sonymobile.com> Fix for play tone proactive command's wrong terminal response

After an abort has been initiated using the MMI of the ME,
the ME shall return a result of "Proactive UICC session
terminated by the user".

Change-Id: I7aa7e2a902e793e7e1235de6bfa7259f0010d17f
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
a8e4f50aead658df817e0c0434fc5fb261701208 27-Sep-2012 Wink Saville <wink@google.com> Fix mVibrator initialization.

getSystemService cannot be called during java#init, moving initialization
of mVibrator into onCreate.

Bug: 6886400
Change-Id: I644aa674fffb11ea755bd6d96169e43896c839f2
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
99fccc1c113d9b7a030dc7c945d0750748cc4af9 19-Jan-2011 Pierre Fröjd <pierre.frojd.x@sonyericsson.com> No response sent when backlight is OFF

When the LCD backlight is OFF while receiving a
PLAY TONE command, the onDestroy() method is called
immediately since the app is in the background.
In onDestroy() the STOP message is removed from the
handler queue which leads to no response is sent back to
StkAppService. This causes the RIL layer to send
TR 'ME currently unable to process command' back to the SIM.
Solution is to check if a response is sent before
removing any messages from the handler queue.

Change-Id: I7ac2e99b85b38576acfe72370aa55850cdc304a0
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
cdda1a6eeba3ef067d4c9692af7e67d0d140df2e 13-Apr-2012 Jeff Brown <jeffbrown@google.com> Get Vibrator from Context instead of using private API.

Bug: 6334179
Change-Id: I1582daff119a1e7d507f7e3b161710a75971a68e
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
d41f1d98d7bf42e9e867819593ad79f685604796 12-Jul-2010 Alex Yakavenka <ayakav@codeaurora.org> CAT: Use new Cat package from frameworks

As all stk related classes were moved to new Cat package this application
needs to use new package instead of old one.

Change-Id: I537c61318eff3677951af9639e9991425c418241
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
79085fcc5b4e54cc374e8720644ce4c1dc0004be 09-Jun-2009 Wink Saville <wink@google.com> Cleanup whitespace.
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
9d9730aecb72e830ef12d66ce6e084d8ae0928f2 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
4f140d1b04066e68d8236a41765ad06029e00105 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Stk/src/com/android/stk/ToneDialog.java
c46d8a06f810a3b5b570e43e7e0ed8b36efd23e5 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/packages/apps/Stk/src/com/android/stk/ToneDialog.java