mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-15 18:36:01 -04:00
Fixed deprecated constructor of FileObserver
This commit is contained in:
parent
cd0401947f
commit
662f79b1d6
@ -62,8 +62,8 @@ class Fat32Checker constructor(
|
||||
)
|
||||
}
|
||||
|
||||
private fun fileObserver(it: String?): FileObserver {
|
||||
return object : FileObserver(it, MOVED_FROM or DELETE) {
|
||||
private fun fileObserver(it: String): FileObserver {
|
||||
return object : FileObserver(File(it), MOVED_FROM or DELETE) {
|
||||
override fun onEvent(event: Int, path: String?) {
|
||||
requestCheckSystemFileType.onNext(Unit)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user