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

am: 42b3610adc

Change-Id: I3238399a26917f80bd4e33bb20142f62076e6f4f
This commit is contained in:
Robert Carr
2017-06-13 00:54:10 +00:00
committed by android-build-merger

View File

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