Class android.location.LocationManager

Added Methods
void addTestProvider(String, ProviderProperties)  
void addTestProvider(String, ProviderProperties, Set<String>)  
void getCurrentLocation(String, LocationRequest, CancellationSignal, Executor, Consumer<Location>)  
List<GnssAntennaInfo> getGnssAntennaInfos()  
ProviderProperties getProviderProperties(String)  
boolean hasProvider(String)  
boolean registerGnssMeasurementsCallback(GnssMeasurementRequest, Executor, Callback)  
void requestFlush(String, PendingIntent, int)  
void requestFlush(String, LocationListener, int)  
void requestLocationUpdates(String, LocationRequest, PendingIntent)  
void requestLocationUpdates(String, LocationRequest, Executor, LocationListener)  
 

Changed Methods
LocationProvider getProvider(String) Now deprecated.
 
void requestLocationUpdates(long, float, Criteria, PendingIntent) Now deprecated.
 
void requestLocationUpdates(long, float, Criteria, LocationListener, Looper) Now deprecated.
 
void requestLocationUpdates(long, float, Criteria, Executor, LocationListener) Now deprecated.
 
 

Added Fields
String ACTION_GNSS_CAPABILITIES_CHANGED  
String EXTRA_GNSS_CAPABILITIES  
String FUSED_PROVIDER  
String KEY_FLUSH_COMPLETE  
String KEY_LOCATIONS