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

Change-Id: Ib6d267ca7161131ae5c8048b12bbd06304538795
diff --git a/tests/app/src/android/app/cts/ActivityManagerTest.java b/tests/app/src/android/app/cts/ActivityManagerTest.java
index e46bfbd..9049171 100644
--- a/tests/app/src/android/app/cts/ActivityManagerTest.java
+++ b/tests/app/src/android/app/cts/ActivityManagerTest.java
@@ -510,7 +510,7 @@
 
         // The application finished tracker.
         ActivityReceiverFilter appEndReceiver = new ActivityReceiverFilter(
-                ACTIVITY_LAUNCHED_ACTION);
+                ACTIVITY_CHAIN_EXIT_ACTION);
 
         // The filter for the time event.
         ActivityReceiverFilter timeReceiver = new ActivityReceiverFilter(ACTIVITY_TIME_TRACK_INFO);