Fix ActivityEmbeddingLifecycleTests flakiness

There's no guarantee when Activity ON_STOP should be called
with another Activity's lifecycle event.

Bug: 293992289
Test: atest ActivityEmbeddingLifecycleTests
Change-Id: Ic735001e993c536cf5877413496b090e4ad16b85
1 file changed