commit | 854cb1745dd4abd06e6e8e6eef99f44faa54a219 | [log] [tgz] |
---|---|---|
author | caozhiyuan <cao.zhiyuan@zte.com.cn> | Wed Apr 26 16:52:30 2017 +0800 |
committer | Jerry Zhang <zhangjerry@google.com> | Thu Apr 27 11:35:32 2017 -0700 |
tree | f73f7217c3556de262f0f7645b2275265320a4fb | |
parent | 94d15f9c0c7dc8a916ebfcf0f208adcc427df7f6 [diff] [blame] |
mtp: Preserve last modified time of files. Bug: 6325175 Test: Transfer files Change-Id: I54af3205575f2bb83c732bb70907f60e0b785e91 Signed-off-by: caozhiyuan <cao.zhiyuan@zte.com.cn>
diff --git a/media/mtp/MtpServer.h b/media/mtp/MtpServer.h index 64d1b72..08a9e4a 100644 --- a/media/mtp/MtpServer.h +++ b/media/mtp/MtpServer.h
@@ -78,6 +78,7 @@ MtpObjectFormat mSendObjectFormat; MtpString mSendObjectFilePath; size_t mSendObjectFileSize; + time_t mSendObjectModifiedTime; Mutex mMutex;