summaryrefslogtreecommitdiff
path: root/src/com
AgeCommit message (Collapse)Author
2021-02-22Make intent immutableJordan Liu
Bug: 179047632 Test: build Change-Id: Ief2c93d2f59f1b0e442694f24871116f515f6260 (cherry picked from commit e030178897b44aebb610cc3157c2b5cd2fb81ea3)
2020-10-13Follow rename of HomeVisibilityObserverHall Liu
Rename to HomeVisibilityListener Bug: 170226810 Test: atest ActivityManagerTest Change-Id: I37eef12435af3411f2d6d78980000b92ae6d27e8
2020-10-13Revert "Follow rename of HomeVisibilityObserver"Makoto Onuki
Revert "Expose the HomeVisibilityListener API" Revert "Add CTS for HomeVisibilityListener" Revert submission 12775890-home-vis-listener Reason for revert: broke build, b/170776449 Reverted Changes: I8e6de3267:Add CTS for HomeVisibilityListener I33d943603:Follow rename of HomeVisibilityObserver I5d99f2bad:Expose the HomeVisibilityListener API Change-Id: I1c4507ade4c84d114a199079cee40b3568d8710d
2020-10-06Follow rename of HomeVisibilityObserverHall Liu
Rename to HomeVisibilityListener Bug: 170226810 Test: atest ActivityManagerTest Change-Id: I33d943603735e9a334c9b8f68439ac190b5e2ba8
2020-08-21Set OP to msg.what instead of msg.arg1 am: 468951abd0Jordan Liu
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Stk/+/12424843 Change-Id: Ie22718250c752e7f87ac5beedb1d600fbbb6e0ce
2020-08-21Set OP to msg.what instead of msg.arg1Jordan Liu
Bug: 161207764 Test: manual Change-Id: I6fc37039c2153211c5bc669aca4a2e642dfd935a
2020-08-13Do not set notification title to app name am: 3bd92cda73Jordan Liu
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Stk/+/12363181 Change-Id: I03e6021808fa1245a45a874890214e0eef75b6ac
2020-08-12Do not set notification title to app nameJordan Liu
This aligns the behavior of lockscreen notifications with that of idle screen notifications (see line 2153: for notifications posted when screen is idle, we either set the notification title to the menu title (if we are currently handling an STK menu) or we set it to "".) Note that the app name will still be visible on the notifcation. Bug: 162908615 Test: manual Change-Id: I1944307dbddb8744123d34954ed5dcf0b5eddc6e
2020-08-06Treat recentapps as home press for STK dialogsJordan Liu
For interactive STK dialogs which listen for user presses of the HOME key, we will treat RECENTAPPS presses as equivalent. The reason for this is because with new gesture-based navigation it's hard for the user to trigger a HOME press, and the same user intention often triggers a RECENTAPPS press. Bug: 161207764 Test: manual Change-Id: Ib64068f191e62b7103472d39525305be3dab59c8 Merged-In: Ib64068f191e62b7103472d39525305be3dab59c8
2020-08-05Merge "Treat recentapps as home press for STK dialogs" am: 2708362895 am: ↵Jordan Liu
369b84b595 Original change: https://android-review.googlesource.com/c/platform/packages/apps/Stk/+/1389216 Change-Id: I167b47c0fc642799fd4b32088e7b7b863859ec82
2020-08-04Treat recentapps as home press for STK dialogsJordan Liu
For interactive STK dialogs which listen for user presses of the HOME key, we will treat RECENTAPPS presses as equivalent. The reason for this is because with new gesture-based navigation it's hard for the user to trigger a HOME press, and the same user intention often triggers a RECENTAPPS press. Bug: 161207764 Test: manual Change-Id: Ib64068f191e62b7103472d39525305be3dab59c8 Merged-In: Ib64068f191e62b7103472d39525305be3dab59c8
2020-05-14Merge "Fix the incorrect title for DISPLAY TEXT dialog." am: 2296b3cb2b am: ↵Jordan Liu
a0bbc5e35a Change-Id: I1b08668e06dd1ae4d2400fc6c6f5da429045de2d
2020-05-14Merge "Fix the incorrect title for DISPLAY TEXT dialog."Jordan Liu
2020-05-04Merge "Close Tone Dialog if the requested tone has already been stopped" am: ↵Jordan Liu
a1ae8f3fc3 am: bcc9e0907c Change-Id: Ifd1a78bd2af89401c335ccef8ce36505a24a8711
2020-05-04Merge "Close Tone Dialog if the requested tone has already been stopped"Jordan Liu
2020-02-26Revert "Split Stk into a client apk and a lib."Amit Mahajan
This reverts commit f17bb5778ab1678601cfb171eec7213de63bbefc. Reason for revert: b/148821604 Merged-in: I9f5682f99c73c447a5af8d29ed662f1bd68a0bf6 Change-Id: Idac4e818cbe54b417932603585540f1fd63c503e
2020-02-07Revert "Split Stk into a client apk and a lib."Amit Mahajan
This reverts commit 7e1566067f791a8145d36e397cdd6b842cc89240. Reason for revert: b/148821604 Change-Id: I9f5682f99c73c447a5af8d29ed662f1bd68a0bf6
2020-02-03Use new @System API in ActivityManager to monitor screen being idle.Malcolm Chen
Bug: 144351078 Test: unittest Change-Id: Icca9f1210823d49d4081a5c54b9ab55e0278713c Merged-In: Icca9f1210823d49d4081a5c54b9ab55e0278713c
2020-01-31Merge "Remove XmlUtils in jarjar-rules and use Telephony XmlUtils" am: ↵Automerger Merge Worker
c2d77020f2 am: ab1cf45500 am: 723f0e6836 Change-Id: Ib8ff4e9522a49e2094f5563ab5696b90bf00b043
2020-01-31Remove XmlUtils in jarjar-rules and use Telephony XmlUtilsShuo Qian
Test: Treehugger; Manual Bug: 148543040 Change-Id: Iafb6d4372546ac3b3c657ca1bf760c82bf0182c8
2020-01-30Merge "Move resources to Stk App resources"TreeHugger Robot
2020-01-29Move resources to Stk App resourcesSooraj Sasindran
Move resources to Stk App resources Bug: 143289541 Test: make Change-Id: Ie7ff1eb29b9c8d3c4db51e1eae7630669fa4a343
2020-01-29Merge "Consider that inactive Modem can be activated in run time" am: ↵Automerger Merge Worker
fef9e496e4 am: 404d6dc783 am: 20d5bd1789 Change-Id: I6e82763e421b4a56b811dbf649dcfbc055d7cb2f
2020-01-29Merge "Unregister handler for multi-SIM configuration change" am: afeccff350 ↵Automerger Merge Worker
am: e6e98d5c5e am: 62f9c53adb Change-Id: Icf93a0c77cdd082f09c1daff2053c4522343ba86
2020-01-29Merge "Consider that inactive Modem can be activated in run time"Treehugger Robot
2020-01-27Remove WindowManager references in StkPeter Wang
Bug: 65884891 Bug: 143536562 Change-Id: I5e21f32101c977183ac6542027e0914b0e50411a Fix: 143536562 Test: Build
2020-01-24Unregister handler for multi-SIM configuration changeYoshiaki Naka
StkAppService can stop itself and new instance of ServiceHandler can be created whenever the service starts worker thread. Registration of handler for multi-SIM configuration change should be done after it is instantiated and unregistration should also be done. Bug: 148240558 Test: Manual Change-Id: I21575bb445c5458e345644f465bf2841cd80a3a5
2020-01-24Consider that inactive Modem can be activated in run timeYoshiaki Naka
The number of the active Modems can be changed in run time. In order to avoid ArrayIndexOutOfBoundsException thrown, the length of the array for caching the last selected configuration entries must be determined based on the number of the Modems supported on the device. Bug: 148240558 Test: Manual Change-Id: I810db3194a8762f0157395624ccde21ff3e71e76
2020-01-24Close Tone Dialog if the requested tone has already been stoppedYoshiaki Naka
It is theoretically possible that the tone requested by PLAY TONE command has already been stopped before Tone Dialog is created if the specified duration is too short. To avoid keep displaying Tone Dialog in that scenario, Tone Dialog must finish itself if the tone has already been stopped. Bug: 148244769 Test: Manual Change-Id: I105b2a16ace6a554d475c653ac982d2c339a7fec
2020-01-22Merge "[Telephony Mainline] Telephony uses own user activity notification"Ying Xu
2020-01-17[Telephony Mainline] Telephony uses own user activity notificationPeter Wang
Bug: 143536562 Test: Build Change-Id: Ic1879bd93aa6bad020402dc1e24240797ade93b4
2020-01-17Use new @System API in ActivityManager to monitor screen being idle.Malcolm Chen
Bug: 144351078 Test: unittest Change-Id: Icca9f1210823d49d4081a5c54b9ab55e0278713c
2020-01-06[Telephony Mainline] Refactored ServiceManager callsPeter Wang
to use TelephonyServiceManager Bug: 142255256 Bug: 112725883 Test: Build, SimSmsTest, TelephonyRegistryTest, SimPhoneBookTest, OpportunisticNetworkServiceTest Change-Id: Id69ed5790d4a0f87870671f9392e485923f97d0c
2019-12-05Split Stk into a client apk and a lib.Amit Mahajan
The client apk has the manifest and the lib has the code and resources. This is being done so that the apk can run under the phone shareduid, while the lib can be part of telephony mainline module and be updatable. Test: basic stk sanity Bug: 144806641 Merged-in: I0275115747f51bb6d97f1cbe1501aefc3caf0ca7 Change-Id: I0275115747f51bb6d97f1cbe1501aefc3caf0ca7 (cherry picked from commit 7e1566067f791a8145d36e397cdd6b842cc89240)
2019-12-04Split Stk into a client apk and a lib.Amit Mahajan
The client apk has the manifest and the lib has the code and resources. This is being done so that the apk can run under the phone shareduid, while the lib can be part of telephony mainline module and be updatable. Test: basic stk sanity Bug: 144806641 Change-Id: I0275115747f51bb6d97f1cbe1501aefc3caf0ca7
2019-11-27Fix the incorrect title for DISPLAY TEXT dialog.Umashankar Godachi
Currently display text dialog title is incorrectly shown with the last selected item or Stk main menu title.Display text proactive command does not have any title information, so for display text dialog title will be empty. Fix: Show Stk dialog title empty for display text proactive command. Bug: 79907150 Test: Manual Change-Id: I2bee5c62e0ccbea61c48f2321daa758881ebfcb4
2019-11-08Merge "Correct boundary check and add log." am: a24539b71e am: 9b61d363e5Malcolm Chen
am: c8a1b6ffe8 Change-Id: I7a3b89747cc5326efed873c081960e83454237d1
2019-11-08Merge "Correct boundary check and add log."Treehugger Robot
2019-11-06Correct boundary check and add log.Malcolm Chen
Bug: 142514392 Test: sanity Change-Id: Icf3e7d2c31c8d7a9da371d51cffc8721d8ba8fa1
2019-11-05Merge "Add a missing boundary check of mStkContext." am: 11b59edfb4 am: ↵Malcolm Chen
4085a176f7 am: 211369da35 Change-Id: I4008fd303d90dbad780b9fbb39a963da0010b97c
2019-11-05Merge "Consider long system notification sound set by user" am: 858b4d7278 ↵Yoshiaki Naka
am: 34f01b4d91 am: 7833dc5de2 Change-Id: Ia9bd46fd0addc6e7f9f37ff26f95c032a98788ac
2019-11-06Merge "Add a missing boundary check of mStkContext."Treehugger Robot
2019-11-05Merge changes from topics "is_debuggable", "stk_home_key_handling" am: ↵Jack Yu
11bda12af7 am: 6cb4304be7 am: c9c1bfda34 Change-Id: I5fe39e55360ebfcf85aec22cd93c3c65d8f89a83
2019-11-05Replace CatLog.d(this) with CatLog.d(LOG_TAG) in SIM Toolkit classes am: ↵Yoshiaki Naka
3a980db1e0 am: adb93a4c48 am: c40a1be565 Change-Id: I87816f1e4780f2e036f629de9706d67da5e17060
2019-11-05Differentiate home screen from others implemented in the same activity am: ↵Anna Suzuki
b1cee23060 am: cbabbb0adf am: c51ca8b5cf Change-Id: If68a4021912fb0995ff3a3c3348455fec0f6c88d
2019-11-05Simplify the mechanism of the pending activity and dialog am: 35309b0e5e am: ↵Anna Suzuki
2c2c64a75c am: 8646fb22f9 Change-Id: Ib4d676a367a7a8275b19d95281ee66a57ad67e33
2019-11-06Consider long system notification sound set by userYoshiaki Naka
User can change the system notification sound from a simple tone to a long music though it is not a major user scenario. It is better not to play the notification sound when SIM Toolkit application launch a dialog or activity for DISPLAY TEXT or GET INKEY/INPUT commands. Bug: 128811547 Test: Confirmed that the sound is started only when the keyguard exists. Change-Id: Icd378bdce15a4cd77a5dc9e496f6dcf0b242664e
2019-11-05Add a missing boundary check of mStkContext.Malcolm Chen
Bug: 142514392 Test: manual Change-Id: Ieb63b7e6fb86ccca94683a09bc23e0d4a5c7ffe9
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