Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73758a19 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "SurfaceView: Use BLAST transaction when visibility changes." into...

Merge "SurfaceView: Use BLAST transaction when visibility changes." into rvc-dev am: 7a851ba7 am: a50b55f7 am: 1b98e232

Change-Id: Ic483ac97d600d895a82d3218ed0ab8ba3eb559c1
parents 1bb96484 1b98e232
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1037,7 +1037,7 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
                            mTmpTransaction.setWindowCrop(mSurfaceControl, mSurfaceWidth,
                            mTmpTransaction.setWindowCrop(mSurfaceControl, mSurfaceWidth,
                                    mSurfaceHeight);
                                    mSurfaceHeight);
                        }
                        }
                    } else if ((layoutSizeChanged || positionChanged) &&
                    } else if ((layoutSizeChanged || positionChanged || visibleChanged) &&
                            viewRoot.useBLAST()) {
                            viewRoot.useBLAST()) {
                        viewRoot.setUseBLASTSyncTransaction();
                        viewRoot.setUseBLASTSyncTransaction();
                    }
                    }