Tie notifyFramePending to load reset more explicitly
Cleans up some logic around notifyFramePending sending the load change
hint; they should have always happened together but apparently weren't.
Bug: b/260663188
Test: manual
Change-Id: I7f643a31c9a6773426386bb3be2de59a4efd45ac
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp
index 64839d0..78ae5cf 100644
--- a/libs/hwui/renderthread/CanvasContext.cpp
+++ b/libs/hwui/renderthread/CanvasContext.cpp
@@ -475,6 +475,7 @@
void CanvasContext::notifyFramePending() {
ATRACE_CALL();
mRenderThread.pushBackFrameCallback(this);
+ sendLoadResetHint();
}
void CanvasContext::draw() {