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

Skip to content
Commit 7493a5ba authored by Hakjun Choi's avatar Hakjun Choi
Browse files

Modify the way of obtaining get Wi-Fi connectivity

status to asynchronous API

Whether device is connected to internet via Wi-Fi network is used
to decide the eligibility of Carrier Roaming NB IoT NTN service.
If we get the capability information from synchronous API when
Wi-Fi signal lost, the capability does not report the latest value.

It was recommended to used asynchronous API to get the latest Wi-Fi connectivity status instead of using networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI)

Bug: 365035562
Flag: com.android.internal.telephony.flags.carrier_roaming_nb_iot_ntn
Test: atest TelephonyCountryDetectorTest
      manually test in live network to check whether Wi-Fi connection info is correct b/365035562#comment19 and comment20
Change-Id: Id05b1e81692c77934af5a9d265ef61b020705ec9
parent 77e61abc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment