History log of /packages/apps/Stk/src/com/android/stk/StkAppService.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/StkAppService.java
805eb57683f8a55ac77551262a6d71899a80890d 02-May-2017 fionaxu <fionaxu@google.com> support locale change for notification channel

Bug: 37911731
Test: Manual
Change-Id: I8b6f6aa679801a7804dc5f246e166cf725b4d075
/packages/apps/Stk/src/com/android/stk/StkAppService.java
2c91c75e8c6b25ba4fe22b77f6574eaab9b06d3b 22-Apr-2017 fionaxu <fionaxu@google.com> stk app supports notification channel

Bug: 37475310
Test: Manual Test
Change-Id: I1045e5c4ac55e1b6667955857d614acee460bf81
/packages/apps/Stk/src/com/android/stk/StkAppService.java
21caf67c2bc6b8e86ad3073eea8b5021cf876503 08-Feb-2017 Pankaj Kanwar <pkanwar@google.com> Merge "NPE in Stk app." am: b9ae9b4240
am: 9287dcf912

Change-Id: Ie0dc242c4d969605c958082de8fe04632d99d520
eab12f30fbaad5c6d87d3e9f561c2deb257e2040 06-Feb-2017 pkanwar <pkanwar@google.com> NPE in Stk app.

Added null checks.

Bug: 35032559
Test: No tests.
Change-Id: I66e68b9492d99bbe9e19846cb5d5415ddbb6a3c7
/packages/apps/Stk/src/com/android/stk/StkAppService.java
a4160473fb449d77b9e369e2f36486f0b8f98453 13-Oct-2016 Sooraj Sasindran <sasindran@google.com> Introduce the config to disable LAUNCH_BROWSER

LAUNCH BROWSER STK command may need to be disabled
if carrier would not want the default behavior.
So introduce a carrierconfig key for the same.

Test: Swapped the sprint sim cards and verified
that browser launch do not happen

Merged-in:Icf6d206af60b0c84dcacbd6bd3326140f5a0f21a
BUG=31257758

Change-Id: Icf6d206af60b0c84dcacbd6bd3326140f5a0f21a
/packages/apps/Stk/src/com/android/stk/StkAppService.java
029332b21fd04eac31fe2281701ef871502b4144 05-Oct-2016 Tsukasa Goto <tsukasa.x.goto@sonymobile.com> Stop StkAppService when no CatService is available

StkAppService does not stop itself when phone starts with no SIM card if
it is dual SIM model. That is because the initial state of CatService
(mStkService) is STATE_UNKNOWN. The state of the service must not be
checked if CatService does not exist.

Bug: 31979523
Test: Confirmed StkAppService is correctly stopped with no SIM card.

Change-Id: I22275cedbb77fb9abd259845c73b5f14dfff5fdb
/packages/apps/Stk/src/com/android/stk/StkAppService.java
eaae308f1eb63354e922f065747a5e3dc931a838 22-Aug-2016 Amit Mahajan <amitmahajan@google.com> Merge "Invalidate launchMenuActivity at the time of call"
am: 7ea9a57532

Change-Id: I5c33445f09095ce3c0ae4fc7e54eaeaa77acbf7e
7ea9a57532919b696f3756fcda26ef59ad3a1ab1 22-Aug-2016 Amit Mahajan <amitmahajan@google.com> Merge "Invalidate launchMenuActivity at the time of call"
4316449f63e09f008ad174dc4737126d82dd6f90 13-Jul-2016 Ryuto Sawada <ryuto.x.sawada@sonymobile.com> Merge \"Shorten the sleep duration for LAUNCH BROWSER command\"
am: a7d25a2ab8

Change-Id: I56a77f78918441c8bf5129e7c32c0984c0d21888
350aaa604731e2739c77ab140dfc935a1fd3a819 13-Jun-2016 Ryuto Sawada <ryuto.x.sawada@sonymobile.com> Shorten the sleep duration for LAUNCH BROWSER command

Currently ServiceHandler sleeps 10 seconds right after broadcasting an
intent to launch a browser application, but 10 seconds is too long and
ServiceHandler cannot handle next user operation if user comes back from
the browser application to the STK application quickly.
To fix the issue, shorten the sleep duration.

Bug: 29863555
Change-Id: Ia0e6af5bca42f174675df6dad51de91002f5e795
/packages/apps/Stk/src/com/android/stk/StkAppService.java
98bc30c7686c69787d1fea6e05bcc8526f5e80bc 02-Jun-2016 Ryuto Sawada <ryuto.x.sawada@sonymobile.com> Merge "LAUNCH_BROWSER cmd should not be handled by Setup Wizard application" am: 98e8c86455
am: be277b9bb4

* commit 'be277b9bb485502342875c8e9e78a8bac91a7088':
LAUNCH_BROWSER cmd should not be handled by Setup Wizard application

Change-Id: I86a29c3df82cfc8e750c56fbfc06a3f88440f785
0bdc71924b41bc51e3d71118a1ae77f532f60ef9 17-Apr-2016 Ryuto Sawada <ryuto.x.sawada@sonymobile.com> LAUNCH_BROWSER cmd should not be handled by Setup Wizard application

WebDialogActivity implemented in com.google.android.setupwizard.util is
Launched instead of a browser if Intent.ACTION_VIEW is broadcasted
with http/https schemes when the phone setup has not been
completed. WebDialogActivity cannot always handle user operations
on a carrier's SIM activation page which was displayed
because of the request from SIM, so it's better NOT to broadcast the
intent if the phone setup has not completed yet.

Bug: 29085544
Change-Id: I0ce7a4f87f477f13bd28ffb96bac23e75b67859d
/packages/apps/Stk/src/com/android/stk/StkAppService.java
10f053fd3b4b5d7c45e90acdccc6dfb055f580cc 18-Dec-2015 Tsukasa Gotou <tsukasa.x.gotou@sonymobile.com> Invalidate launchMenuActivity at the time of call

When starting a call, execution of launchMenuActivity is unnecessary
and e.g. the menu will not terminate in one BACK key press.

Bug: 28368949
Change-Id: Ie96948b98ee5d2b53441172d253b28fa20484363
/packages/apps/Stk/src/com/android/stk/StkAppService.java
aede8199b1775189054283dbf3ee6b6e3d9af80f 24-Mar-2016 Amit Mahajan <amitmahajan@google.com> Merge "Specify appropriate slot ID for the secondary slot" into nyc-dev
49b12720e68890a3699e5c2deca5434c2bd583a6 16-Feb-2016 Takanori Nakano <takanori.x.nakano@sonymobile.com> Specify appropriate slot ID for the secondary slot

The service handler expects that 'msg.arg2' contains the appropriate
slot ID. The terminal always sends response only to the SIM card
inserted to the first slot if slot ID is not specified.

Bug: 27267663
Change-Id: I7df65f929ccd5c66bc4b62f87ae3049547589e01
/packages/apps/Stk/src/com/android/stk/StkAppService.java
1481b17edfca0644522c6315d36e4a52261ecf17 03-Feb-2016 Yuta Ui <yuta.x.ui@sonymobile.com> The Language Selection event must be notified to all SIMs

This change fixes the issue that only the SIM card inserted to the first
slot can receive LANGUAGE SELECTION event. The event must be notified to
all the inserted SIM cards if required.

Bug: 27267663
Change-Id: Ib69fad9befc7ddf129a6f090e3478ff17b95f635
/packages/apps/Stk/src/com/android/stk/StkAppService.java
44c11d01225db866b45f4d96f2cd6876204af4e3 04-Sep-2015 Amit Mahajan <amitmahajan@google.com> Merge "Stk: Icon related changes" into mnc-dr-dev
f33bf3996fcf13485081516354ac16552327a634 28-Sep-2013 Preeti Ahuja <preetia@codeaurora.org> Stk: Icon related changes

Return appropriate result code, if icon is not displayed
and display text msg only if icon display fails or if icon is not
self explanatory.

BUG=22637125
Change-Id: If4b10f267cbbb1385701b0e97210d369f9e61cea
/packages/apps/Stk/src/com/android/stk/StkAppService.java
a7cdca2272caa61ca36301320ec72fae0d16f6d2 02-Oct-2013 Preeti Ahuja <preetia@codeaurora.org> Correct handling of Launch Browser command.

1) Stk: Create STK Default Url via System Property

- Create a default url, specific to the STK module that
can be set via a system property.
- This url will be used when processing a launch browser
proactive command that contains no url data associated
with it.

2) Stk: Update Launch Browser If Not Already Launched Behavior

