mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 14:15:14 +00:00
revert: restore codes that have been changed by mistake
This commit is contained in:
committed by
Albert Vaca Cintora
parent
30cc95713f
commit
0ab4e0d1d2
@@ -389,10 +389,14 @@ class SafFileSystemProvider(
|
||||
): V? {
|
||||
check(path is SafPath)
|
||||
if (path.isRoot()) {
|
||||
if (type == BasicFileAttributeView::class.java || type == PosixFileAttributeView::class.java) {
|
||||
if (type == BasicFileAttributeView::class.java) {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
return RootBasicFileAttributeView as V
|
||||
}
|
||||
if (type == PosixFileAttributeView::class.java) {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
return RootPosixFileAttributeView as V
|
||||
}
|
||||
}
|
||||
|
||||
if (type == BasicFileAttributeView::class.java) {
|
||||
|
Reference in New Issue
Block a user