diff options
author | dianlujitao <dianlujitao@lineageos.org> | 2019-03-26 04:07:51 +0100 |
---|---|---|
committer | dianlujitao <dianlujitao@lineageos.org> | 2019-03-28 08:04:42 +0100 |
commit | 95244dd6c0e7ccb85a32eaac94ecb3376fb3a095 (patch) | |
tree | 8d59cd90ac5f9775c3d7f99271579a6f86f0c194 /mtp/ffs/MtpServer.cpp | |
parent | updater: Allow devices to suppress BLKDISCARD (diff) | |
download | android_bootable_recovery-95244dd6c0e7ccb85a32eaac94ecb3376fb3a095.tar android_bootable_recovery-95244dd6c0e7ccb85a32eaac94ecb3376fb3a095.tar.gz android_bootable_recovery-95244dd6c0e7ccb85a32eaac94ecb3376fb3a095.tar.bz2 android_bootable_recovery-95244dd6c0e7ccb85a32eaac94ecb3376fb3a095.tar.lz android_bootable_recovery-95244dd6c0e7ccb85a32eaac94ecb3376fb3a095.tar.xz android_bootable_recovery-95244dd6c0e7ccb85a32eaac94ecb3376fb3a095.tar.zst android_bootable_recovery-95244dd6c0e7ccb85a32eaac94ecb3376fb3a095.zip |
Diffstat (limited to 'mtp/ffs/MtpServer.cpp')
-rwxr-xr-x | mtp/ffs/MtpServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mtp/ffs/MtpServer.cpp b/mtp/ffs/MtpServer.cpp index 5f17ff2ff..fa6702433 100755 --- a/mtp/ffs/MtpServer.cpp +++ b/mtp/ffs/MtpServer.cpp @@ -123,7 +123,7 @@ MtpServer::MtpServer(IMtpDatabase* database, int controlFd, bool ptp, mHandle = aio_compat ? new MtpFfsCompatHandle(controlFd) : new MtpFfsHandle(controlFd); mHandle->writeDescriptors(mPtp); } else { - mHandle = new MtpDevHandle(); + mHandle = new MtpDevHandle(controlFd); } } |