paulhu 3ce12e7b65 Fix CS external dependencies on SystemUI
- Use formal API getSystemService to get ConnectivityManager.
- Use formal API PackageManager#hasSystemFeature(
  PackageManager#FEATURE_TELEPHONY) to know whether device
  supports telephony.
- Use formal API TelephonyManager#isDataCapable() to know
  whether device has mobile ability.
- Replace NetworkCapabilities#equalsTransportTypes with
  comparing two NetworkCapabilities' transport types directly.
- Replace ConnectivityManager#INET_CONDITION_ACTION by listening
  onCapabilitiesChanged() network callback.

Bug: 183068713
Test: atest SystemUITests
Change-Id: I4a53223f36ea09a062a9ddea668a9d0662f0dbbc
2021-03-22 19:28:40 +08:00
2021-03-15 12:32:58 +00:00
…
…
…
2021-03-19 10:17:31 -07:00
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%