commit | ed60140a9319ec32d1b7d937723883a401b0becb | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Thu Jun 28 17:25:37 2018 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Jun 28 17:25:37 2018 +0000 |
tree | 1b2346b0648968363c41dfd86826e728ec91e877 | |
parent | 143c65d520b197a271d6de282fc7759d8009ce44 [diff] | |
parent | 908111d2d79c5f48304f56176f35eecfaff15b63 [diff] |
Merge "Do not create highlight if track width is invalid" into pi-dev
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStepController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStepController.java index 1da8e81..af1d220 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStepController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStepController.java
@@ -501,6 +501,9 @@ } 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);