OSDN Git Service

Fix roaming getting stuck after changing sims
authorJason Monk <jmonk@google.com>
Thu, 23 Feb 2017 16:33:54 +0000 (11:33 -0500)
committerJason Monk <jmonk@google.com>
Thu, 23 Feb 2017 18:29:52 +0000 (13:29 -0500)
commit9d3dcdfe1c15ffa1c8d3694a4f2bf5e2280aa5ba
treee718c5532377a74fe544f6ff436430d55ff0f393
parent0a4cf4b57f43905be8602737d3fcc9f40997e6a3
Fix roaming getting stuck after changing sims

The header was keeping a map of roaming states which could have
stray old subids in it when it shouldn't. It just needs to be
cleared when the sims change.

Test: runtest systemui
Change-Id: I62c5acab5739b9c4acf69a8c7e00b2f75de903dc
packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStatusBarHeader.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationMenuRowTest.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/QuickStatusBarHeaderTest.java [new file with mode: 0644]
packages/SystemUI/tests/src/com/android/systemui/utils/TestableLooper.java
packages/SystemUI/tests/src/com/android/systemui/utils/ViewUtils.java