OSDN Git Service

QS: Fix hotspot refreshing state
authorJason Monk <jmonk@google.com>
Thu, 23 Jun 2016 17:23:01 +0000 (13:23 -0400)
committerJason Monk <jmonk@google.com>
Thu, 23 Jun 2016 17:23:01 +0000 (13:23 -0400)
Change-Id: I40e693d154d5481959f63d555191d2c88f3d1b97
Fixes: 29518006

packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java

index d3434e5..016c4b7 100644 (file)
@@ -85,6 +85,7 @@ public class HotspotTile extends QSTile<QSTile.AirplaneBooleanState> {
             mController.addCallback(mCallback);
             final IntentFilter filter = new IntentFilter();
             filter.addAction(Intent.ACTION_AIRPLANE_MODE_CHANGED);
+            refreshState();
         } else {
             mController.removeCallback(mCallback);
         }