summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/tests
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-07-09 18:55:00 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-07-09 18:55:06 +0000
commit5859910463df29324df868f30e0ff66440cf161f (patch)
treed4622ec8f7a5ebf792b70db0754e7b76298172d4 /packages/SystemUI/tests
parent8969817a83e2ed5f28f67bd5f7f4de14a5455139 (diff)
parent7150d7fa357e00b2904ff3bcf9e06a1014bfbb39 (diff)
downloadframeworks_base-5859910463df29324df868f30e0ff66440cf161f.zip
frameworks_base-5859910463df29324df868f30e0ff66440cf161f.tar.gz
frameworks_base-5859910463df29324df868f30e0ff66440cf161f.tar.bz2
Merge "Remove data icon for WFC" into mnc-dev
Diffstat (limited to 'packages/SystemUI/tests')
-rw-r--r--packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerDataTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerDataTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerDataTest.java
index e60e0a6..360562c 100644
--- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerDataTest.java
+++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerDataTest.java
@@ -71,6 +71,14 @@ public class NetworkControllerDataTest extends NetworkControllerBaseTest {
TelephonyIcons.QS_DATA_H);
}
+ public void testWfcNoDataIcon() {
+ setupDefaultSignal();
+ updateDataConnectionState(TelephonyManager.DATA_CONNECTED,
+ TelephonyManager.NETWORK_TYPE_IWLAN);
+
+ verifyDataIndicators(0, 0);
+ }
+
public void test4gDataIcon() {
// Switch to showing 4g icon and re-initialize the NetworkController.
mConfig.show4gForLte = true;