Merge "Clamp brightness thresholds to the maximum brightness." into qt-qpr1-dev am: 4274934c01

Change-Id: Ia9cac1aa7627eda8223f664d6a4a8ae1929a1e63