Commit 88002fcb authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

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

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

Reviewed-by: mgraesslin
parent b7f49244
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment