diff --git a/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java b/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java index 85e8e9bbb3..a8381c81a6 100644 --- a/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -30,7 +30,6 @@ import android.accounts.Account; import android.accounts.AuthenticatorException; import android.annotation.TargetApi; import android.app.Activity; -import android.app.SearchManager; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.ContentResolver; @@ -564,7 +563,6 @@ public class FileDisplayActivity extends FileActivity startActivity(intent); } else // Verify the action and get the query if (Intent.ACTION_SEARCH.equals(intent.getAction())) { - String query = intent.getStringExtra(SearchManager.QUERY); setIntent(intent); SearchEvent searchEvent = Parcels.unwrap(intent.getParcelableExtra(OCFileListFragment.SEARCH_EVENT));