Address the flakiness in AnrHelperTest

Using an actual instance of ActivityManagerService instead of mocking.

Bug: 188750539
Test: atest AnrHelperTest
Change-Id: I8de8a49579724a7c9fc32ab5c9268d698d1a094a
1 file changed