Skip to content

Commit

Permalink
Make NmeaListener compatible with Android Q
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLivingOne committed Jul 10, 2019
1 parent 97fc6f0 commit e105b8c
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,13 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
THE POSSIBILITY OF SUCH DAMAGE.
*/
package ru.dublgis.androidlocation;

import android.app.Activity;

import android.location.*;

import android.content.Context;

import ru.dublgis.androidhelpers.Log;


public class NmeaListener implements GpsStatus.NmeaListener
public class NmeaListener implements OnNmeaMessageListener
{
public static final String TAG = "Grym/NmeaListener";

Expand Down Expand Up @@ -151,7 +147,7 @@ public void cppDestroyed()
}

@Override
public void onNmeaReceived(long timestamp, String nmea)
public void onNmeaMessage(String nmea, long timestamp)
{
try
{
Expand Down

0 comments on commit e105b8c

Please sign in to comment.