Remove the cast and use the override then()

Change-Id: I137961a97c68f628fcc8b945f45665ce81e0e9b2
Test: atest AutoEnterPipFromSplitScreenOnGoToHomeTest
Bug: 301107915
1 file changed