Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Revert "Fixed double tap search"
Browse files Browse the repository at this point in the history
This reverts commit de2505d.

Conflicts:
	CHANGELOG.md

Refs #2043
  • Loading branch information
M66B committed Oct 26, 2014
1 parent 569f105 commit 2483076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion res/menu/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
android:id="@+id/menu_search"
android:icon="@android:drawable/ic_menu_search"
android:title="@android:string/search_go"
app:actionViewClass="android.support.v7.widget.SearchView"
app:actionViewClass="android.widget.SearchView"
app:showAsAction="collapseActionView|always"/>
<item
android:id="@+id/menu_sort"
Expand Down
3 changes: 1 addition & 2 deletions src/biz/bokhorst/xprivacy/ActivityMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import android.os.Handler;
import android.os.Process;
import android.support.v4.view.MenuItemCompat;
import android.support.v7.widget.SearchView;
import android.support.v7.widget.Toolbar;
import android.text.TextUtils;
import android.util.Log;
Expand Down Expand Up @@ -72,6 +71,7 @@
import android.widget.RadioGroup;
import android.widget.RelativeLayout;
import android.widget.ScrollView;
import android.widget.SearchView;
import android.widget.Spinner;
import android.widget.TextView;
import android.widget.Toast;
Expand Down Expand Up @@ -489,7 +489,6 @@ public boolean onCreateOptionsMenu(Menu menu) {
// Searchable
SearchView searchView = (SearchView) MenuItemCompat.getActionView(menu.findItem(R.id.menu_search));
if (searchView != null) {
searchView.setIconifiedByDefault(false);
searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
@Override
public boolean onQueryTextChange(String newText) {
Expand Down

0 comments on commit 2483076

Please sign in to comment.