Snap for 7306623 from bdd62060a73f4a22b060b25b9252851003d0e0ec to sc-release
Change-Id: I54356ac7fe6d1e8cafbf8d1e526246fe28f86cde
diff --git a/ProcessState.cpp b/ProcessState.cpp
index 2e96d0f..d329657 100644
--- a/ProcessState.cpp
+++ b/ProcessState.cpp
@@ -347,7 +347,7 @@
status_t ProcessState::enableOnewaySpamDetection(bool enable) {
uint32_t enableDetection = enable ? 1 : 0;
if (ioctl(mDriverFD, BINDER_ENABLE_ONEWAY_SPAM_DETECTION, &enableDetection) == -1) {
- ALOGE("Binder ioctl to enable oneway spam detection failed: %s", strerror(errno));
+ ALOGI("Binder ioctl to enable oneway spam detection failed: %s", strerror(errno));
return -errno;
}
return NO_ERROR;
@@ -385,7 +385,7 @@
uint32_t enable = DEFAULT_ENABLE_ONEWAY_SPAM_DETECTION;
result = ioctl(fd, BINDER_ENABLE_ONEWAY_SPAM_DETECTION, &enable);
if (result == -1) {
- ALOGE("Binder ioctl to enable oneway spam detection failed: %s", strerror(errno));
+ ALOGI("Binder ioctl to enable oneway spam detection failed: %s", strerror(errno));
}
} else {
ALOGW("Opening '/dev/hwbinder' failed: %s\n", strerror(errno));