mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 9760c819e993
This commit is contained in:
parent
7693f20e7b
commit
d8e183e4e6
@ -35,10 +35,8 @@ import android.support.v4.app.LoaderManager.LoaderCallbacks;
|
||||
import android.support.v4.content.AsyncTaskLoader;
|
||||
import android.support.v4.content.Loader;
|
||||
import android.text.TextUtils;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.view.ViewGroup;
|
||||
@ -852,27 +850,4 @@ public class BrowserSearch extends HomeFragment
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* HomeSearchListView is a list view for displaying search engine results on the awesome screen.
|
||||
*/
|
||||
public static class HomeSearchListView extends HomeListView {
|
||||
public HomeSearchListView(Context context, AttributeSet attrs) {
|
||||
this(context, attrs, R.attr.homeListViewStyle);
|
||||
}
|
||||
|
||||
public HomeSearchListView(Context context, AttributeSet attrs, int defStyle) {
|
||||
super(context, attrs, defStyle);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onInterceptTouchEvent(MotionEvent event) {
|
||||
if (event.getActionMasked() == MotionEvent.ACTION_DOWN) {
|
||||
// Dismiss the soft keyboard.
|
||||
requestFocus();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout="@layout/home_suggestion_prompt" />
|
||||
|
||||
<org.mozilla.gecko.home.HomeSearchListView
|
||||
<org.mozilla.gecko.home.HomeListView
|
||||
android:id="@+id/home_list_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
|
Loading…
Reference in New Issue
Block a user