diff options
author | 2021-09-28 20:01:17 +0800 | |
---|---|---|
committer | 2021-11-23 08:05:56 +0000 | |
commit | a7eb5e649c2e532cb0b7ac90ee039a356b02e02d (patch) | |
tree | 2600b976ef19cafbe4f50eb1de254935e589fa97 | |
parent | f7a480d824acae919843cdc1e103a39fbadb13fb (diff) |
Fix work profile applications do not receive event transaction data
Extend the API to be able to check NFC event permission based on userId.
Update API naming.
Bug: 192994529
Bug: 201235792
Test: manually with CtsVerifier
Change-Id: I5dbf3af6f10063f47cf570ba3148d0ef9eb7a4e1
-rw-r--r-- | omapi/aidl/aidl_api/android.se.omapi/current/android/se/omapi/ISecureElementService.aidl | 2 | ||||
-rw-r--r-- | omapi/aidl/android/se/omapi/ISecureElementService.aidl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/omapi/aidl/aidl_api/android.se.omapi/current/android/se/omapi/ISecureElementService.aidl b/omapi/aidl/aidl_api/android.se.omapi/current/android/se/omapi/ISecureElementService.aidl index ae6346278691..0c8e431d18a1 100644 --- a/omapi/aidl/aidl_api/android.se.omapi/current/android/se/omapi/ISecureElementService.aidl +++ b/omapi/aidl/aidl_api/android.se.omapi/current/android/se/omapi/ISecureElementService.aidl @@ -41,5 +41,5 @@ package android.se.omapi; interface ISecureElementService { String[] getReaders(); android.se.omapi.ISecureElementReader getReader(in String reader); - boolean[] isNFCEventAllowed(in String reader, in byte[] aid, in String[] packageNames); + boolean[] isNfcEventAllowed(in String reader, in byte[] aid, in String[] packageNames, in int userId); } diff --git a/omapi/aidl/android/se/omapi/ISecureElementService.aidl b/omapi/aidl/android/se/omapi/ISecureElementService.aidl index 61ae4816de82..13707ec22b5c 100644 --- a/omapi/aidl/android/se/omapi/ISecureElementService.aidl +++ b/omapi/aidl/android/se/omapi/ISecureElementService.aidl @@ -52,7 +52,7 @@ interface ISecureElementService { * Checks if the application defined by the package name is allowed to * receive NFC transaction events for the defined AID. */ - boolean[] isNFCEventAllowed(in String reader, in byte[] aid, - in String[] packageNames); + boolean[] isNfcEventAllowed(in String reader, in byte[] aid, + in String[] packageNames, in int userId); } |