[automerger skipped] Merge "Crash the process when midi extraction times out" am: 3723513e49 -s ours am: 19ab568379 -s ours am: 99e58aa547 -s ours

am skip reason: Change-Id I8d2fd85f91d1d2749c5620cf8518583076d2f6d7 with SHA-1 166a84bfe3 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1325718

Change-Id: I68631b479195280adacff536883c742104ad99bf