summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-10-09 05:47:57 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-10-09 05:47:57 -0400
commit2b41cd6680f37d7cb0c482def34c2549c557d63c (patch)
treed57da8205af1bb1093120eb5e155568414a5b5d3 /src
parent5642d51fb8f5673d3a85ddd932cef4a6b92dab35 (diff)
parentc04ffcd90801837244a6e1ce4b4fa2b6badf6ac3 (diff)
downloadLegacyCamera-2b41cd6680f37d7cb0c482def34c2549c557d63c.zip
LegacyCamera-2b41cd6680f37d7cb0c482def34c2549c557d63c.tar.gz
LegacyCamera-2b41cd6680f37d7cb0c482def34c2549c557d63c.tar.bz2
Merge change Ic04ffcd9 into eclair-mr2
* changes: Fix 2177752: NPE in onShareMultipleClicked.
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/ImageGallery.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/ImageGallery.java b/src/com/android/camera/ImageGallery.java
index 680d186..cfdc634 100644
--- a/src/com/android/camera/ImageGallery.java
+++ b/src/com/android/camera/ImageGallery.java
@@ -939,6 +939,7 @@ public class ImageGallery extends Activity implements
}
private void onShareMultipleClicked() {
+ if (mMultiSelected == null) return;
if (mMultiSelected.size() > 1) {
Intent intent = new Intent();
intent.setAction(Intent.ACTION_SEND_MULTIPLE);