summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZimuzo Ezeozue <zezeozue@google.com>2020-06-29 19:28:38 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-06-29 19:28:38 +0000
commit31d9b5c83032faa0d746cffc3c7660e8661e7f58 (patch)
tree5f2d783b644607bb4646872190373caf523b3da5
parentf6eb7263f1558f556a2edbccec20ca914fffa372 (diff)
parentbf3321ff4e29e67a5f0bc0ec5cdf6c6c01f8e5f5 (diff)
downloadMediaProvider-31d9b5c83032faa0d746cffc3c7660e8661e7f58.tar.gz
Merge "Remove spammy FUSE redaction logs" into rvc-dev
-rw-r--r--jni/RedactionInfo.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/jni/RedactionInfo.cpp b/jni/RedactionInfo.cpp
index d943c8aee..17de22e05 100644
--- a/jni/RedactionInfo.cpp
+++ b/jni/RedactionInfo.cpp
@@ -14,12 +14,8 @@
* limitations under the License.
*/
-#define LOG_TAG "RedactionInfo"
-
#include "include/libfuse_jni/RedactionInfo.h"
-#include <android-base/logging.h>
-
using std::unique_ptr;
using std::vector;
@@ -94,7 +90,6 @@ RedactionInfo::RedactionInfo(int redaction_ranges_num, const off64_t* redaction_
unique_ptr<vector<RedactionRange>> RedactionInfo::getOverlappingRedactionRanges(size_t size,
off64_t off) const {
- LOG(DEBUG) << "Computing redaction ranges for request: sz = " << size << " off = " << off;
if (hasOverlapWithReadRequest(size, off)) {
auto first_redaction = redaction_ranges_.end();
auto last_redaction = redaction_ranges_.end();
@@ -112,12 +107,9 @@ unique_ptr<vector<RedactionRange>> RedactionInfo::getOverlappingRedactionRanges(
last_redaction = iter;
}
if (first_redaction != redaction_ranges_.end()) {
- LOG(DEBUG) << "Returning " << (int)(last_redaction - first_redaction + 1)
- << " redaction ranges!";
return std::make_unique<vector<RedactionRange>>(first_redaction, last_redaction + 1);
}
}
- LOG(DEBUG) << "No relevant redaction ranges!";
return std::make_unique<vector<RedactionRange>>();
}
} // namespace fuse