diff --git a/.gitignore b/.gitignore index 4ccd1d67a..a3062beae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ .vscode/* -frameworks/services/media_mtp/.vscode/ -frameworks/services/media_mtp/t diff --git a/frameworks/services/media_mtp/src/mtp_file_observer.cpp b/frameworks/services/media_mtp/src/mtp_file_observer.cpp index 6673f4414..d37e7642e 100755 --- a/frameworks/services/media_mtp/src/mtp_file_observer.cpp +++ b/frameworks/services/media_mtp/src/mtp_file_observer.cpp @@ -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; diff --git a/frameworks/services/media_mtp/src/object_info.cpp b/frameworks/services/media_mtp/src/object_info.cpp index 3bf96411e..5a5b22b7a 100644 --- a/frameworks/services/media_mtp/src/object_info.cpp +++ b/frameworks/services/media_mtp/src/object_info.cpp @@ -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);