diff options
| author | Puneet Mishra <puneetm@codeaurora.org> | 2015-11-24 14:45:45 +0000 |
|---|---|---|
| committer | Julian Veit <claymore1298@gmail.com> | 2022-01-27 09:41:09 +0100 |
| commit | 2cfe4fe53e9995c8be55c8a8e3cbfe8259b516bc (patch) | |
| tree | dc77acda2fd0ff99008811ad4f609e56ba6c68c8 | |
| parent | bef1d303e93469e6f9baf84652155063d4721fe4 (diff) | |
NFC: Adding new vendor specific interface to NFC Services12.0
A new interface was added to INfcAdapter for vendor-specific
extensions and additional features. It needs to be implemented
in all implementations of the interface.
Change-Id: I9aa8b94cfbb04133d67c2272c82409cf7db45fec
Signed-off-by: DennySPB <dennyspb@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
| -rw-r--r-- | src/com/android/nfc/NfcService.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/android/nfc/NfcService.java b/src/com/android/nfc/NfcService.java index c4791a83..10c7da39 100644 --- a/src/com/android/nfc/NfcService.java +++ b/src/com/android/nfc/NfcService.java @@ -1,4 +1,7 @@ /* + * Copyright (c) 2015, The Linux Foundation. All rights reserved. + * Not a Contribution. + * * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -1093,6 +1096,13 @@ public class NfcService implements DeviceHostListener { } final class NfcAdapterService extends INfcAdapter.Stub { + /** + * An interface for vendor specific extensions + */ + public IBinder getNfcAdapterVendorInterface(String vendor) { + return null; + } + @Override public boolean enable() throws RemoteException { NfcPermissions.enforceAdminPermissions(mContext); |
