Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2c46f309 authored by joonhunshin's avatar joonhunshin Committed by Joonhun Shin
Browse files

Change the method of obtaining IMS registration radio tech and add test case

PhoneSwitcher tries to register a callback to obtain IMS registration
radio tech. But this callback will be removed when the binding with
ImsService is changed. This is a timing issue caused by operating in a separate thread.
To avoid issue, using ImsPhone#registerForImsRegistrationChanges() to receive IMS registration radio tech instead of registring a callback into ImsManager.

Bug: 330120237
Bug: 333300524
Test: atest PhoneSwitcherTest
Test: manual test and verify based on text log
      after IMS registered -> wifi on -> APM on -> APM off -> wifi off
Change-Id: Ia1220faea739bce58e1c54889341e8dba899302b
parent 5a63b830
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment