From 7453ff26de5948543979f5921eb8917284e8e5c4 Mon Sep 17 00:00:00 2001 From: Leon Scroggins Date: Wed, 15 Dec 2010 16:03:59 -0500 Subject: Request no title on addbookmark page. Bug:3183399 Increase the height of the custom title. Change-Id: I0fd3ebd3dfc1d7e623e108a0bc3957e9c2501c4c --- src/com/android/browser/AddBookmarkPage.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/com/android/browser/AddBookmarkPage.java') 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 @@ public class AddBookmarkPage extends Activity 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 @@ public class AddBookmarkPage extends Activity @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; -- cgit v1.1