merge in ics-mr0-release history after reset to ics-mr0
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index 8cc5816..a66a764 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -2078,7 +2078,7 @@
private boolean switchToOtherMode(int mode) {
if (isFinishing()) return false;
- mImageSaver.waitDone();
+ if (mImageSaver != null) mImageSaver.waitDone();
MenuHelper.gotoMode(mode, Camera.this);
mHandler.removeMessages(FIRST_TIME_INIT);
finish();