Merge cherrypicks of ['googleplex-android-review.googlesource.com/40471127'] into 25Q2-release. Change-Id: I38e12de6b5420d573f1dc7bfc8b440e1e0c3dc58