• Legler Wu's avatar
    Stk App bug fix and code refine. · aeefef59
    Legler Wu authored
    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
    aeefef59
AndroidManifest.xml 5.35 KB