Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c614baa6 authored by jiaoyuan's avatar jiaoyuan
Browse files

SnapdragonGallery: update min birghtness value

update min birghtness value, 0.0f is not support

Change-Id: I6423dab0e882187ef6e1a8d670efaad04dc80fc7
parent c4ddefcf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ public class GestureControllerOverlay extends FrameLayout implements
        }
        float targetBrightness = (float) (mStartBrightness + adjustPercent * 1.0f);
        if (targetBrightness <= 0.0f) {
            targetBrightness = 0.0f;
            targetBrightness = 0.004f;
        } else if (targetBrightness >= 1.0f) {
            targetBrightness = 1.0f;
        }