commit | 214ce9fc1be44f12e827bff619370aa6f1bc6839 | [log] [tgz] |
---|---|---|
author | Zak Cohen <zakcohen@google.com> | Mon Jun 17 16:23:29 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Mon Jun 17 16:23:29 2019 -0700 |
tree | 8a70c969d8b2bf568cb5db7c23827f7ce9919b89 | |
parent | e9a50be448ff2e3fccc275fef155aa2b137ce732 [diff] | |
parent | e1abaa64c25fdc9841f5cbeff2647ff4f95ac255 [diff] |
Merge "TaskThumbnailView - post updates to overlays." into ub-launcher3-qt-dev am: e1abaa64c2 Change-Id: I428f41aa4881c6c8144bea6508a794c99dd1e29a
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java index 6f10b42..d55a520 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java
@@ -367,8 +367,11 @@ } 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