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

Commit df7af46a authored by Jesse Hall's avatar Jesse Hall Committed by Simon Wilson
Browse files

VirtualDisplayAdapter: Set the transaction surface even if NULL

Bug: 17116728
Change-Id: I55e4a2e575cfd3788fbdb90b050dac486976c1b6
parent 94174ff7
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -146,10 +146,8 @@ final class VirtualDisplayAdapter extends DisplayAdapter {

        @Override
        public void performTraversalInTransactionLocked() {
            if (mSurface != null) {
            setSurfaceInTransactionLocked(mSurface);
        }
        }

        public void setSurfaceLocked(Surface surface) {
            if (mSurface != surface) {