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:
@@ -436,6 +436,7 @@ public class Index {
|
|||||||
Log.e(LOG_TAG, "Cannot find SearchIndexableResources for class name: " + className);
|
Log.e(LOG_TAG, "Cannot find SearchIndexableResources for class name: " + className);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
res.context = mContext;
|
||||||
res.enabled = includeInSearchResults;
|
res.enabled = includeInSearchResults;
|
||||||
if (rebuild) {
|
if (rebuild) {
|
||||||
deleteIndexableData(res);
|
deleteIndexableData(res);
|
||||||
|
Reference in New Issue
Block a user