summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/ImageAdapter.java
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-13 13:04:24 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-13 13:04:24 -0700
commitf59ec877363eaf43118677f249008eddc7a9ce11 (patch)
tree1ad656054b6207bff725c939613fdb08a27079f9 /src/com/android/browser/ImageAdapter.java
parentcb9a0bbc3a00a044fbfdabda920d3be80b0747f0 (diff)
downloadpackages_apps_Browser-f59ec877363eaf43118677f249008eddc7a9ce11.zip
packages_apps_Browser-f59ec877363eaf43118677f249008eddc7a9ce11.tar.gz
packages_apps_Browser-f59ec877363eaf43118677f249008eddc7a9ce11.tar.bz2
auto import from //branches/cupcake_rel/...@138607
Diffstat (limited to 'src/com/android/browser/ImageAdapter.java')
-rw-r--r--src/com/android/browser/ImageAdapter.java15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/com/android/browser/ImageAdapter.java b/src/com/android/browser/ImageAdapter.java
index b4c1209..e957143 100644
--- a/src/com/android/browser/ImageAdapter.java
+++ b/src/com/android/browser/ImageAdapter.java
@@ -231,20 +231,7 @@ public class ImageAdapter implements ListAdapter {
if (l == null) {
return;
}
- DialogInterface.OnClickListener confirm =
- new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog,
- int whichButton) {
- l.remove(position);
- }
- };
- new AlertDialog.Builder(mContext)
- .setTitle(R.string.close)
- .setIcon(android.R.drawable.ic_dialog_alert)
- .setMessage(R.string.close_window)
- .setPositiveButton(R.string.ok, confirm)
- .setNegativeButton(R.string.cancel, null)
- .show();
+ l.remove(position);
}
/* (non-Javadoc)