summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqctecmdr <qctecmdr@localhost>2022-08-07 20:35:47 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2022-08-07 20:35:47 -0700
commit3ed3e5eecf052ed9659a7350aee6e608da685b8f (patch)
tree06c32c4753c0faf2514fe3176414c02422619c79
parent388677ba0ba51150bf4ef9edde4140e8f86a02bf (diff)
parente0205383ef8eb4471f23df833e330f96b024d414 (diff)
Merge "composer: Mask errors for doze support query on invalid display"
-rw-r--r--composer/hwc_session.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/hwc_session.cpp b/composer/hwc_session.cpp
index aaf225ab..3e686478 100644
--- a/composer/hwc_session.cpp
+++ b/composer/hwc_session.cpp
@@ -1290,7 +1290,7 @@ int32_t HWCSession::SetPowerMode(hwc2_display_t display, int32_t int_mode) {
int support = 0;
auto status = GetDozeSupport(display, &support);
if (status != HWC2_ERROR_NONE) {
- DLOGE("Failed to get doze support Error = %d", status);
+ DLOGW("Failed to get doze support Error = %d", status);
return INT32(status);
}
@@ -1387,7 +1387,7 @@ int32_t HWCSession::GetDozeSupport(hwc2_display_t display, int32_t *out_support)
if (display >= HWCCallbacks::kNumDisplays || (hwc_display_[display] == nullptr)) {
// display may come as -1 from VTS test case
- DLOGE("Invalid Display %d ", UINT32(display));
+ DLOGW("Invalid Display %d ", UINT32(display));
return HWC2_ERROR_BAD_DISPLAY;
}