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
1 file changed