Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5199bf9d authored by Xiaocheng Li's avatar Xiaocheng Li Committed by Ricardo Cerqueira
Browse files

services: Fix the bug in NFC shutdown logic

nfcOff should be checked for NFC shutdown instead of radioOff,
which is used for radio status.

Change-Id: Iafd620dc89ae8bed7855e313676527d4de32cb7c
parent 175df0dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -537,7 +537,7 @@ public final class ShutdownThread extends Thread {
                            Log.e(TAG, "RemoteException during NFC shutdown", ex);
                            nfcOff = true;
                        }
                        if (radioOff) {
                        if (nfcOff) {
                            Log.i(TAG, "NFC turned off.");
                        }
                    }