diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-07-23 22:39:10 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-07-23 18:56:15 +0000 |
commit | 56fc6a75302c8525e45d6898901f45b0de526944 (patch) | |
tree | 46544f0c9cedd54c245c9f13e7ad8daa075b889f /src/com/android/settings/search | |
parent | d89febb6deebc681063eacbf95dbe4fdfb8533e5 (diff) | |
parent | 9301441e2af4f9ee1eca4236e6e04b4666c0d986 (diff) | |
download | packages_apps_Settings-56fc6a75302c8525e45d6898901f45b0de526944.tar.gz packages_apps_Settings-56fc6a75302c8525e45d6898901f45b0de526944.tar.bz2 packages_apps_Settings-56fc6a75302c8525e45d6898901f45b0de526944.zip |
Merge "Code cleaning for Index" into lmp-dev
Diffstat (limited to 'src/com/android/settings/search')
-rw-r--r-- | src/com/android/settings/search/Index.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/android/settings/search/Index.java b/src/com/android/settings/search/Index.java index b2341f0cb..ba80ca479 100644 --- a/src/com/android/settings/search/Index.java +++ b/src/com/android/settings/search/Index.java @@ -165,15 +165,10 @@ public class Index { private static final Pattern REMOVE_DIACRITICALS_PATTERN = Pattern.compile("\\p{InCombiningDiacriticalMarks}+"); - private final AtomicBoolean mIsAvailable = new AtomicBoolean(false); - private final UpdateData mDataToProcess = new UpdateData(); - private Context mContext; - private final String mBaseAuthority; - /** * A private class to describe the update data for the Index database */ - private class UpdateData { + private static class UpdateData { public List<SearchIndexableData> dataToUpdate; public List<SearchIndexableData> dataToDelete; public Map<String, List<String>> nonIndexableKeys; @@ -194,6 +189,11 @@ public class Index { } } + private final AtomicBoolean mIsAvailable = new AtomicBoolean(false); + private final UpdateData mDataToProcess = new UpdateData(); + private Context mContext; + private final String mBaseAuthority; + /** * A basic singleton */ |