summaryrefslogtreecommitdiffstats
path: root/mtp/ffs/MtpDevHandle.h
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2019-03-26 04:07:51 +0100
committerdianlujitao <dianlujitao@lineageos.org>2019-03-28 08:04:42 +0100
commit95244dd6c0e7ccb85a32eaac94ecb3376fb3a095 (patch)
tree8d59cd90ac5f9775c3d7f99271579a6f86f0c194 /mtp/ffs/MtpDevHandle.h
parentupdater: Allow devices to suppress BLKDISCARD (diff)
downloadandroid_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 '')
-rw-r--r--mtp/ffs/MtpDevHandle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtp/ffs/MtpDevHandle.h b/mtp/ffs/MtpDevHandle.h
index 4b0692889..4ea1fdb2e 100644
--- a/mtp/ffs/MtpDevHandle.h
+++ b/mtp/ffs/MtpDevHandle.h
@@ -25,7 +25,7 @@ private:
android::base::unique_fd mFd;
public:
- MtpDevHandle();
+ MtpDevHandle(int controlFd);
~MtpDevHandle();
int read(void *data, size_t len);
int write(const void *data, size_t len);