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

Commit f9f665cf authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "WindowContainer: Obtain BLASTSyncTransaction from factory" into rvc-dev...

Merge "WindowContainer: Obtain BLASTSyncTransaction from factory" into rvc-dev am: 501bbb36 am: 56f63abf am: a1521621

Change-Id: Ia9d50a0a4b58e434ed5455e6c73e8b2c833a17a2
parents e95939af a1521621
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -275,7 +275,7 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
    RemoteToken mRemoteToken = null;

    BLASTSyncEngine mBLASTSyncEngine = new BLASTSyncEngine();
    SurfaceControl.Transaction mBLASTSyncTransaction = new SurfaceControl.Transaction();
    SurfaceControl.Transaction mBLASTSyncTransaction;
    boolean mUsingBLASTSyncTransaction = false;
    BLASTSyncEngine.TransactionReadyListener mWaitingListener;
    int mWaitingSyncId;
@@ -283,6 +283,7 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
    WindowContainer(WindowManagerService wms) {
        mWmService = wms;
        mPendingTransaction = wms.mTransactionFactory.get();
        mBLASTSyncTransaction = wms.mTransactionFactory.get();
        mSurfaceAnimator = new SurfaceAnimator(this, this::onAnimationFinished, wms);
        mSurfaceFreezer = new SurfaceFreezer(this, wms);
    }