Request no title on addbookmark page.
Bug:3183399
Increase the height of the custom title.
Change-Id: I0fd3ebd3dfc1d7e623e108a0bc3957e9c2501c4c
diff --git a/src/com/android/browser/AddBookmarkPage.java b/src/com/android/browser/AddBookmarkPage.java
index 6e3f8bc..ecd038f 100644
--- a/src/com/android/browser/AddBookmarkPage.java
+++ b/src/com/android/browser/AddBookmarkPage.java
@@ -79,8 +79,6 @@
private static final int MAX_CRUMBS_SHOWN = 2;
private final String LOGTAG = "Bookmarks";
- // Set to true to see the crash on the code I would like to run.
- private final boolean DEBUG_CRASH = false;
// IDs for the CursorLoaders that are used.
private final int LOADER_ID_FOLDER_CONTENTS = 0;
@@ -489,18 +487,13 @@
@Override
protected void onCreate(Bundle icicle) {
super.onCreate(icicle);
- if (DEBUG_CRASH) {
- requestWindowFeature(Window.FEATURE_NO_TITLE);
- }
+ requestWindowFeature(Window.FEATURE_NO_TITLE);
mMap = getIntent().getExtras();
setContentView(R.layout.browser_add_bookmark);
Window window = getWindow();
- if (!DEBUG_CRASH) {
- setTitle("");
- }
String title = null;
String url = null;