- Since the default browser supports tabs, it will never be considered
unavailable. Thus, there is no need to send a terminal
response with a browser unavailable result code.
- Suppress user confirmation when the browser mode is
launch if not already launched and the alphaid is null or contains
no text.

BUG=22637280
Change-Id: I44cc1736da3f962cc5a6d7afd7b7f84d845fdb25
/packages/apps/Stk/src/com/android/stk/StkAppService.java
bde7f03b500d003a377b54166aeb7bb6b799a430 29-May-2015 Cuihtlauac ALVARADO <cuihtlauac.alvarado@orange.com> Remove user input from logcat

Do not display text typed by the user in the radio logcat.

(cherrypicked from commit 779121815ba9a08ae8a021c9ae4274ae43b01cb2)

Change-Id: Ifeaa72009dbfe363f927d71af646633b67a329d3
/packages/apps/Stk/src/com/android/stk/StkAppService.java
a08cffe75844b8b6420b6d0b234605f67e289f66 05-Feb-2015 w30234 <w30234@motorola.com> STK: Check that main menu exists before retrieval

Bug: 19282177
Change-Id: Ie47020d49abef0c2296b96e5b3a78445e6e44fb6
/packages/apps/Stk/src/com/android/stk/StkAppService.java
aeefef5980a88d0dff10f4c81300789dca4aa1a5 26-Oct-2014 Legler Wu <legler.wu@mediatek.com> Stk App bug fix and code refine.

Major changes:

1. StkAppService.java :
line272~279: use getInstance(slotId)@CatService to get instance of cat service instead.
line303~307: remove redundant codes
line457~485: remove redundant codes
line693~695: fix the NPE if the first proactive command is not SET_UP_MENU.
line1109~1116: remove redundant codes.

2. StkMain.java (new file, is the launcher of Stk without UI(No_Display theme) :
To fix a short flash problem when entering Stk app for one SIM inserted case.
If inserted one SIM, it starts StkMenuActivity for showing main menu of the SIM.
If inserted two SIMs, it starts StkLauncherActivity which shows a list for inserted SIMs.

Bug: 18705342
Change-Id: If777f1cc0a16df38d1b534cd60ed7850b6072b22
/packages/apps/Stk/src/com/android/stk/StkAppService.java
5ad585e34d2d403adbf09b8d956c89d2f382459d 04-Nov-2014 w30234 <w30234@motorola.com> Restore main menu after handling SETUP_CALL cmd

Bug: 18238734
Change-Id: I7903fd1a11c0e0294d6f9dac0a9af855da023707
/packages/apps/Stk/src/com/android/stk/StkAppService.java
560be36930f4b2814b4978519b474571329b62b1 26-Nov-2014 Preeti Ahuja <preetia@codeaurora.org> Add support for idle screen notification

When the device is not in an interactive state or
when the screen off intent is received from the framework,
we can assume that the screen is idle.

Add support for idle screen available set up event list
and event download.

Handle normal priority and high priority display text
correctly.

Launch the Idle Mode Text when the idle screen notification
is received.

Bug: 18274506
Change-Id: Iff69fd8f998746a0fe37577b2bb63086478ef448
/packages/apps/Stk/src/com/android/stk/StkAppService.java
dd24010546e57a6b3d9932663b46cf1cabffc8ca 31-Aug-2013 Preeti Ahuja <preetia@codeaurora.org> Stk: Handle Null Alpha Identifer for Setup Call

- Per specification 102223 section 6.4.13:
If the first alpha identifier is not provided by the UICC
or is a null data object (ie. length is zero and has no
value part) , the default setup call message is sent.

Bug: 17646476
Change-Id: Ic978b262b41e8bd811fb87c2194830942594d5c8
/packages/apps/Stk/src/com/android/stk/StkAppService.java
b3d0e61b1666e77c6254c9f2e27771369ab3f8b1 20-Nov-2014 Preeti Ahuja <preetia@codeaurora.org> STK: Remove dependency on idle screen notification

1. Remove support for Idle Screen available set up
event list and event download.
2. Remove dependency of Set Up Idle Mode Text from
idle screen notification.
3. Remove dependency of Display Text command from
idle screen notification.

Bug: 17553408
Change-Id: I2c46a3b2cbb7fb029518ffa738379447de64e373
/packages/apps/Stk/src/com/android/stk/StkAppService.java
414bc414dba1ef9605a0ab6185700af9748e2187 26-Jun-2013 Preeti Ahuja <preetia@codeaurora.org> Stk: These changes are related to DISPLAY Text pro cmd

1. Handle high priority and normal priority display text
command correctly.

2. For display text with immediate response, send the terminal
response immediately after showing the text dialog. Block all
responses from StkDialogActivity, if display text is
with immediate response. Remove the check for response needed
in StkAppService, since un wanted responses are already
blocked in StkDialogActivity.

3. While the text is being displayed if a next Proactive command is
received, it should be acted upon immediately.

Bug: 17553408
Change-Id: I8dd74e0fb1434b0753cedfea2f2fcc1ba2f18067
/packages/apps/Stk/src/com/android/stk/StkAppService.java
9591934f86a8e10c1f9c4612883f8b6164ea427f 02-Oct-2013 Preeti Ahuja <preetia@codeaurora.org> Stk: Usat Phase 2 feature support

This change combines the following fixes:

1) Usat Phase 2 feature support
Added changes to support Idle screen, Language Selection.
Fix Display Alpha for proactive commands

