Fix starting window stuck because of the remove status.

Regression from ag/24405299.
There can be another collecting transition happen while previous
transaction commit. So there should not reset the
mRemoveAfterTransaction during onSyncTransactionCommitted.

Bug: 295458327
Test: launch app from portrait to landscape directly. Verify the
starting window would be removed after the rotation transition finish

Change-Id: Ib10aa0ecf67ca3905afc4e87bdb86eb56b81bfb6
2 files changed