summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoCamera.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/VideoCamera.java')
-rw-r--r--src/com/android/camera/VideoCamera.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java
index 10cfc85..71f3bd6 100644
--- a/src/com/android/camera/VideoCamera.java
+++ b/src/com/android/camera/VideoCamera.java
@@ -1537,6 +1537,8 @@ public class VideoCamera extends ActivityBase
if (videoFrame != null) {
mThumbnail = new Thumbnail(mCurrentVideoUri, videoFrame, 0);
mThumbnailView.setBitmap(mThumbnail.getBitmap());
+ // Share popup may still have the reference to the old thumbnail. Clear it.
+ mSharePopup = null;
}
}
}
@@ -2223,6 +2225,8 @@ public class VideoCamera extends ActivityBase
if (mThumbnail != null) {
mThumbnailView.setBitmap(mThumbnail.getBitmap());
}
+ // Share popup may still have the reference to the old thumbnail. Clear it.
+ mSharePopup = null;
Util.broadcastNewPicture(this, uri);
}
}