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

Commit e886adbd authored by Laurent Tu's avatar Laurent Tu
Browse files

DO NOT MERGE Protect against NPE in FusionEngine.java.

Cherry-pick of Ic49a069eef47a62fb1e0c6f284a705a62c6ae232

Bug: 7629406
Change-Id: Ia04dba9496b02755678b43e12834e992f63ee45b
parent 82a76800
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 */