Bug 454120

Summary: Android app doesn't export TelephonyDisplayInfo#OVERRIDE_NETWORK_TYPE, needed for 5G detection
Product: [Applications] kdeconnect Reporter: FeRD (Frank Dana) <ferdnyc>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Android 11.x   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description FeRD (Frank Dana) 2022-05-21 00:27:00 UTC
Apparently, detecting 5G network service[1] is more difficult than previous levels. Many 5G devices will report their network connection as TelephonyManager#NETWORK_TYPE_LTE. The actual state of 5G connectivity is only accessible by using the new (Android 11+) TelephonyDisplayInfo[2] API, where an "override" network type can be retrieved for display use.

[1]: https://developer.android.com/about/versions/11/features/5g#how-to-detect
[2]: https://developer.android.com/reference/android/telephony/TelephonyDisplayInfo

Without access to that additional data, many US devices which provide 5G service via enhanced LTE will be reported as having only 4G connectivity.

See also: GSConnect issue 1348. [3]

[3]: https://github.com/GSConnect/gnome-shell-extension-gsconnect/issues/1348