am b20f0928: Merge "Fix NPE in AttachPhotoActivity after rotating while cropping" into klp-dev
* commit 'b20f092859ec1626accca8c1f8552378c845a886':
Fix NPE in AttachPhotoActivity after rotating while cropping
diff --git a/src/com/android/contacts/activities/AttachPhotoActivity.java b/src/com/android/contacts/activities/AttachPhotoActivity.java
index 678c1d2..78b482e 100644
--- a/src/com/android/contacts/activities/AttachPhotoActivity.java
+++ b/src/com/android/contacts/activities/AttachPhotoActivity.java
@@ -111,6 +111,9 @@
if (mTempPhotoUri != null) {
outState.putString(KEY_TEMP_PHOTO_URI, mTempPhotoUri.toString());
}
+ if (mCroppedPhotoUri != null) {
+ outState.putString(KEY_CROPPED_PHOTO_URI, mCroppedPhotoUri.toString());
+ }
}
@Override