summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/camera/Camera.java2
-rw-r--r--src/com/android/camera/VideoCamera.java4
-rw-r--r--src/com/android/camera/panorama/PanoramaActivity.java2
3 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index 1a598f2..1e23374 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -763,6 +763,8 @@ public class Camera extends ActivityBase implements FocusManager.Listener,
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);
}
}
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);
}
}
diff --git a/src/com/android/camera/panorama/PanoramaActivity.java b/src/com/android/camera/panorama/PanoramaActivity.java
index 8126a1b..af750f1 100644
--- a/src/com/android/camera/panorama/PanoramaActivity.java
+++ b/src/com/android/camera/panorama/PanoramaActivity.java
@@ -251,6 +251,8 @@ public class PanoramaActivity extends Activity implements
if (mThumbnail != null) {
mThumbnailView.setBitmap(mThumbnail.getBitmap());
}
+ // Share popup may still have the reference to the old thumbnail. Clear it.
+ mSharePopup = null;
resetToPreview();
break;
case MSG_GENERATE_FINAL_MOSAIC_ERROR: