From 2483745674f95f60b8c3b8c9e817f2df1776a0b5 Mon Sep 17 00:00:00 2001 From: Leon Scroggins Date: Wed, 13 Jan 2010 13:43:35 -0500 Subject: Show the downloads list divided into groups based on how recently downloaded. Fixes http://b/issue?id=2367226 --- src/com/android/browser/BrowserHistoryPage.java | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/com/android/browser/BrowserHistoryPage.java') diff --git a/src/com/android/browser/BrowserHistoryPage.java b/src/com/android/browser/BrowserHistoryPage.java index 5818e1dfa..d23137e6e 100644 --- a/src/com/android/browser/BrowserHistoryPage.java +++ b/src/com/android/browser/BrowserHistoryPage.java @@ -32,7 +32,6 @@ import android.text.IClipboard; import android.util.Log; import android.view.ContextMenu; import android.view.KeyEvent; -import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; @@ -46,7 +45,6 @@ import android.widget.AdapterView; import android.widget.ExpandableListAdapter; import android.widget.ExpandableListView; import android.widget.ExpandableListView.ExpandableListContextMenuInfo; -import android.widget.TextView; import android.widget.Toast; /** @@ -336,20 +334,5 @@ public class BrowserHistoryPage extends ExpandableListActivity { getInt(Browser.HISTORY_PROJECTION_BOOKMARK_INDEX)); return item; } - - public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) { - TextView item; - if (null == convertView || !(convertView instanceof TextView)) { - LayoutInflater factory = - LayoutInflater.from(BrowserHistoryPage.this); - item = (TextView) - factory.inflate(R.layout.history_header, null); - } else { - item = (TextView) convertView; - } - item.setText(getGroupLabel(groupPosition)); - return item; - } - } } -- cgit v1.2.3