Fix work profile applications do not receive event transaction data

Extend the API to be able to check NFC event permission based on userId.
Get packageManager based on userId.

Bug: 192994529
Test: manually with CtsVerifier
Change-Id: Ic52d6a40c289f686b692d1cfc138b943ac761869
1 file changed