diff options
Diffstat (limited to 'src/com/android/camera/ViewImage.java')
-rw-r--r-- | src/com/android/camera/ViewImage.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/camera/ViewImage.java b/src/com/android/camera/ViewImage.java index 1376172..b8379d2 100644 --- a/src/com/android/camera/ViewImage.java +++ b/src/com/android/camera/ViewImage.java @@ -394,8 +394,8 @@ public class ViewImage extends Activity implements View.OnClickListener return true; } case KeyEvent.KEYCODE_DEL: - MenuHelper.displayDeleteDialog(mViewImage, - mViewImage.mDeletePhotoRunnable, true); + MenuHelper.deletePhoto( + mViewImage, mViewImage.mDeletePhotoRunnable); break; } } finally { @@ -1482,7 +1482,7 @@ public class ViewImage extends Activity implements View.OnClickListener break; case R.id.discard: { - MenuHelper.displayDeleteDialog(this, mDeletePhotoRunnable, true); + MenuHelper.deletePhoto(this, mDeletePhotoRunnable); } break; |