summaryrefslogtreecommitdiffstats
path: root/minadbd/minadbd_services.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-04-15 21:45:50 +0200
committerTao Bao <tbao@google.com>2019-04-16 01:53:31 +0200
commit2be9737cf449dd0650c85ee5168d09b12d386077 (patch)
tree7a35b9599ad22a98c5cd85960e24c23a0162a696 /minadbd/minadbd_services.cpp
parentMerge "Add socket communication between recovery and minadbd" (diff)
downloadandroid_bootable_recovery-2be9737cf449dd0650c85ee5168d09b12d386077.tar
android_bootable_recovery-2be9737cf449dd0650c85ee5168d09b12d386077.tar.gz
android_bootable_recovery-2be9737cf449dd0650c85ee5168d09b12d386077.tar.bz2
android_bootable_recovery-2be9737cf449dd0650c85ee5168d09b12d386077.tar.lz
android_bootable_recovery-2be9737cf449dd0650c85ee5168d09b12d386077.tar.xz
android_bootable_recovery-2be9737cf449dd0650c85ee5168d09b12d386077.tar.zst
android_bootable_recovery-2be9737cf449dd0650c85ee5168d09b12d386077.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);