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

Commit 161f4261 authored by Laurent Tu's avatar Laurent Tu
Browse files

Protect against NPE in FusionEngine.java.

Bug: 7629406
Change-Id: Ic49a069eef47a62fb1e0c6f284a705a62c6ae232
parent 2c5f7820
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -249,7 +249,11 @@ public class FusionEngine implements LocationListener {
            }
        }

        if (mCallback != null) {
          mCallback.reportLocation(mFusedLocation);
        } else {
          Log.w(TAG, "Location updates received while fusion engine not started");
        }
    }

    /** Called on mLooper thread */