composer: Change log severity level for cwb
* No new cwb dump allowed until previous finished.
* Fix cwb finish status
Change-Id: Ie92120f9896665cfbc3c2224263a22a0bdf141fa
diff --git a/composer/hwc_display_builtin.cpp b/composer/hwc_display_builtin.cpp
index 8d3bb4e..342857b 100644
--- a/composer/hwc_display_builtin.cpp
+++ b/composer/hwc_display_builtin.cpp
@@ -837,8 +837,7 @@
if (dump_output_to_file_) {
if (cwb_client_ != kCWBClientNone) {
- DLOGE("CWB is in use with client = %d", cwb_client_);
- dump_output_to_file_ = false;
+ DLOGW("CWB is in use with client = %d", cwb_client_);
return HWC2::Error::NoResources;
}
}