summaryrefslogtreecommitdiff
path: root/src/com/android/stk/StkLauncherActivity.java
AgeCommit message (Collapse)Author
2022-09-27Prevent draw overlay on top of SimToolKit dialog am: aa8d8c37e1arunvoddu
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Stk/+/20011152 Change-Id: I84751f85d22e87bb541f9eb3587e0651686226d5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27Prevent draw overlay on top of SimToolKit dialogandroid-13.0.0_r82android-13.0.0_r81android-13.0.0_r80android-13.0.0_r74android-13.0.0_r73android-13.0.0_r72android-13.0.0_r66android-13.0.0_r65android-13.0.0_r64android-13.0.0_r60android-13.0.0_r59android-13.0.0_r58android13-qpr3-c-s8-releaseandroid13-qpr3-c-s7-releaseandroid13-qpr3-c-s6-releaseandroid13-qpr3-c-s5-releaseandroid13-qpr3-c-s4-releaseandroid13-qpr3-c-s3-releaseandroid13-qpr3-c-s2-releaseandroid13-qpr3-c-s12-releaseandroid13-qpr3-c-s11-releaseandroid13-qpr3-c-s10-releaseandroid13-qpr3-c-s1-releasearunvoddu
Bug: 227203202 Test: Manual Verification done Change-Id: Ie2cc6d9fd45980515cc481ecca415577389ea8f8 (cherry picked from commit b169eb572e57f8a24a51ba8bf14c61eeec2cb646)
2022-05-19Use Foo.class.getSimpleName() for LOG_TAGJared Duke
Avoid calling getSimpleName() on a class type determined at runtime. This prevents issues with more aggressive R8 optimizations. Note: Should the Stk app ever switch to using obfuscation, it's probably better to switch to fixed strings for logging tags. Bug: 215530220 Test: m + presubmit Change-Id: I1012148cebf8fe5034bb0283c39853e6322233b1
2019-11-05Remove PhoneConstants.SIM_ID_1Yoshiaki Naka
It is not recommended to use PhoneConstants.SIM_ID_1 as it is @hide API. Bug: 130142364 Test: Manually checked the basic behaviors. Change-Id: I8bb4c54e4625594619d04b8806c9585574d9b06d
2019-11-05Replace CatLog.d(this) with CatLog.d(LOG_TAG) in SIM Toolkit classesYoshiaki Naka
CatLog.d(this) is found here and there though each class has LOG_TAG. It shold be replaced with CatLog.d(LOG_TAG). Bug: 130142364 Test: Manually checked output logs. Change-Id: Iaff476a3257b6cc485523908f3ff0ad4ae7f3126
2017-10-25Support preset STK names and icons for MSIM modelTakanori Nakano
This change provides an easy way to replace the STK application name and icon displayed on the launcher activity with preset resources. There are many SIM cards in the market that send SET-UP MENU command with no alpha identifier. This change improves the usability of multi-SIM models in such cases. Bug: 31295893 Change-Id: I437fa761cdd8bf47eee660c7bb2828b84c91e8af
2017-10-23Avoid NPE caused by SIM card without main menuYoshiaki Naka
Currently the launcher activity attempts to add SIM card to the list even if it has no main menu. SIM cards with no main menu must never be counted in the loop. Bug: 67885012 Test: Confirmed that NPE does not occur in that situation. Change-Id: If20ff1a2d88a27ee77da5465ec8342c76360ad53
2017-05-30Add action bar to display the option menu itemsandroid-vts-8.0_r2android-vts-8.0_r1oreo-devTakanori Nakano
Some test cases in 3GPP TS 51.010-4 require End Session or Help option. Refer to TC 27.22.4.2.1 Expected Sequence 1.4 (GET INKEY), TC 27.22.4.9.1 Expected Sequence 1.4 (SELECT ITEM) and so on. Bug: 33329277 Test: manual - confirmed that the options are available as expected. Change-Id: I1016090d5ab0e0b878eee97d8a58bbeac360e0d1
2016-06-02Show the menu title instead of the application name if it is availableTakanori Nakano
Show the menu title on the launcher activity if it is provided by SET-UP MENU command. This change improves the usability of MSIM products as requested by operators. Bug: 29030384 Change-Id: Ida2de5204df4575ecab95cc5533c66785e6e597c
2014-12-17Stk App bug fix and code refine.Legler Wu
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
2014-10-20STK App DSDS supportWink Saville
Change-Id: I8d0a9ac406327fa91d78119df2953a417b4e4cb6
2009-06-09Cleanup whitespace.Wink Saville
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2008-12-17Code drop from //branches/cupcake/...@124589The Android Open Source Project