updating commons to 5.0.14

This commit is contained in:
tibbi
2018-10-12 22:17:58 +02:00
parent f9672214da
commit 794232e26b
3 changed files with 5 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ android {
defaultConfig {
applicationId "com.simplemobiletools.flashlight"
minSdkVersion 16
minSdkVersion 21
targetSdkVersion 28
versionCode 31
versionName "4.2.0"
@@ -41,7 +41,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:4.9.1'
implementation 'com.simplemobiletools:commons:5.0.14'
implementation 'com.squareup:otto:1.3.8'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
}

View File

@@ -8,7 +8,6 @@ import android.os.Handler
import com.simplemobiletools.flashlight.models.Events
import com.squareup.otto.Bus
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
internal class MarshmallowCamera constructor(val context: Context) {
private val manager = context.getSystemService(Context.CAMERA_SERVICE) as CameraManager