[automerger skipped] Do not modify vector after getting references am: beb878bcfb am: 96d53dc0cc -s ours am: 8c9cfdedc3 -s ours am: 1deda15d71 -s ours am: aabd53ca46 -s ours

am skip reason: Merged-In I9204b954884e9c83a50babdad5e08a0f6d18ad78 with SHA-1 8cf78f9553 is already in history

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

Change-Id: Ic05e99cfa06575a14ae409a082cdf2b7b6a4b8b8