platform_hardware_interfaces/nfc/1.0/default/service.cpp
Steven Moreland cc7d42bded Use defaultPassthroughServiceImplementation for nfc.
Bug: 32282345
Test: nfc
Change-Id: I4f45a3d4b91ccee2fcd0ca8fe599e090129a02e3
2016-10-19 14:51:59 -07:00

13 lines
346 B
C++

#define LOG_TAG "android.hardware.nfc@1.0-service"
#include <android/hardware/nfc/1.0/INfc.h>
#include <hidl/LegacySupport.h>
// Generated HIDL files
using android::hardware::nfc::V1_0::INfc;
using android::hardware::defaultPassthroughServiceImplementation;
int main() {
return defaultPassthroughServiceImplementation<INfc>("nfc_nci");
}