Loading services/core/java/com/android/server/location/gnss/GnssLocationProvider.java +4 −2 Original line number Diff line number Diff line Loading @@ -1384,7 +1384,8 @@ public class GnssLocationProvider extends AbstractLocationProvider implements try { reportLocation(LocationResult.wrap(location).validate()); } catch (BadLocationException e) { throw new IllegalArgumentException(e); Log.e(TAG, "Dropping invalid location: " + e); return; } if (mStarted) { Loading Loading @@ -1759,7 +1760,8 @@ public class GnssLocationProvider extends AbstractLocationProvider implements try { reportLocation(LocationResult.wrap(locations).validate()); } catch (BadLocationException e) { throw new IllegalArgumentException(e); Log.e(TAG, "Dropping invalid locations: " + e); return; } } Loading Loading
services/core/java/com/android/server/location/gnss/GnssLocationProvider.java +4 −2 Original line number Diff line number Diff line Loading @@ -1384,7 +1384,8 @@ public class GnssLocationProvider extends AbstractLocationProvider implements try { reportLocation(LocationResult.wrap(location).validate()); } catch (BadLocationException e) { throw new IllegalArgumentException(e); Log.e(TAG, "Dropping invalid location: " + e); return; } if (mStarted) { Loading Loading @@ -1759,7 +1760,8 @@ public class GnssLocationProvider extends AbstractLocationProvider implements try { reportLocation(LocationResult.wrap(locations).validate()); } catch (BadLocationException e) { throw new IllegalArgumentException(e); Log.e(TAG, "Dropping invalid locations: " + e); return; } } Loading