Merge "SurfaceView: Fix missing override for SurfaceControl proxy" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-06-12 23:38:14 +00:00
committed by Android (Google) Code Review

View File

@@ -1196,6 +1196,12 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
mBackgroundControl.deferTransactionUntil(handle, frame);
}
@Override
public void deferTransactionUntil(Surface barrier, long frame) {
super.deferTransactionUntil(barrier, frame);
mBackgroundControl.deferTransactionUntil(barrier, frame);
}
void updateBackgroundVisibility() {
if (mOpaque && mVisible) {
mBackgroundControl.show();