Fix NPE when going into WiFi Settings

- this was occuring when updating the Index for remembered WiFi networks

Change-Id: Ifc8f843499e09150685a8dd9bfb705459f28c067
This commit is contained in:
Fabrice Di Meglio
2014-05-09 20:07:13 -07:00
parent 34483748df
commit 55638cb6c6

View File

@@ -436,6 +436,7 @@ public class Index {
Log.e(LOG_TAG, "Cannot find SearchIndexableResources for class name: " + className);
return false;
}
res.context = mContext;
res.enabled = includeInSearchResults;
if (rebuild) {
deleteIndexableData(res);