From 5d219a2cfa320501a96968d8827fa9c195b04451 Mon Sep 17 00:00:00 2001 From: Justin Klaassen Date: Tue, 26 Jul 2016 14:29:52 -0700 Subject: [PATCH] Only set fullIndex flag when performing a full update Previously UpdateData#fullIndex was default true which meant if a partial update came in before a call to Index#update() then the partial update would be treated as a full index and future calls to Index#update() would be ignored. Bug: 30366360 Change-Id: I6e2738c25c9623f49171ecba0f3e0ce0076b7e42 --- src/com/android/settings/search/Index.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/settings/search/Index.java b/src/com/android/settings/search/Index.java index 976c6fb7e57..ccedd627c44 100644 --- a/src/com/android/settings/search/Index.java +++ b/src/com/android/settings/search/Index.java @@ -177,8 +177,8 @@ public class Index { public List dataToDelete; public Map> nonIndexableKeys; - public boolean forceUpdate = false; - public boolean fullIndex = true; + public boolean forceUpdate; + public boolean fullIndex; public UpdateData() { dataToUpdate = new ArrayList();