-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added hacks so that AmazeFilesystem subclasses actually load
- Loading branch information
1 parent
c0df86a
commit d230597
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
app/src/main/java/com/amaze/filemanager/filesystem/FilesystemLoader.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.amaze.filemanager.filesystem | ||
|
||
import com.amaze.filemanager.file_operations.filesystem.filetypes.AmazeFile | ||
import com.amaze.filemanager.file_operations.filesystem.filetypes.smb.SmbAmazeFilesystem | ||
import com.amaze.filemanager.filesystem.files.FileAmazeFilesystem | ||
import com.amaze.filemanager.filesystem.otg.OtgAmazeFilesystem | ||
import com.amaze.filemanager.filesystem.ssh.SshAmazeFilesystem | ||
|
||
/** | ||
* TODO remove this by moving all Filesystem subclasses to file_operations | ||
*/ | ||
object FilesystemLoader { | ||
init { | ||
AmazeFile //Loads all of the file_operations Filesystem subclasses | ||
FileAmazeFilesystem | ||
OtgAmazeFilesystem | ||
SmbAmazeFilesystem | ||
SshAmazeFilesystem.INSTANCE | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters