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

This commit is contained in:
TreeHugger Robot
2019-06-17 23:02:18 +00:00
committed by Android (Google) Code Review

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