2) Fix to display dialog for DISPLAY_TEXT commands
For Display Text commands that are low priority, we check the
Idle Screen status before displaying the dialog. However, the handling
for the result of the Idle Screen request is missing. Add this handling.

3) Fix crash on Idle Mode Text proactive command
After checking for screen status, use the saved command object
to process the Idle Mode Text command.

4) Stk: Update Manifest for modified Idle Screen Intent
Update StkCmdReceiver's intent-filter to use the updated idle
screen intent name

5) Stk: General Enhancements to StkAppService
i) Support GET_CHANNEL_STATUS command
ii)Set mMainCmd to null (SET_UP_MENU) only when we
receive a remove menu command
iii)Cleanup idlemode text code: Removed the intent extra
SCREEN_STATUS_REQUEST which is no longer used (introduced
in the change (3) above).

6) Handle LOCALE event properly

Bug: 17553408
Change-Id: Ie9a52f62bb520650eec68e3209fab1dd6343fe1c
/packages/apps/Stk/src/com/android/stk/StkAppService.java
0f4cf2fb3f49e5a093053d10406b1453fbde2055 09-Aug-2012 Preeti Ahuja <preetia@codeaurora.org> STK: CC feature implementation

Handle ALPHA_NOTIFY and display a toast mesage to user.

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

Change-Id: I8d0a9ac406327fa91d78119df2953a417b4e4cb6
/packages/apps/Stk/src/com/android/stk/StkAppService.java
62eb3fe77c437ecab6babe8e9aa2d94c5d604c2d 27-Aug-2014 Selim Cinek <cinek@google.com> Colored notifications

Bug: 17128331
Change-Id: Icf1f7f980602a8056b9b61b7be33ce138fb882f1
/packages/apps/Stk/src/com/android/stk/StkAppService.java
94e982b8bfb6132d142e328221181e3f878e30cf 11-Jul-2014 Wink Saville <wink@google.com> Stk: Support for modem re-start and ICC refresh

Uninstall the STK app, stop StkAppService and remove the idle text
when StkAppService receives the CARD_ABSENT/CARD_ERROR status.

IdleModeText and SETUP_MENU need to be cleared when a card refresh
occurs.

Bug: 12161291
Change-Id: I626ff5196270377d02c570703f46c5b272a115fd
(cherry picked from commit f48e483b46cfec93edc70fa9e39c8a7120b864f8)
(cherry picked from commit 8390bbbbfa8e170e81e8a99ab997fb1406d8e81a)
(cherry picked from commit dc0f924d464dbc093f1168f0e9a8bca8b0aea73c)
/packages/apps/Stk/src/com/android/stk/StkAppService.java
3848d4deb9c159b5ab9e7f629f92aa31276f53ec 30-Apr-2014 Wink Saville <wink@google.com> Merge "Revert "Stk: Add Support for alpha in REFRESH command.""
a457689e026d439bc61b77a04c5c103326679838 30-Apr-2014 Wink Saville <wink@google.com> Revert "Stk: Add Support for alpha in REFRESH command."

This reverts commit 38fe6a6cdb6b0a4c9ccf7040b82e4f08f7662833.

Change-Id: Ib80556ba6981d06152e3c4a36504f6712a59ceac
/packages/apps/Stk/src/com/android/stk/StkAppService.java
75daa839013cec4eaaf074d8ceec2bfb2c99f9f0 30-Apr-2014 Wink Saville <wink@google.com> Merge "Stk: Add Support for alpha in REFRESH command."
2ad2ab73ecabc7c223d3b649abacb2d64a839692 27-May-2013 Christopher Posselwhite <christopher.posselwhite@sonymobile.com> Improve STK idle mode text handling

The STK idle mode text was not shown as a ticker text in the idle
mode screen, but only when you dragged down the notification bar
to read the notification. Moreover, the text was shown without any
title which made the context of this notification unclear.

Now it shows the STK title text as specified by the SIM card.

Change-Id: I0388bebad5d9da26e934a5552aa19d876cc5405c
/packages/apps/Stk/src/com/android/stk/StkAppService.java
76abd4b04564e5a7ad7e98c54cef12d5090c4ece 22-Sep-2013 duho.ro <duho.ro@lge.com> STK: prevent to appear a home screen when DISPLAY_TEXT

This patch changes the acvity flag as FLAG_ACTIVITY_CLEAR_TOP from
FLAG_ACTIVITY_CLEAR_TASK. FLAG_ACTIVITY_CLEAR_TASK destroys all
activities and creates a new activity. The home screen is displayed
when DISPLAY_TEXT is occured and another STK activity is already performing.
If FLAG_ACTIVITY_CLEAR_TOP is used, another STK activity is brought to
foreground and then it is cleared. So, the home screen is not appeared.

Bug: 10316520
Change-Id: I19a9fb37e091c30e0094b7734fbb5e406aae47f2
/packages/apps/Stk/src/com/android/stk/StkAppService.java
38fe6a6cdb6b0a4c9ccf7040b82e4f08f7662833 12-Apr-2013 Suresh Koleti <skolet@codeaurora.org> Stk: Add Support for alpha in REFRESH command.

RIL_UNSOL_STK_EVENT_NOTIFY is given by RIL in case there is alpha
id to be displayed to user in refresh proactive cmd.
Support is added to display Alpha id to user when this event comes
due to REFRESH proactive cmd.
Also if refresh mode is init or reset, idle mode text needs to be
cleared as per stk 3GPP spec 11.14. This logic is handled in stk
app to satisfy both the above requiremnts.

Change-Id: Ic16da08d611753f2ee4a5b288f46b985078ca46f
/packages/apps/Stk/src/com/android/stk/StkAppService.java
cacf7b8944cb0eb03cdb38b00aba7ffaac6971d5 17-Apr-2012 Siddartha Pothapragada <spotha@codeaurora.org> Stk: Open Channel Fixes

StkAppService: Fix OPEN CHANNEL user confirmation

-On receipt of OPEN CHANNEL , user confirmation needs to be set
if user acknowledges the message / command.

Stk: Show 'Toast indications' SEND DATA / RECV DATA and CLOSE CHANNEL

- Displaying Toast indication yields better UI experience when there are
multiple SEND / RCV DATA proactive commands in a single OPEN CHANNEL
session.

Bug: 10602211
Change-Id: Ib2ba51f9a41e875311e76943eae082d9e45f33c5
/packages/apps/Stk/src/com/android/stk/StkAppService.java
ae29158d46bced241f956896cab6588a89e0478a 02-Sep-2013 duho.ro <duho.ro@lge.com> STK : SIM Toolkit is not uninstalled

SIM Toolkit apk(Stk) is not unistalled whend a device booted up
after removed the SIM card. The CatService is not available
during NO SIM status and the device can not uninstall Stk.

Change-Id: I633c26551e1ae7e5230c1e68ce75fe6f6ca44dbb
/packages/apps/Stk/src/com/android/stk/StkAppService.java
46470e7d7b36d6510c864cb2b32a78a0b09ce8f7 17-Apr-2012 Siddartha Pothapragada <spotha@codeaurora.org> Stk: Open Channel Fixes

StkAppService: Fix OPEN CHANNEL user confirmation

-On receipt of OPEN CHANNEL , user confirmation needs to be set
if user acknowledges the message / command.

Stk: Show 'Toast indications' SEND DATA / RECV DATA and CLOSE CHANNEL

- Displaying Toast indication yields better UI experience when there are
multiple SEND / RCV DATA proactive commands in a single OPEN CHANNEL
session.

