Merge "Fix for User edit info dialog during rotation" am: c6603dfda8
Change-Id: I4f5a29975aed084e1080387d6eb4500121c23ee0
This commit is contained in:
@@ -83,8 +83,7 @@ public class EditUserInfoController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void onSaveInstanceState(Bundle outState) {
|
public void onSaveInstanceState(Bundle outState) {
|
||||||
if (mEditUserInfoDialog != null && mEditUserInfoDialog.isShowing()
|
if (mEditUserInfoDialog != null && mEditUserPhotoController != null) {
|
||||||
&& mEditUserPhotoController != null) {
|
|
||||||
// Bitmap cannot be stored into bundle because it may exceed parcel limit
|
// Bitmap cannot be stored into bundle because it may exceed parcel limit
|
||||||
// Store it in a temporary file instead
|
// Store it in a temporary file instead
|
||||||
File file = mEditUserPhotoController.saveNewUserPhotoBitmap();
|
File file = mEditUserPhotoController.saveNewUserPhotoBitmap();
|
||||||
|
Reference in New Issue
Block a user