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

Commit d34d4492 authored by Wonsik Kim's avatar Wonsik Kim Committed by Android Git Automerger
Browse files

am cb92d507: Fix NPE when fused geofence hardware is not available.

* commit 'cb92d507167fcce059c4ae91dc46b496f49b4fa3':
  Fix NPE when fused geofence hardware is not available.
parents 76880870 c2b74b73
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ public final class GeofenceHardwareImpl {
    private void updateFusedHardwareAvailability() {
        boolean fusedSupported;
        try {
            fusedSupported = mFusedService.isSupported();
            fusedSupported = (mFusedService != null ? mFusedService.isSupported() : false);
        } catch (RemoteException e) {
            Log.e(TAG, "RemoteException calling LocationManagerService");
            fusedSupported = false;