Backed out changeset 9760c819e993

This commit is contained in:
Michael Comella 2013-08-15 09:57:56 -07:00
parent 7693f20e7b
commit d8e183e4e6
2 changed files with 1 additions and 26 deletions

View File

@ -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;
}
}
}

View File

@ -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"