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

Change-Id: I1fc23d1edd74b8aa0368da397bbdb84bac361da3
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);