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

Skip to content
Commit 4f1bce5a authored by terrycrhuang's avatar terrycrhuang
Browse files

Fix phone crash by multiple result messages

As switching from the live HIDL modem to Mock AIDL modem, the
mRadioProxy would be null. As startLceService() API is called, the
result RADIO_NOT_AVAILABLE would be sent first due to mRadioProxy is
null and then REQUEST_NOT_SUPPORTED would be sent again as checking
the HIDL version. Therefore, a phone exception is occurred. Move the
HIDL version check into the condition where mRadioProxy is ready to fix
the problem.

Bug: 203241555
Test: no phone crash as switching mock modem and live modem
Change-Id: I981a4d60a8f025171bf99b0cb73d7097f82f56b6
parent 1eaf94d9
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