Merge "TaskThumbnailView - post updates to overlays." into ub-launcher3-qt-dev

am: e1abaa64c2

Change-Id: I428f41aa4881c6c8144bea6508a794c99dd1e29a
This commit is contained in:
Zak Cohen
2019-06-17 16:23:29 -07:00
committed by android-build-merger

View File

@@ -367,8 +367,11 @@ public class TaskThumbnailView extends View {
}
mRotated = isRotated;
updateOverlay();
invalidate();
// Update can be called from {@link #onSizeChanged} during layout, post handling of overlay
// as overlay could modify the views in the overlay as a side effect of its update.
post(this::updateOverlay);
}
@Override