Bug: 10602211
Change-Id: Ib2ba51f9a41e875311e76943eae082d9e45f33c5
/packages/apps/Stk/src/com/android/stk/StkAppService.java
6ac0fe8b779e39d5000560c1710ca6f61dae48a8 11-Mar-2013 Wink Saville <wink@google.com> Merge "Fix to launch browser to home page"
840c82f34e96d3526516c5c55c0c270355561906 26-Feb-2013 Abhishek Adappa <aadappa@codeaurora.org> Fix to launch browser to home page

Certain STK commands don't provide a URL with which the browser
should be launched. For those tests, launch the browser with
the default homepage.

Bug:8312291
Change-Id: Ie9799dbe7bd73e9deeea65832af2bf58a71488d6
/packages/apps/Stk/src/com/android/stk/StkAppService.java
50e0a1db4e558a062763ed78d9de300cb133ff82 25-Jan-2013 Alex Khlivnuik <alex.khilvnuik@sonymobile.com> Stk notifications has purple background

Code was introduced in frameworks/base
96fd7c1c1acc03b40b1813ef65793560c175ef80 that makes notifications
refering to status_bar_latest_event_content.xml directly show up
in purple.

Using internal resource directly is discouraged, or at least the author
bids the user of this directly to have fun with the purple background.
The recommended way is to use the class Notification.Builder (Api 11)
to build your notifications. This commit uses Notification.Builder
class which setup the correct notification layout and background.

Change-Id: Idd850a16b7b68a40726a21947adc58cdcdfa1183
/packages/apps/Stk/src/com/android/stk/StkAppService.java
68fdeeae67e8f8e13978e3adbad0429815439f83 23-Jan-2013 Wink Saville <wink@google.com> Merge "StkAppSerice: Stop the service when CatService Instance is null"
5020557acfbd0277781c0b283d82baaddc435158 03-Jan-2013 Wink Saville <wink@google.com> Merge "Stk: Fix issue in DISPLAY TEXT-Sustained text"
3aec01c0d7d831bad20289df36fec77864f4155f 10-Feb-2011 Johan Hellman <ehelljo@stericsson.com> Added missing icon support to SETUP_CALLs setup phase

Change-Id: I973240f513e10da4b6a2693651ece7c19afe61be
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
/packages/apps/Stk/src/com/android/stk/StkAppService.java
854a25c27e36a2d8b9117abecb3573bec27bb535 01-Dec-2012 Jeevaka Badrappan <jeevaka.badrappan@intel.com> Stk: Fix issue in DISPLAY TEXT-Sustained text

3GPP TS 31.124 test case 27.22.4.1.4/1 Display Text -
sustained text is failing.

As per the CAT specification, text shall
be sustained until a subsequent proactive command
is received containing display data. Existing
dialog showing the text is not replaced with
the newly received text message resulting in
conformance case failing.

waitForUserResponse not set correctly and also
Intent.FLAG_ACTIVITY_MULTIPLE_TASK is used
resulting in a starting of a new task even if there
is an existing task.

Fix the issue by setting the waitForUserResponse
to false on response not needed and on screen
not available. Also, Intent.FLAG_ACTIVITY_CLEAR_TASK
is used as one of the flags in creating the intent
for launching the dialog.

Change-Id: Ic614f96883aaa92696982ca41d85a02341bcb132
Author: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Jeevaka Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 61998
/packages/apps/Stk/src/com/android/stk/StkAppService.java
87cda96d48c89f3fe8606241752ec5a8810ef692 17-Jul-2012 Banavathu, Srinivas Naik <snb@codeaurora.org> StkAppSerice: Stop the service when CatService Instance is null

ANR is seen in StkAppService because of ServiceHandler is not
created due to CatService is not running.

Stop Stkapp Service if Catservice is not running to avoid ANR.
Whenever service is started using StartService first onCreate
followed by onStart will be called. Next time onwards only
Onstart will be called due to this ServiceHandler will not intialize.
Hence moving corresponding code to onStart from onCreate.

Change-Id: I5a0a78d2012e3bf5aff2b5512dd21aa7bb96ec4a
/packages/apps/Stk/src/com/android/stk/StkAppService.java
d8e2ecdca2d1bc91f48cea59e96aa5b0b452e8a7 21-Apr-2012 Alex Yakavenka <ayakav@codeaurora.org> Stk: Fix crash due to race condition

