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
This commit is contained in:
parent
f7a480d824
commit
a7eb5e649c
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user