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

Skip to content
Commit 60bdf063 authored by Sneh Bansal's avatar Sneh Bansal
Browse files

Abort the scan when modem becomes unavailable

The modem may temporarily become unavailable if the radio proxy dies
while a scan is in progress. When this happens, further indications
related to the network scan are not received at the telephony layer,
and subsequently not passed on to Settings. This leads to the scan
being shown as going on indefinitely on the UI.

Fix this by detecting when the modem becomes unavailable and cancelling
the scan.

Bug: 161500625
Test: Manually tested:
    1. Start scan
    2. Kill ril daemon
    3. Verify that the UI shows an error message
Change-Id: If0047e2471952cb49cbe49659d073b83772ac388
parent c7ce0531
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