StkAppService doesn't really need mStkService reference in the
constructor. It will need it to respond to proactive command.
By that time StkService has to exist (proactive command comes
from it)
/packages/apps/Stk/src/com/android/stk/StkAppService.java
8d3d017c09a4bf8e7d9c8bbdd7844e3a5e568dc0 05-Jan-2012 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> am 764167cd: Add support of dislaying Alpha tag for BIP commands

* commit '764167cd0542a766cafce2f30c7aba1cf9d4ea20':
Add support of dislaying Alpha tag for BIP commands
764167cd0542a766cafce2f30c7aba1cf9d4ea20 21-Oct-2011 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Add support of dislaying Alpha tag for BIP commands

Display dialogs when BIP related proactive commands are received.
"Open Channel" command will requre user input and a response will
be sent to Cat Service.

"Close Channel", "Send Data" and "Receive Data" command will
just show an alart dialog to notify the event to the user.

Bug:5165510
Change-Id: I350bdc7dfee2947cc0a4c7771ab4972e768c6ff9
/packages/apps/Stk/src/com/android/stk/StkAppService.java
468ac247534b1e4681a0a1f11fbbcdca25b84e7e 22-Nov-2011 dujin.cha <dujin.cha@samsung.com> am 2a0eb2ac: Update STK application

* commit '2a0eb2acdc369734e1264c8d8f9955d704508b53':
Update STK application
2a0eb2acdc369734e1264c8d8f9955d704508b53 11-Nov-2011 dujin.cha <dujin.cha@samsung.com> Update STK application

1. Add checking for 'https://' url in LaunchBrowser()
2. Add 'Removing idle mode text' in launchIdleText()
-the Idle text should be deleted while processing 'refresh'

Bug : 5602742
Change-Id: Ifc374966a3fa91af0750dddfc6a8d713fd93bc45
Signed-off-by: dujin.cha <dujin.cha@samsung.com>
/packages/apps/Stk/src/com/android/stk/StkAppService.java
277aa756946e032ac721b07b01e386ccfd24f7ae 03-Nov-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 11320079 to master

Change-Id: I64040d0fdc13e2510bc97ae47b8b3089e2e9339d
11320079f69879ffcf5881f83382ae03449aea73 03-Nov-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 486c1d0d to ics-mr1

Change-Id: I77a36bfbe444f5fcc926113c65baa5cfdd982f79
486c1d0da1a50afdda7264e338145a331ba172bb 02-Nov-2011 dujin.cha <dujin.cha@samsung.com> STK: Fix ActivityNotFoundException in 'launch browser' cmd.

Fix ActivityNotFoundException while handling 'launch browser' STK command.
If URL does not start with 'http://', it causes FATAL EXCEPTION.

Bug: 5559107
Change-Id: I5af43eb4d584412e294f3789f60513de22a7b043
Signed-off-by: dujin.cha <dujin.cha@samsung.com>
/packages/apps/Stk/src/com/android/stk/StkAppService.java
0662a40ec0089736ca5fe31d0e97a597e1b2f62b 02-Nov-2011 Wink Saville <wink@google.com> am dfd14622: am 046db4be: Fix NPE in STK application.

* commit 'dfd14622fab3463c3c62e0d402a3a4251feeee3e':
Fix NPE in STK application.
dfd14622fab3463c3c62e0d402a3a4251feeee3e 02-Nov-2011 Wink Saville <wink@google.com> am 046db4be: Fix NPE in STK application.

* commit '046db4bee9c4be21c61cc0d1b46ef46f21e315d8':
Fix NPE in STK application.
046db4bee9c4be21c61cc0d1b46ef46f21e315d8 02-Nov-2011 Wink Saville <wink@google.com> Fix NPE in STK application.

Fix NullPointerException while handling "refresh" command.

Bug: 5451736
Change-Id: I10f8382527193d5240715559d97ef6c06ceb1672
/packages/apps/Stk/src/com/android/stk/StkAppService.java
885adf34b162728a8c9c04fc16abb6b5fba04395 21-Oct-2011 David Brown <dab@google.com> DO NOT MERGE. Fix crash in STK app when launching browser

The problem was that StkAppService.launchBrowser() was calling

intent.setClassName("com.android.browser",
"com.android.browser.BrowserActivity");

