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

am: 42b3610adc

Change-Id: Ib1001156c0a68f695d755da51af5f0548ccbacba
This commit is contained in:
Robert Carr
2017-06-12 23:45:37 +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);
}
@Override
public void deferTransactionUntil(Surface barrier, long frame) {
super.deferTransactionUntil(barrier, frame);
mBackgroundControl.deferTransactionUntil(barrier, frame);
}
void updateBackgroundVisibility() {
if (mOpaque && mVisible) {
mBackgroundControl.show();