urbanairship-core/src/main/java/com/urbanairship/location/UALocationProvider.java
@WorkerThread
    void onSystemLocationProvidersChanged(@NonNull LocationRequestOptions options) {
        Logger.verbose("UALocationProvider - Available location providers changed.");

        connect();

        if (availableAdapter != null) {
            PendingIntent pendingIntent = PendingIntent.getService(context, availableAdapter.getRequestCode(), this.locationUpdateIntent, PendingIntent.FLAG_UPDATE_CURRENT);
            availableAdapter.onSystemLocationProvidersChanged(context, options, pendingIntent);
        }
    }
/**
     * Called when a system location provider availability changes.
     *
     * @param options Current location request options.
     */
Called when a system location provider availability changes.
@param options Current location request options.
Called when a system location provider availability changes . @param options Current location request options .
@WorkerThread
    void onSystemLocationProvidersChanged(@NonNull LocationRequestOptions options) {
        Logger.verbose("UALocationProvider - Available location providers changed.");
        connect();
        if (availableAdapter != null) {
            PendingIntent pendingIntent = PendingIntent.getService(context, availableAdapter.getRequestCode(), this.locationUpdateIntent, PendingIntent.FLAG_UPDATE_CURRENT);
            availableAdapter.onSystemLocationProvidersChanged(context, options, pendingIntent);
        }
    }
@ WorkerThread void onSystemLocationProvidersChanged ( @ NonNull LocationRequestOptions options ) { Logger . verbose ( "UALocationProvider - Available location providers changed." ) ; connect ( ) ; if ( availableAdapter != null ) { PendingIntent pendingIntent = PendingIntent . getService ( context , availableAdapter . getRequestCode ( ) , this . locationUpdateIntent , PendingIntent . FLAG_UPDATE_CURRENT ) ; availableAdapter . onSystemLocationProvidersChanged ( context , options , pendingIntent ) ; } }
Called when a system location provider availability changes.
Called when a system location provider availability changes .