Skip to content

Commit

Permalink
Merge pull request #132 from dimitriadamou/master
Browse files Browse the repository at this point in the history
ANDROID Prevents crashing when Importing in the non-default Orientation of app
  • Loading branch information
EddyVerbruggen authored Jan 10, 2019
2 parents f2e0552 + 3d42686 commit 948b2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/Library/src/MultiImageChooserActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public void selectClicked() {
progress.dismiss();
finish();
} else {
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); //prevent orientation changes during processing
setRequestedOrientation(getResources().getConfiguration().orientation); //prevent orientation changes during processing
new ResizeImagesTask().execute(fileNames.entrySet());
}
}
Expand Down

0 comments on commit 948b2bd

Please sign in to comment.