summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/tests
diff options
context:
space:
mode:
authorAndrew Flynn <flynn@google.com>2015-04-14 23:33:45 -0400
committerAndrew Flynn <flynn@google.com>2015-04-16 08:37:43 -0400
commita478d70a68696380acbd4a9739dfaaebff61c728 (patch)
tree554951a175ddac6d684111d9d0ea65c5d850c504 /packages/SystemUI/tests
parent5925a910f9a5844e24b086e6da93c66631ef55f2 (diff)
downloadframeworks_base-a478d70a68696380acbd4a9739dfaaebff61c728.zip
frameworks_base-a478d70a68696380acbd4a9739dfaaebff61c728.tar.gz
frameworks_base-a478d70a68696380acbd4a9739dfaaebff61c728.tar.bz2
SysUI: Carrier Network Change icon
- Listen for new PhoneStateListener.CARRIER_NETWORK_CHANGE events. - Show/hide a new unique animated icon in status bar and quick settings during Carrier Network Change events if we are instructed by PhoneStateListener and it's during a period without connectivity. - ObjectAnimator doesn't let you animate colors between themed colors, so there's quite a bit of boilerplate duplication in the animation xml. - Add a new demo mode command to toggle it on/off. Change-Id: Ic5bb2aa7444303c6b7f2456526a9c25325c6e1f4
Diffstat (limited to 'packages/SystemUI/tests')
-rw-r--r--packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerBaseTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerBaseTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerBaseTest.java
index 5d88407..5d40eed 100644
--- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerBaseTest.java
+++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerBaseTest.java
@@ -279,7 +279,7 @@ public class NetworkControllerBaseTest extends SysuiTestCase {
// TODO: Verify all fields.
Mockito.verify(mSignalCluster, Mockito.atLeastOnce()).setMobileDataIndicators(
- visibleArg.capture(), iconArg.capture(), typeIconArg.capture(),
+ visibleArg.capture(), iconArg.capture(), iconArg.capture(), typeIconArg.capture(),
ArgumentCaptor.forClass(String.class).capture(),
ArgumentCaptor.forClass(String.class).capture(),
ArgumentCaptor.forClass(Boolean.class).capture(),