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

Commit 038f1a19 authored by Matthew Ng's avatar Matthew Ng Committed by android-build-merger
Browse files

Merge "Do not create highlight if track width is invalid" into pi-dev am: ed60140a

am: f3cdbd27

Change-Id: Ia25977dd17a536b85d57e5700ffe02244dff77cb
parents c0bbfbbc f3cdbd27
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -515,6 +515,9 @@ public class QuickStepController implements GestureHelper {
    }

    private void updateHighlight() {
        if (mTrackRect.isEmpty()) {
            return;
        }
        int colorBase, colorGrad;
        if (mDarkIntensity > 0.5f) {
            colorBase = mContext.getColor(R.color.quick_step_track_background_background_dark);