Merge "Check PendingStartActivityUids in getAppStartModeLocked." into rvc-dev am: 66929380ab am: 235421ccd4

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

Change-Id: I438d0a062ba13dd7f64238828c41cee1a9909eab