Changing the network type determination order

Even if it is not registered on the network and emergency call is not valid,
IWLAN can be valid if WiFi is available,
so first determine whether WiFi is available and verify the network type.

Test: CtsTelephonyTestCases.android.telephony.cts.TelephonyManagerTest#testNetworkTypeMatchesCellIdentity
Bug: 249693342
Change-Id: Ie2b3726a39f75259059406df69fd8e388f20ab75
1 file changed