Don't call into HAL for determining max num EE.
Until we figure out how to deal with HAL binary
compatibility.
Also, do init the EE subsystem even if no SEs
are present; we still want to use the EE subsystem
on the host.
Change-Id: I17aad42e75508e2d04f53107527bce5bfe099ffe
diff --git a/src/adaptation/NfcAdaptation.cpp b/src/adaptation/NfcAdaptation.cpp
index d9c0d02..3eb55ea 100755
--- a/src/adaptation/NfcAdaptation.cpp
+++ b/src/adaptation/NfcAdaptation.cpp
@@ -523,10 +523,10 @@
{
const char* func = "NfcAdaptation::HalPowerCycle";
UINT8 maxNfcee = 0;
- ALOGD ("%s", func);
if (mHalDeviceContext)
{
- mHalDeviceContext->get_max_ee (mHalDeviceContext, &maxNfcee);
+ // TODO maco call into HAL when we figure out binary compatibility.
+ return nfa_ee_max_ee_cfg;
}
return maxNfcee;