commit | fd6dc339551e5aa041daec7abffc3ff8eaeca138 | [log] [tgz] |
---|---|---|
author | Zach Reizner <zachr@google.com> | Tue Oct 13 21:12:48 2015 -0700 |
committer | Zach Reizner <zachr@google.com> | Thu Oct 15 13:28:02 2015 -0700 |
tree | df6bf45c27c4f0019a9073da15e6f09a8ffc3a15 | |
parent | 738593c7c5e96b8a16fad8be661710374994e510 [diff] [blame] |
drm_hwcomposer: reimplement Dump for DrmDisplayCompositor Also fixes hwc_dump sometimes failing to null terminate its output buffer. TEST=dumpsys SurfaceFlinger Change-Id: Ibf93cfd496a07a9375d78a8b239c2c7876aff986
diff --git a/drm_hwcomposer.h b/drm_hwcomposer.h index 1490438..66c2c81 100644 --- a/drm_hwcomposer.h +++ b/drm_hwcomposer.h
@@ -171,7 +171,7 @@ return *this; } - operator bool() { + operator bool() const { return importer_ != NULL; }