Update SplitController to use updated method names.

Add implementation of clearSplitListenerCallback.

Bug: 240265856
Test: atest CtsWindowManagerJetpackTestCases
Change-Id: I5cc141faf9b29426f00a60794dc7bb86894cb61f
This commit is contained in:
Diego Vela
2022-08-30 22:12:07 +00:00
parent 112fa53798
commit a7457301f5
2 changed files with 10 additions and 0 deletions

View File

@@ -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.