summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/ImageAdapter.java
diff options
context:
space:
mode:
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)