Skip to content

Commit

Permalink
Fix #66, for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
mar-v-in committed Mar 4, 2016
1 parent 859fbd4 commit 7a96eb1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ public void run() {
@Override
public void onLocationChanged(Location location) {
synchronized (result) {
result.set(location != null && location.getExtras().containsKey(LOCATION_EXTRA_BACKEND_PROVIDER));
result.set(location != null && location.getExtras() != null &&
location.getExtras().containsKey(LOCATION_EXTRA_BACKEND_PROVIDER));
result.notifyAll();
}
}
Expand Down

0 comments on commit 7a96eb1

Please sign in to comment.