summaryrefslogtreecommitdiffstats
path: root/minadbd/minadbd_services.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-04-16 19:25:08 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-04-16 19:25:08 +0200
commitbb0c6e1fe7b71fe9cc60b2fd867719de4f9ef8c1 (patch)
treef150e0e81a66d948c58960077a9a5c6369bf05f3 /minadbd/minadbd_services.cpp
parentMerge "Move wipe cache|data to libinstall" (diff)
parentRemove the FD parameter from FuseDataProvider ctor. (diff)
downloadandroid_bootable_recovery-bb0c6e1fe7b71fe9cc60b2fd867719de4f9ef8c1.tar
android_bootable_recovery-bb0c6e1fe7b71fe9cc60b2fd867719de4f9ef8c1.tar.gz
android_bootable_recovery-bb0c6e1fe7b71fe9cc60b2fd867719de4f9ef8c1.tar.bz2
android_bootable_recovery-bb0c6e1fe7b71fe9cc60b2fd867719de4f9ef8c1.tar.lz
android_bootable_recovery-bb0c6e1fe7b71fe9cc60b2fd867719de4f9ef8c1.tar.xz
android_bootable_recovery-bb0c6e1fe7b71fe9cc60b2fd867719de4f9ef8c1.tar.zst
android_bootable_recovery-bb0c6e1fe7b71fe9cc60b2fd867719de4f9ef8c1.zip
Diffstat (limited to '')
-rw-r--r--minadbd/minadbd_services.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/minadbd/minadbd_services.cpp b/minadbd/minadbd_services.cpp
index 79e6fc4e0..f2b65c09b 100644
--- a/minadbd/minadbd_services.cpp
+++ b/minadbd/minadbd_services.cpp
@@ -96,8 +96,7 @@ static void sideload_host_service(unique_fd sfd, const std::string& args) {
exit(kMinadbdSocketIOError);
}
- auto adb_data_reader =
- std::make_unique<FuseAdbDataProvider>(std::move(sfd), file_size, block_size);
+ auto adb_data_reader = std::make_unique<FuseAdbDataProvider>(sfd, file_size, block_size);
if (int result = run_fuse_sideload(std::move(adb_data_reader)); result != 0) {
LOG(ERROR) << "Failed to start fuse";
exit(kMinadbdFuseStartError);