OSDN Git Service

Add 5G icon to System UI
authorPengquan Meng <mpq@google.com>
Fri, 7 Dec 2018 01:38:38 +0000 (17:38 -0800)
committerPengquan Meng <mpq@google.com>
Fri, 14 Dec 2018 18:45:31 +0000 (10:45 -0800)
commita62d32b6565f71da426b1242511eb718dccc909e
tree5664dcfedd1a5ef11b5808742cb6a0153b566075
parent96dc16389442c52c88739ab03f2bbd81b807f666
Add 5G icon to System UI

This add the 5G and 5G+ icon to the system UI for 5G Non-Standalone
network.

System UI uses the ServiceState & CarrierConfig to determine whether and
which 5G icon should be displayed in 5G Non-Standalone network.

Bug: 111497313111453000
Test: build & manually test
Change-Id: I6fba0f9c42fff3cb1398895b122f18f13de239f7
packages/SystemUI/res/drawable/ic_5g_mobiledata.xml [new file with mode: 0644]
packages/SystemUI/res/drawable/ic_5g_plus_mobiledata.xml [new file with mode: 0644]
packages/SystemUI/res/values/strings.xml
packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/TelephonyIcons.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerBaseTest.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerDataTest.java