aboutsummaryrefslogtreecommitdiffstats
path: root/system/OpenglSystemCommon
diff options
context:
space:
mode:
authorYilong Li <liyl@google.com>2020-06-24 22:21:07 -0700
committerYilong Li <liyl@google.com>2020-06-25 08:47:41 +0000
commit0289f1c2eda403384e35c7edcb7631810f81962d (patch)
tree6e18975a13c1712f5e927c449372cf206f2a58f2 /system/OpenglSystemCommon
parent622f6f5d98a94777847549b6b33a0c5bc17bbbdb (diff)
downloaddevice_generic_goldfish-opengl-0289f1c2eda403384e35c7edcb7631810f81962d.tar.gz
device_generic_goldfish-opengl-0289f1c2eda403384e35c7edcb7631810f81962d.tar.bz2
device_generic_goldfish-opengl-0289f1c2eda403384e35c7edcb7631810f81962d.zip
Fix log priority on Fuchsia.
1) Fix log priorities on Fuchsia, allowing ALOGD() to be printed as long as the system minimum logging level is lower than DEBUG. 2) The address space backoff should be a WARNING instead of ERROR. Bug: fxb/54083 Change-Id: I2eb013e99830edf2c12608946c6dc0f3ec05c974
Diffstat (limited to 'system/OpenglSystemCommon')
-rw-r--r--system/OpenglSystemCommon/AddressSpaceStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/OpenglSystemCommon/AddressSpaceStream.cpp b/system/OpenglSystemCommon/AddressSpaceStream.cpp
index 7c0f1546..3f066f3b 100644
--- a/system/OpenglSystemCommon/AddressSpaceStream.cpp
+++ b/system/OpenglSystemCommon/AddressSpaceStream.cpp
@@ -424,7 +424,7 @@ ssize_t AddressSpaceStream::speculativeRead(unsigned char* readBuffer, size_t tr
}
if (backedOffIters > 0) {
- ALOGE("%s: warning: backed off %zu times due to host slowness.\n",
+ ALOGW("%s: backed off %zu times due to host slowness.\n",
__func__,
backedOffIters);
}