mirror of
https://github.com/openharmony/multimedia_medialibrary_standard.git
synced 2026-07-01 00:17:55 -04:00
update mtp module changes
Signed-off-by: zhangdaiyue <zhangdaiyue1@huawei.com>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
.vscode/*
|
||||
frameworks/services/media_mtp/.vscode/
|
||||
frameworks/services/media_mtp/t
|
||||
|
||||
@@ -121,7 +121,6 @@ bool MtpFileObserver::WatchPathThread(const ContextSptr &context)
|
||||
SendBattery(context);
|
||||
if (watchMap_.size() > 0) {
|
||||
AddInotifyEvents(inotifyFd_, context);
|
||||
MEDIA_DEBUG_LOG("MtpFileObserver WatchPathThread watchPairs.size:%{public}u", watchMap_.size());
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -36,12 +36,6 @@ void ObjectInfo::Dump()
|
||||
MEDIA_DEBUG_LOG(" association={type=%{public}s(%{public}x), desc=%{public}x}",
|
||||
MtpPacketTool::GetAssociationName(associationType).c_str(), associationType, associationDesc);
|
||||
|
||||
std::string dateCreatedStr = MtpPacketTool::FormatDateTime(dateCreated);
|
||||
std::string dateModifiedStr = MtpPacketTool::FormatDateTime(dateModified);
|
||||
MEDIA_DEBUG_LOG(" sequenceNumber=%{public}u,"
|
||||
" date={create=%{public}s(%{public}lld), modify=%{public}s(%{public}lld)}",
|
||||
sequenceNumber, dateCreatedStr.c_str(), dateCreated, dateModifiedStr.c_str(), dateModified);
|
||||
|
||||
MEDIA_DEBUG_LOG(" protectionStatus=%{public}u, compressedSize=%{public}u, size=%{public}u",
|
||||
protectionStatus, compressedSize, size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user