summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Derek Jedral <derekjedral@google.com> 2023-05-01 11:46:20 -0700
committer Derek Jedral <derekjedral@google.com> 2023-05-04 15:53:27 -0700
commit6241b77464a11856a7107419d37484b242a1b07c (patch)
treec8ac10c88731596bfa5a947e5acfe73a182e3f19 /libs/androidfw/FileStream.cpp
parentcfbdee11598bf87bcdec8d122002715ea3c2c4b3 (diff)
Report correct userId in onUserMayRequestUnlock.
obtainMessage with two arguments will set the user id as the object, but this value is retrieved as msg.arg1. We need to call obtainMessage with three arguments instead to make the second argument the userId. Thir third argument will be ignored by the receiver. Test: atest TrustTests:UserUnlockRequestTest Bug: b/278323473 Change-Id: Ie08c643f9fb5fbbe7f107a1f267074805ddc500b
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions