Force Search Index rebuilding for Wifi remembered networks

... when the WiFi swich will be toggled on/off

Change-Id: Iea93819e4c473aafc6aaedf6abb723969dbc9e52
This commit is contained in:
Fabrice Di Meglio
2014-04-21 11:24:33 -07:00
parent 784f266cbd
commit da0e6ff8c2

View File

@@ -76,7 +76,7 @@ public class WifiEnabler implements CompoundButton.OnCheckedChangeListener {
case EVENT_UPDATE_INDEX:
final boolean isWiFiOn = msg.getData().getBoolean(EVENT_DATA_IS_WIFI_ON);
Index.getInstance(mContext).updateFromClassNameResource(
WifiSettings.class.getName(), false, isWiFiOn);
WifiSettings.class.getName(), true, isWiFiOn);
break;
}
}