mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Merge pull request #1539 from nextcloud/fix-search-issues
Make search work again
This commit is contained in:
commit
185cdce908
1 changed files with 3 additions and 4 deletions
|
@ -342,11 +342,11 @@ public class OCFileListFragment extends ExtendedListFragment implements OCFileLi
|
|||
}
|
||||
|
||||
searchEvent = Parcels.unwrap(getArguments().getParcelable(OCFileListFragment.SEARCH_EVENT));
|
||||
if (searchEvent != null && searchFragment && savedInstanceState == null) {
|
||||
prepareCurrentSearch(searchEvent);
|
||||
if (searchEvent != null && savedInstanceState == null) {
|
||||
onMessageEvent(searchEvent);
|
||||
}
|
||||
|
||||
prepareCurrentSearch(searchEvent);
|
||||
setTitle();
|
||||
|
||||
}
|
||||
|
@ -1560,8 +1560,7 @@ public class OCFileListFragment extends ExtendedListFragment implements OCFileLi
|
|||
}
|
||||
};
|
||||
|
||||
remoteOperationAsyncTask.execute(true);
|
||||
|
||||
remoteOperationAsyncTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, true);
|
||||
}
|
||||
|
||||
private void setTitle(@StringRes final int title) {
|
||||
|
|
Loading…
Reference in a new issue