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

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

Change-Id: Ib6d8a0ad534e43720f29cb84d88b8f64e97202be