diff options
author | Chih-Chung Chang <chihchung@google.com> | 2009-09-12 01:30:42 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2009-09-12 01:30:42 +0800 |
commit | cb3e76956e6be212051cdc98ffadc8f7c1c7a42a (patch) | |
tree | 219b6053beb053636655b24c0b5b7c2bc5410f2c /src/com/android | |
parent | 78f160ee416ba27ba55954950473e17ba9d20052 (diff) | |
download | LegacyCamera-cb3e76956e6be212051cdc98ffadc8f7c1c7a42a.zip LegacyCamera-cb3e76956e6be212051cdc98ffadc8f7c1c7a42a.tar.gz LegacyCamera-cb3e76956e6be212051cdc98ffadc8f7c1c7a42a.tar.bz2 |
Fix 2114487: NPE in ReviewImage.onPrepareOptionsMenu
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/camera/ReviewImage.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/ReviewImage.java b/src/com/android/camera/ReviewImage.java index 711ef2c..ead978c 100644 --- a/src/com/android/camera/ReviewImage.java +++ b/src/com/android/camera/ReviewImage.java @@ -371,6 +371,7 @@ public class ReviewImage extends Activity implements View.OnClickListener { @Override public boolean onPrepareOptionsMenu(Menu menu) { super.onPrepareOptionsMenu(menu); + if (mPaused) return false; IImage image = mAllImages.getImageAt(mCurrentPosition); if (mImageMenuRunnable != null) { |