OnPreDrawListener that returns false stops the rending pipeline

This is what was stopping the status bar from being drawn

Bug: 112265524
Bug: 114213516

Test: start the emulator with -wipe-data that created a high repo of the problem
Change-Id: I5b0807e94f9d84325b2a517348fa19956f51715b
(cherry picked from commit 94c0d8a8a3596bd54102198b18de0b9399e7ed0d)
This commit is contained in:
Brad Stenning
2018-09-11 10:45:25 -07:00
parent ea90ce48dc
commit 8b06183f0b

View File

@@ -177,7 +177,7 @@ public class AnimatedTemperatureView extends FrameLayout implements TemperatureV
}
}
textView.getViewTreeObserver().removeOnPreDrawListener(this);
return false;
return true;
}
});
textView.setLayoutParams(new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,