Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b37bb9af authored by Daniel Estrada Alva's avatar Daniel Estrada Alva Committed by android-build-merger
Browse files

Merge "Update verbosity of hardware providers." into nyc-dev am: 976b9b04

am: d0c995c8

* commit 'd0c995c8':
  Update verbosity of hardware providers.

Change-Id: Ib5bd0f4ecc815fc78e34fb1e9c0f67305a1791b6
parents b7e867c8 d0c995c8
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -545,11 +545,11 @@ public class LocationManagerService extends ILocationManager.Stub {
                    com.android.internal.R.string.config_hardwareFlpPackageName,
                    com.android.internal.R.array.config_locationProviderPackageNames);
            if (fusedProxy == null) {
                Slog.e(TAG, "Unable to bind FusedProxy.");
                Slog.d(TAG, "Unable to bind FusedProxy.");
            }
        } else {
            flpHardwareProvider = null;
            Slog.e(TAG, "FLP HAL not supported");
            Slog.d(TAG, "FLP HAL not supported");
        }

        // bind to geofence provider
@@ -561,7 +561,7 @@ public class LocationManagerService extends ILocationManager.Stub {
                mGpsGeofenceProxy,
                flpHardwareProvider != null ? flpHardwareProvider.getGeofenceHardware() : null);
        if (provider == null) {
            Slog.e(TAG,  "Unable to bind FLP Geofence proxy.");
            Slog.d(TAG,  "Unable to bind FLP Geofence proxy.");
        }

        // bind to hardware activity recognition
@@ -570,7 +570,7 @@ public class LocationManagerService extends ILocationManager.Stub {
        if (activityRecognitionHardwareIsSupported) {
            activityRecognitionHardware = ActivityRecognitionHardware.getInstance(mContext);
        } else {
            Slog.e(TAG, "Hardware Activity-Recognition not supported.");
            Slog.d(TAG, "Hardware Activity-Recognition not supported.");
        }
        ActivityRecognitionProxy proxy = ActivityRecognitionProxy.createAndBind(
                mContext,
@@ -581,7 +581,7 @@ public class LocationManagerService extends ILocationManager.Stub {
                com.android.internal.R.string.config_activityRecognitionHardwarePackageName,
                com.android.internal.R.array.config_locationProviderPackageNames);
        if (proxy == null) {
            Slog.e(TAG, "Unable to bind ActivityRecognitionProxy.");
            Slog.d(TAG, "Unable to bind ActivityRecognitionProxy.");
        }

        String[] testProviderStrings = resources.getStringArray(