Commit b3d770c4 authored by Nick Pelly's avatar Nick Pelly Committed by Android (Google) Code Review
Browse files

Merge "- Properly initialize NfcService.mEeRoutingState to ROUTE_OFF . This...

Merge "- Properly initialize NfcService.mEeRoutingState to ROUTE_OFF . This allows   NfcAdapterExtras.getCardEmulationRoute() to properly return ROUTE_OFF when   the service restarts." into gingerbread
parents c91dcc54 eab09ad7
...@@ -323,6 +323,7 @@ public class NfcService extends Application { ...@@ -323,6 +323,7 @@ public class NfcService extends Application {
NfcAdapter.ACTION_TECH_DISCOVERED, NfcAdapter.ACTION_TECH_DISCOVERED); NfcAdapter.ACTION_TECH_DISCOVERED, NfcAdapter.ACTION_TECH_DISCOVERED);
mSecureElement = new NativeNfcSecureElement(); mSecureElement = new NativeNfcSecureElement();
mEeRoutingState = ROUTE_OFF;
mPrefs = mContext.getSharedPreferences(PREF, Context.MODE_PRIVATE); mPrefs = mContext.getSharedPreferences(PREF, Context.MODE_PRIVATE);
mPrefsEditor = mPrefs.edit(); mPrefsEditor = mPrefs.edit();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment