summaryrefslogtreecommitdiffstats
path: root/quickstep
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-06-17 23:02:18 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-06-17 23:02:18 +0000
commite1abaa64c25fdc9841f5cbeff2647ff4f95ac255 (patch)
tree8a70c969d8b2bf568cb5db7c23827f7ce9919b89 /quickstep
parent074b1434ae31f244b838913bf68af58febc4ca45 (diff)
parent5095684e222b8130e7aa6363f1418d0de54e1110 (diff)
downloadandroid_packages_apps_Trebuchet-e1abaa64c25fdc9841f5cbeff2647ff4f95ac255.tar.gz
android_packages_apps_Trebuchet-e1abaa64c25fdc9841f5cbeff2647ff4f95ac255.tar.bz2
android_packages_apps_Trebuchet-e1abaa64c25fdc9841f5cbeff2647ff4f95ac255.zip
Merge "TaskThumbnailView - post updates to overlays." into ub-launcher3-qt-dev
Diffstat (limited to 'quickstep')
-rw-r--r--quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java5
1 files changed, 4 insertions, 1 deletions
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 6f10b42fb..d55a52044 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 @@ 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