diff options
author | Leon Scroggins <scroggo@google.com> | 2010-10-22 13:41:14 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2010-10-22 13:41:14 -0400 |
commit | 16f6fb9dabeb1351b026724e51c9f89b4935cc06 (patch) | |
tree | e3361eb6470feecaf7c85211a77b6f495c886be2 | |
parent | bc92285a27fa629d630d3ea0d0608f13a6de5dee (diff) | |
download | packages_apps_Browser-16f6fb9dabeb1351b026724e51c9f89b4935cc06.zip packages_apps_Browser-16f6fb9dabeb1351b026724e51c9f89b4935cc06.tar.gz packages_apps_Browser-16f6fb9dabeb1351b026724e51c9f89b4935cc06.tar.bz2 |
Remove unused code.
Change-Id: I2b9eae20e0e519ce3d7cc59681afcc2ca72ba10b
-rw-r--r-- | src/com/android/browser/BrowserActivity.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index ce85f61..319ffad 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java @@ -3807,26 +3807,6 @@ public class BrowserActivity extends Activity startActivity(intent); } - /* package */Dialog makeAddOrInstallDialog() { - final Tab current = mTabControl.getCurrentTab(); - Resources resources = getResources(); - CharSequence[] choices = - {resources.getString(R.string.save_to_bookmarks), - resources.getString(R.string.create_shortcut_bookmark)}; - - AlertDialog.Builder builder = new AlertDialog.Builder(this); - builder.setTitle(R.string.add_new_bookmark); - builder.setItems(choices, new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int item) { - if (item == 0) { - bookmarkCurrentPage(AddBookmarkPage.DEFAULT_FOLDER_ID); - } else if (item == 1) { - } - } - }); - return builder.create(); - } - /** * Open the Go page. * @param startWithHistory If true, open starting on the history tab. |