Refactor
parent
4e90123814
commit
a612b02dfa
|
@ -63,12 +63,10 @@ import java.util.concurrent.CountDownLatch
|
|||
}
|
||||
|
||||
fun destroy() {
|
||||
if (imageObserver != null) {
|
||||
if (imageObserver != null)
|
||||
mCtx.contentResolver.unregisterContentObserver(imageObserver!!)
|
||||
}
|
||||
if (videoObserver != null) {
|
||||
if (videoObserver != null)
|
||||
mCtx.contentResolver.unregisterContentObserver(videoObserver!!)
|
||||
}
|
||||
}
|
||||
|
||||
fun registerHooks() {
|
||||
|
|
Loading…
Reference in New Issue