commit | e1abaa64c25fdc9841f5cbeff2647ff4f95ac255 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Mon Jun 17 23:02:18 2019 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Jun 17 23:02:18 2019 +0000 |
tree | 8a70c969d8b2bf568cb5db7c23827f7ce9919b89 | |
parent | 074b1434ae31f244b838913bf68af58febc4ca45 [diff] | |
parent | 5095684e222b8130e7aa6363f1418d0de54e1110 [diff] |
Merge "TaskThumbnailView - post updates to overlays." into ub-launcher3-qt-dev
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