update commons to 2.20.2

This commit is contained in:
tibbi 2017-06-16 23:15:48 +02:00
parent 048dbffd03
commit 0667437d42
2 changed files with 2 additions and 2 deletions

View File

@ -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"
}

View File

@ -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)