diff options
author | John Reck <jreck@google.com> | 2010-12-17 10:15:14 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2010-12-17 10:15:14 -0800 |
commit | 281308fcc90dd37be3401a9abf033fb79c3d9351 (patch) | |
tree | a97e6b607c2a5c8c701ee037700e060c84b5a395 /src/com/android | |
parent | 2c82138d9e347120e5a4d6f5555484f8ef718f5f (diff) | |
download | packages_apps_Browser-281308fcc90dd37be3401a9abf033fb79c3d9351.zip packages_apps_Browser-281308fcc90dd37be3401a9abf033fb79c3d9351.tar.gz packages_apps_Browser-281308fcc90dd37be3401a9abf033fb79c3d9351.tar.bz2 |
Fix 'Add Bookmarks' button on History view crash
Bug: 3292625
Fixed this by removing the 'Add Bookmarks' button from the history view
altogether, as per the "final screens" design spec
Change-Id: I4fa645b14f2a3ba60de6e01370f85f351e3a383d
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/browser/CombinedBookmarkHistoryView.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/browser/CombinedBookmarkHistoryView.java b/src/com/android/browser/CombinedBookmarkHistoryView.java index cc56489..426b34d 100644 --- a/src/com/android/browser/CombinedBookmarkHistoryView.java +++ b/src/com/android/browser/CombinedBookmarkHistoryView.java @@ -197,6 +197,7 @@ public class CombinedBookmarkHistoryView extends LinearLayout fragment = mBookmarks; mSeperateSelectAdd.setVisibility(View.VISIBLE); mBookmarksHeader.setVisibility(View.VISIBLE); + mAddBookmark.setVisibility(View.VISIBLE); mTabBookmarks.setActivated(true); mTabHistory.setActivated(false); break; @@ -204,6 +205,7 @@ public class CombinedBookmarkHistoryView extends LinearLayout fragment = mHistory; mBookmarksHeader.setVisibility(View.INVISIBLE); mSeperateSelectAdd.setVisibility(View.INVISIBLE); + mAddBookmark.setVisibility(View.INVISIBLE); mTabBookmarks.setActivated(false); mTabHistory.setActivated(true); break; |