Files
Nathan Muggli 670d0cdb63 print: Prevent cross-user icon access
A specially crafted URI could cause Uri.getEncodedUserInfo to return an
incorrect value.  Instead, use the more robust getUserIdFromAuthority.

Additionally, refactored this check slightly to address a few previous
CL comments.

Bug: 376462130
Test: Manual test using steps from bug
Flag: EXEMPT BUGFIX
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:8d40513846ee77a70f17e392ef9a9fc4ac254e44
Merged-In: I020c64c8dd1b755877826c7fc7dadecae98dd5f4
Change-Id: I020c64c8dd1b755877826c7fc7dadecae98dd5f4
2025-10-27 18:39:30 -07:00
..