From 88002fcb018796f3505944851cb191cd60da2b56 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Thu, 18 Aug 2016 17:56:24 +0530 Subject: [PATCH] [platforms/hwcomposer] Set default old brightness to 50% (0x7f) 0xff or 100% is too much bright, this happens in first setup. Reviewed-by: mgraesslin --- plugins/platforms/hwcomposer/hwcomposer_backend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/platforms/hwcomposer/hwcomposer_backend.h b/plugins/platforms/hwcomposer/hwcomposer_backend.h index acd5269efc..69a11b9b45 100644 --- a/plugins/platforms/hwcomposer/hwcomposer_backend.h +++ b/plugins/platforms/hwcomposer/hwcomposer_backend.h @@ -99,7 +99,7 @@ private: bool m_outputBlank = true; int m_refreshRate = 60000; int m_vsyncInterval = 16; - int m_oldScreenBrightness = 0xff; + int m_oldScreenBrightness = 0x7f; bool m_hasVsync = false; QMutex m_vsyncMutex; QWaitCondition m_vsyncWaitCondition;