[automerger skipped] Merge "Reduce the usage of goto statements in dispatcher" into rvc-dev am: 418a9e4235 am: 68830f34a0 -s ours

am skip reason: Change-Id I0ef0b3a0820ce643486cec5d9cbeb0f593344ee6 with SHA-1 7f0a439ef7 is in history

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

Change-Id: I8885ba50aa0aaea5afe367fc4b888636414a271a