update commons to 3.8.2
This commit is contained in:
parent
f8368150fb
commit
7ab1ae411a
|
@ -42,7 +42,7 @@ ext {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.simplemobiletools:commons:3.8.1'
|
implementation 'com.simplemobiletools:commons:3.8.2'
|
||||||
|
|
||||||
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
|
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
|
||||||
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
|
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
|
||||||
|
|
|
@ -563,7 +563,7 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
|
||||||
override fun drawFocusRect(x: Int, y: Int) = mFocusRectView.drawFocusRect(x, y)
|
override fun drawFocusRect(x: Int, y: Int) = mFocusRectView.drawFocusRect(x, y)
|
||||||
|
|
||||||
override fun mediaSaved(path: String) {
|
override fun mediaSaved(path: String) {
|
||||||
applicationContext.scanPath(path) {
|
scanPath(path) {
|
||||||
setupPreviewImage(mIsInPhotoMode)
|
setupPreviewImage(mIsInPhotoMode)
|
||||||
Intent(BROADCAST_REFRESH_MEDIA).apply {
|
Intent(BROADCAST_REFRESH_MEDIA).apply {
|
||||||
`package` = "com.simplemobiletools.gallery"
|
`package` = "com.simplemobiletools.gallery"
|
||||||
|
|
|
@ -737,7 +737,7 @@ class Preview : ViewGroup, SurfaceHolder.Callback, MediaScannerConnection.OnScan
|
||||||
try {
|
try {
|
||||||
toggleShutterSound(true)
|
toggleShutterSound(true)
|
||||||
mRecorder!!.stop()
|
mRecorder!!.stop()
|
||||||
mActivity!!.applicationContext.scanPath(mCurrVideoPath) {}
|
mActivity!!.scanPath(mCurrVideoPath) {}
|
||||||
} catch (e: RuntimeException) {
|
} catch (e: RuntimeException) {
|
||||||
mActivity!!.showErrorToast(e)
|
mActivity!!.showErrorToast(e)
|
||||||
toggleShutterSound(false)
|
toggleShutterSound(false)
|
||||||
|
|
Loading…
Reference in New Issue