Skip to content
This repository has been archived by the owner on Jan 26, 2020. It is now read-only.

Commit

Permalink
Add when SecurityException request permission
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkaW committed May 24, 2016
1 parent 52d1641 commit 883f448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 23
versionCode 15001
versionCode 15002
}

buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ protected void onCreate(Bundle savedInstanceState) {
getContentResolver().openInputStream((Uri) mIntent.getParcelableExtra(Intent.EXTRA_STREAM));

handleSendImage(mIntent);
} catch (FileNotFoundException e) {
} catch (FileNotFoundException | SecurityException e) {
new AlertDialog.Builder(this)
.setTitle(R.string.permission_require)
.setMessage(R.string.permission_require_detail)
Expand Down

0 comments on commit 883f448

Please sign in to comment.