Merge "QS: Fix hotspot refreshing state" into nyc-dev

This commit is contained in:
TreeHugger Robot
2016-06-23 19:33:16 +00:00
committed by Android (Google) Code Review

View 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);
}