when launching the browser. But in ICS, the browser that's actually
installed is from the package com.google.android.browser, not
com.android.browser. So right now, the STK crashes if it ever tries to
view a web page.

The fix is for the STK app to just not hardcode the browser package/class
name at all, since if you fire off a VIEW intent with an http: URI in the
data, you'll get whatever the default browser is. Also, if the STK gets a
request with no URI at all, we bring up http://google.com/ as a default
"home page".

Bug: 5489975
Change-Id: If3f9d1468562a5e7f948156aa8395525665bc9ff
/packages/apps/Stk/src/com/android/stk/StkAppService.java
7c03cfef65a056c490a4557606436302cb0bb385 21-Oct-2011 David Brown <dab@google.com> Fix crash in STK app when launching browser

The problem was that StkAppService.launchBrowser() was calling

intent.setClassName("com.android.browser",
"com.android.browser.BrowserActivity");

when launching the browser. But in ICS, the browser that's actually
installed is from the package com.google.android.browser, not
com.android.browser. So right now, the STK crashes if it ever tries to
view a web page.

The fix is for the STK app to just not hardcode the browser package/class
name at all, since if you fire off a VIEW intent with an http: URI in the
data, you'll get whatever the default browser is. Also, if the STK gets a
request with no URI at all, we bring up http://google.com/ as a default
"home page".

Bug: 5489975
Change-Id: If3f9d1468562a5e7f948156aa8395525665bc9ff
/packages/apps/Stk/src/com/android/stk/StkAppService.java
97503264db52c3bb23b436546390aba171c8e757 08-Nov-2010 Pierre Fröjd <pierre.frojd.x@sonyericsson.com> Fixing a Monkey crash in Stk.

Monkey test has reports nullpointer exception in
the RES_ID_INPUT case. Added a null check to avoid
future exceptions.

Change-Id: I489e3f389d9f37aa8f48eee399ee32ed5967b33e
/packages/apps/Stk/src/com/android/stk/StkAppService.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/StkAppService.java
b22e7d8c245f0ed30435227cd49e57aa0b526301 15-Dec-2009 John Joseph <jnjoseph@quicinc.com> Handle the case of Alpha Identifier being null.

When Alpha string is NULL, blank screen should not be displayed
for SEND SHORT MESSAGE proactive command.

GCF Testcase UMTS SIM/USIM 27.22.4.10.1 SEND SHORT MESSAGE - SEQ 1.7
/packages/apps/Stk/src/com/android/stk/StkAppService.java
d517689fb08e95c8e5a23385b5744ae5af2e4678 30-Nov-2009 Naveen Kalla <nkalla@quicinc.com> Send OK in terminal response if command specifies user response is not needed.

GCF Testcase GCF-PTCRB SAT/USAT 27.22.4.1.1seq1.5 expects OK if the command
qualifier specifies no user response is required. Send OK instead of
NO_RESPONSE_FROM_USER when userClear field is set to false.
/packages/apps/Stk/src/com/android/stk/StkAppService.java
62acae4b3214cdfe7e959d3a639abb8994918591 08-Oct-2009 John Wang <johnwang@google.com> Handle null intent in StkAppService.

Bug 2151421. The onStart() may be passed a null intent if a service is restarted and it need handle the null intent for now.
/packages/apps/Stk/src/com/android/stk/StkAppService.java
79085fcc5b4e54cc374e8720644ce4c1dc0004be 09-Jun-2009 Wink Saville <wink@google.com> Cleanup whitespace.
/packages/apps/Stk/src/com/android/stk/StkAppService.java
36eddd5bfa9047a6b9de2be4a5d6636b81634f97 29-May-2009 Wink Saville <wink@google.com> Update comment in onCreate.
/packages/apps/Stk/src/com/android/stk/StkAppService.java
56469d57db5e34913ec2ad1d28440ddfad9363a0 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
/packages/apps/Stk/src/com/android/stk/StkAppService.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/StkAppService.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/StkAppService.java
8a6da81b265c51d38a78557f3b05e11119d4f957 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/packages/apps/Stk/src/com/android/stk/StkAppService.java
2575de4c1b741eccab14ddf291cd91e9f4d36605 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/packages/apps/Stk/src/com/android/stk/StkAppService.java
28aadc2864433ec393fc93d46d9eba461f66ce89 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/packages/apps/Stk/src/com/android/stk/StkAppService.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/StkAppService.java