Skip to content

Commit

Permalink
update commons to 2.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tibbi committed Jun 16, 2017
1 parent 048dbff commit 0667437
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 @@ -32,7 +32,7 @@ android {
}

dependencies {
compile 'com.simplemobiletools:commons:2.20.1'
compile 'com.simplemobiletools:commons:2.20.2'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class Preview : ViewGroup, SurfaceHolder.Callback, MediaScannerConnection.OnScan
private fun takePicture() {
if (mCanTakePicture) {
val selectedResolution = getSelectedResolution()
mParameters!!.setPictureSize(selectedResolution.width, selectedResolution.height);
mParameters!!.setPictureSize(selectedResolution.width, selectedResolution.height)

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
mCamera!!.enableShutterSound(false)
Expand Down

0 comments on commit 0667437

Please sign in to comment.