diff options
| author | 2022-11-24 14:25:27 +0800 | |
|---|---|---|
| committer | 2023-01-18 05:02:49 +0000 | |
| commit | ba43e33ca5838914e4d9975527a68057efec3274 (patch) | |
| tree | 4684ed656534ab237ae557b65d03fe348330594b /api/api_test.go | |
| parent | e97ad39eb79a16dbc0b7cfab4c0da21abdfd45e2 (diff) | |
Add NFC TagIntentAppPreference System API
Add System APIs for setting a preference list by filtering package names
before sending NFC TAG intents.
ACTION_NDEF_DISCOVERED, ACTION_TECH_DISCOVERED and ACTION_TAG_DISCOVERED
will not be dispatched to an Activity if its package is disallowed.
An app is added to the preference list with the allowed flag set to true
when a Tag intent is dispatched to the package for the first time.
The System APIs are called by settings to note that the user wants to
change this default preference.
Bug: 244272155
Test: atest NfcFeatureFlagTest
Test: atest android.permission.cts.NfcPermissionTest
Merged-In: I9d353cf794dbe7dbcbfeb3a8b37ef29fe86387f1
Change-Id: I9d353cf794dbe7dbcbfeb3a8b37ef29fe86387f1
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions