浏览代码

remove unused variable

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 5 年之前
父节点
当前提交
be714d2b13
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java

+ 0 - 2
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));