Report ANR when waited for longer than the timeout am: e4623041f9 am: 975f545d18

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/11883661

Change-Id: I7153eed30f2fd08fce32afefb912bf9597614144