Skip to content

Commit

Permalink
[Android] StorageProvider: Add support for SMB mounts.
Browse files Browse the repository at this point in the history
  • Loading branch information
ksooo committed Apr 5, 2021
1 parent 87fc997 commit 14d9ca4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions xbmc/platform/android/storage/AndroidStorageProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <androidjni/Environment.h>
#include <androidjni/StorageManager.h>

static const char * typeWL[] = { "vfat", "exfat", "sdcardfs", "fuse", "ntfs", "fat32", "ext3", "ext4", "esdfs" };
static const char * typeWL[] = { "vfat", "exfat", "sdcardfs", "fuse", "ntfs", "fat32", "ext3", "ext4", "esdfs", "cifs" };
static const char * mountWL[] = { "/mnt", "/Removable", "/storage" };
static const char * mountBL[] = {
"/mnt/secure",
Expand All @@ -44,7 +44,8 @@ static const char * mountBL[] = {
static const char * deviceWL[] = {
"/dev/block/vold",
"/dev/fuse",
"/mnt/media_rw"
"/mnt/media_rw",
"//" // SMB
};

IStorageProvider* IStorageProvider::CreateInstance()
Expand Down

0 comments on commit 14d9ca4

Please sign in to comment.