I have below codes to request new location:
mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, mLocationListener);
and get call back in public void onLocationChanged(Location location) .
This works fine on android P or below, but I found the callback method onLocationChanged not called on android Q, although I already have the right permissions.