Fix testTimeTrackingAPI_ChainedActivityExit test
Test fails when ran alone (at least on emulators). It expects broadcast
ACTIVITY_LAUNCHED_ACTION, which is never sent from the two activities
that test launches. Change the broadcast filter to listen to the
ACTIVITY_CHAIN_EXIT_ACTION action, which was probably intended in the
first place (defined in the file, but never used).
diff --git a/tests/app/src/android/app/cts/ActivityManagerTest.java b/tests/app/src/android/app/cts/ActivityManagerTest.java
index e46bfbd..9049171 100644
@@ -510,7 +510,7 @@
// The application finished tracker.
ActivityReceiverFilter appEndReceiver = new ActivityReceiverFilter(
// The filter for the time event.
ActivityReceiverFilter timeReceiver = new ActivityReceiverFilter(ACTIVITY_TIME_TRACK_INFO);