Fix bug #17393417 Developer Options are not indexed after activating them

- add forceUpdate field copy in the UpdateData copy constructor

Change-Id: I245ce76bf9798c359219e153d2af9d08e7e11903
This commit is contained in:
Fabrice Di Meglio
2014-09-04 15:04:23 -07:00
parent bde55601ba
commit f91b4dbc33

View File

@@ -185,6 +185,7 @@ public class Index {
dataToUpdate = new ArrayList<SearchIndexableData>(other.dataToUpdate); dataToUpdate = new ArrayList<SearchIndexableData>(other.dataToUpdate);
dataToDelete = new ArrayList<SearchIndexableData>(other.dataToDelete); dataToDelete = new ArrayList<SearchIndexableData>(other.dataToDelete);
nonIndexableKeys = new HashMap<String, List<String>>(other.nonIndexableKeys); nonIndexableKeys = new HashMap<String, List<String>>(other.nonIndexableKeys);
forceUpdate = other.forceUpdate;
} }
public UpdateData copy() { public UpdateData copy() {