summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ViewImage.java
diff options
context:
space:
mode:
authorrepo sync <raychen@google.com>2009-06-15 16:11:09 +0800
committerrepo sync <raychen@google.com>2009-06-15 17:56:25 +0800
commit547caa3586633adcaddfbe766ec46a0b97ee8d4c (patch)
tree9dbea361bebac3f1bea9d56712866e4399b1e1fa /src/com/android/camera/ViewImage.java
parent04b068b149b7645fb007d2bfb5302567819124f0 (diff)
downloadLegacyCamera-547caa3586633adcaddfbe766ec46a0b97ee8d4c.zip
LegacyCamera-547caa3586633adcaddfbe766ec46a0b97ee8d4c.tar.gz
LegacyCamera-547caa3586633adcaddfbe766ec46a0b97ee8d4c.tar.bz2
Fix issue 1880374 The thumbnail does not update in picture review mode after deleting the captured picture.
Diffstat (limited to 'src/com/android/camera/ViewImage.java')
-rw-r--r--src/com/android/camera/ViewImage.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/ViewImage.java b/src/com/android/camera/ViewImage.java
index 194fa05..0862af0 100644
--- a/src/com/android/camera/ViewImage.java
+++ b/src/com/android/camera/ViewImage.java
@@ -425,6 +425,8 @@ public class ViewImage extends Activity implements View.OnClickListener {
protected Runnable mDeletePhotoRunnable = new Runnable() {
public void run() {
mAllImages.removeImageAt(mCurrentPosition);
+ updateLastImage();
+ mThumbController.updateDisplayIfNeeded();
if (mAllImages.getCount() == 0) {
finish();
} else {