[platforms/hwcomposer] Set default old brightness to 50% (0x7f)

0xff or 100% is too much bright, this happens in first setup.

Reviewed-by: mgraesslin
This commit is contained in:
Bhushan Shah 2016-08-18 17:56:24 +05:30
parent b7f49244e0
commit 88002fcb01

View file

@ -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;