Merge ""Fix" search" into nyc-dev am: 15310bb
am: 951ee5b
* commit '951ee5b5946ea0282ca52b953fe2b5c95efff8ce':
"Fix" search
Change-Id: Ie504a81f0bc0f2f45ee5961a56a20f1a7fbdaae7
This commit is contained in:
@@ -566,12 +566,7 @@ public class SettingsActivity extends SettingsDrawerActivity
|
||||
// Run the Index update only if we have some space
|
||||
if (!Utils.isLowStorage(this)) {
|
||||
long indexStartTime = System.currentTimeMillis();
|
||||
AsyncTask.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
Index.getInstance(getApplicationContext()).update();
|
||||
}
|
||||
});
|
||||
Index.getInstance(getApplicationContext()).update();
|
||||
if (DEBUG_TIMING) Log.d(LOG_TAG, "Index.update() took "
|
||||
+ (System.currentTimeMillis() - indexStartTime) + " ms");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user