Create a FuseDataProvider base class
The fuse data provider for adb/sdcard shares common code and structures. This cl creates a FuseDataProvider base class and provides implementations for adb and sdcard. In the follow cls, we can kill the provider_vtab struct; and also add another implementation to parse a block map file and provides data. Test: unit tests pass, sideload a package, apply a package from sdcard Change-Id: If8311666a52a2e3c0fbae0ee9688fa6d01e4ad09
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ cc_library_static {
|
||||
srcs: [
|
||||
"adb_install.cpp",
|
||||
"fsck_unshare_blocks.cpp",
|
||||
"fuse_sdcard_provider.cpp",
|
||||
"fuse_sdcard_install.cpp",
|
||||
"install.cpp",
|
||||
"recovery.cpp",
|
||||
"roots.cpp",
|
||||
|
||||
Reference in New Issue
Block a user