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

Commit db54e3c6 authored by David Christie's avatar David Christie Committed by Android (Google) Code Review
Browse files

Merge "Fix issue where FlpHardwareProvider can crash if GmsCore re-registers a sink." into lmp-dev

parents 39ddf8dd daf35c31
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -272,8 +272,7 @@ public class FlpHardwareProvider {
            synchronized (mLocationSinkLock) {
                // only one sink is allowed at the moment
                if (mLocationSink != null) {
                    throw new RuntimeException(
                            "IFusedLocationHardware does not support multiple sinks");
                    Log.e(TAG, "Replacing an existing IFusedLocationHardware sink");
                }

                mLocationSink = eventSink;