summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Matt Casey <mrcasey@google.com> 2024-10-03 21:22:33 +0000
committer Matt Casey <mrcasey@google.com> 2024-10-04 12:52:57 +0000
commit54dcbabd1bad5e9b6c1a08fdb7de5a3fb1056a89 (patch)
tree8a3ce454518615379583f573a40054fc34d0018f /api/api_test.go
parent2addde756aba5c20dceb554d35e013dcac1378f3 (diff)
Make userHandle non-null
Downstream code was already assuming it wasn't null. Not setting the value in ScreenshotRequest would send in user zero which would not result in a null. UserHandle.of() does not return null, so we'll always have a value even if a bad int is passed in. Bug: 370798587 Flag: EXEMPT minor refactor Test: atest com.android.systemui.screenshot Change-Id: Idbe4185b4bdafff090758b7d5faf276e39fa3184
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions