OSDN Git Service

Update divider shadow when it is moving
authorJorim Jaggi <jjaggi@google.com>
Fri, 6 Nov 2015 21:00:18 +0000 (22:00 +0100)
committerJorim Jaggi <jjaggi@google.com>
Fri, 6 Nov 2015 21:08:57 +0000 (21:08 +0000)
Change-Id: Ifc67ba3ee640929248cad6479d9c0df818e32f40

packages/SystemUI/src/com/android/systemui/stackdivider/DividerView.java

index 3d6c600..59d4011 100644 (file)
@@ -303,6 +303,10 @@ public class DividerView extends FrameLayout implements OnTouchListener,
         if (mTmpRect.equals(mLastResizeRect)) {
             return;
         }
+
+        // Make sure shadows are updated
+        mBackground.invalidate();
+
         mLastResizeRect.set(mTmpRect);
         mWindowManagerProxy.resizeDockedStack(mTmpRect);
     }