Commit 5f8032c4 authored by Amit Mahajan's avatar Amit Mahajan Committed by android-build-merger
Browse files

Merge "Stop StkAppService when no CatService is available"

am: e3fb871d

Change-Id: Ic7f0b355d6624c23a166392e084419bf18cf6cc2
parents 57dfec01 e3fb871d
......@@ -313,6 +313,7 @@ public class StkAppService extends Service implements Runnable {
//If all StkServices are not available, stop itself and uninstall apk.
for (i = PhoneConstants.SIM_ID_1; i < mSimCount; i++) {
if (i != slotId
&& (mStkService[i] != null)
&& (mStkContext[i].mStkServiceState == STATE_UNKNOWN
|| mStkContext[i].mStkServiceState == STATE_EXIST)) {
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment