diff options
Diffstat (limited to 'hwc2_device/HwcDisplay.cpp')
-rw-r--r-- | hwc2_device/HwcDisplay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwc2_device/HwcDisplay.cpp b/hwc2_device/HwcDisplay.cpp index cecdbe5..333857e 100644 --- a/hwc2_device/HwcDisplay.cpp +++ b/hwc2_device/HwcDisplay.cpp @@ -702,7 +702,7 @@ HWC2::Error HwcDisplay::SetPowerMode(int32_t mode_in) { return HWC2::Error::None; } - if (a_args.active) { + if (a_args.active && *a_args.active) { /* * Setting the display to active before we have a composition * can break some drivers, so skip setting a_args.active to |