Bug 732104 - (Part 2) Remove the ability to tap a folder heading to go back. r=mfinkle

This commit is contained in:
Margaret Leibovic 2012-03-15 10:01:11 -07:00
parent dd669712ae
commit 5319c9b2d9

View File

@ -864,11 +864,9 @@ public class AwesomeBarTabs extends TabHost {
}
private void handleBookmarkItemClick(int position) {
// If we tap on the header view, go up a level
if (position == 0) {
mBookmarksAdapter.moveToParentFolder();
// If we tap on the header view, there's nothing to do
if (position == 0)
return;
}
Cursor cursor = mBookmarksAdapter.getCursor();
// The header view takes up a spot in the list