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

Commit a7457301 authored by Diego Vela's avatar Diego Vela
Browse files

Update SplitController to use updated method names.

Add implementation of clearSplitListenerCallback.

Bug: 240265856
Test: atest CtsWindowManagerJetpackTestCases
Change-Id: I5cc141faf9b29426f00a60794dc7bb86894cb61f
parent 112fa537
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -239,6 +239,16 @@ public class SplitController implements JetpackTaskFragmentOrganizer.TaskFragmen
        }
    }

    /**
     * Clears the listener set in {@link SplitController#setSplitInfoListener}.
     */
    @Override
    public void clearSplitInfoCallback() {
        synchronized (mLock) {
            mEmbeddingCallback = null;
        }
    }

    /**
     * Called when the transaction is ready so that the organizer can update the TaskFragments based
     * on the changes in transaction.