[automerger skipped] Do not modify vector after getting references am: beb878bcfb am: 96d53dc0cc -s ours am: 8c9cfdedc3 -s ours am: 908ac97fcc -s ours am: bbb9d97e4b -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: I5e6588484c4b0f57ede2206d6938fc72112b6ba7