commit | 3925dd07b6596a23275cbbd047408f32293f784b | [log] [tgz] |
---|---|---|
author | Azhara Assanova <azharaa@google.com> | Fri Mar 15 15:43:08 2024 +0000 |
committer | Azhara Assanova <azharaa@google.com> | Fri Mar 15 17:39:27 2024 +0000 |
tree | 3bbb6cbfcec7de4797db35721d364af6aedd3f3f | |
parent | d44492f0703d2942d2578cfe12e40ec1c68956a8 [diff] |
Fix ActivityCallerState's user id resolution The convertToGrantUri method uses an incorrect default value for the user id. This changes fixes it by retrieving the user id from the uid. Bug: 326819726 Test: atest CtsAndroidAppTestCases:android.app.cts.ComponentCallerTest Test: atest CtsAndroidAppTestCases:android.app.cts.ComponentCallerTest --user-type secondary_user Test: run above on phone and auto targets Change-Id: Ib5767bcec0045be692f41949fbd4e2e80a08b8aa