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

Commit b0702885 authored by Xiaocheng Li's avatar Xiaocheng Li Committed by Gerrit - the friendly Code Review server
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 b75ec21b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -490,7 +490,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.");
                        }
                    }