Merge "Fixing a flake when workspace loading never finishes." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5fe61d4ff7
@@ -59,6 +59,7 @@ public class ViewOnDrawExecutor implements OnDrawListener, Runnable,
|
||||
private void attachObserver() {
|
||||
if (!mCompleted) {
|
||||
mAttachedView.getViewTreeObserver().addOnDrawListener(this);
|
||||
mAttachedView.getRootView().invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user