Class android.location.LocationManager

Added Methods
boolean addNmeaListener(Executor, OnNmeaMessageListener)  
boolean addNmeaListener(NmeaListener)  
void getCurrentLocation(String, CancellationSignal, Executor, Consumer<Location>)  
GnssCapabilities getGnssCapabilities()  
boolean registerAntennaInfoListener(Executor, Listener)  
boolean registerGnssMeasurementsCallback(Executor, Callback)  
boolean registerGnssNavigationMessageCallback(Executor, Callback)  
boolean registerGnssStatusCallback(Executor, Callback)  
void removeNmeaListener(NmeaListener)  
void requestLocationUpdates(String, long, float, Executor, LocationListener)  
void requestLocationUpdates(long, float, Criteria, Executor, LocationListener)  
void unregisterAntennaInfoListener(Listener)  
 

Changed Methods
boolean addNmeaListener(OnNmeaMessageListener) Now deprecated.
 
boolean registerGnssMeasurementsCallback(Callback) Now deprecated.
 
boolean registerGnssNavigationMessageCallback(Callback) Now deprecated.
 
boolean registerGnssStatusCallback(Callback) Now deprecated.
 
void requestSingleUpdate(Criteria, PendingIntent) Now deprecated.
 
void requestSingleUpdate(Criteria, LocationListener, Looper) Now deprecated.
 
void requestSingleUpdate(String, PendingIntent) Now deprecated.
 
void requestSingleUpdate(String, LocationListener, Looper) Now deprecated.
 
 

Added Fields
String EXTRA_LOCATION_ENABLED  
String EXTRA_PROVIDER_ENABLED