summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-05-17 14:16:38 -0700
committerJohn Reck <jreck@google.com>2011-05-17 14:18:24 -0700
commit9fdd981a245b59952338374ba6a264742498fc4c (patch)
tree031a44ca560b7d1b0cedb522d1bf6e929661abbe /src/com/android
parent275932ff17bcb44712ef07a1e143c3f3b0d8df8a (diff)
downloadpackages_apps_Browser-9fdd981a245b59952338374ba6a264742498fc4c.zip
packages_apps_Browser-9fdd981a245b59952338374ba6a264742498fc4c.tar.gz
packages_apps_Browser-9fdd981a245b59952338374ba6a264742498fc4c.tar.bz2
Bookmark action bar fix
Bug: 4425113 When the screen is less than 720dp wide (so 7" portrait) show only a star to add a bookmark instead of the star with text. Change-Id: Ie5c48e71f41458c466047ca23bf5d2f64a50f93d
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/browser/BrowserBookmarksPage.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserBookmarksPage.java b/src/com/android/browser/BrowserBookmarksPage.java
index a3cb9fc..c6bc2bc 100644
--- a/src/com/android/browser/BrowserBookmarksPage.java
+++ b/src/com/android/browser/BrowserBookmarksPage.java
@@ -567,6 +567,7 @@ public class BrowserBookmarksPage extends Fragment implements View.OnCreateConte
int paddingTop = (int) res.getDimension(R.dimen.combo_paddingTop);
mRoot.setPadding(paddingLeftRight, paddingTop,
paddingLeftRight, 0);
+ getActivity().invalidateOptionsMenu();
}
@Override