Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
#1940 -Adding Null Check due to DRY initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
bleege committed Aug 5, 2015
1 parent af89714 commit b8a82d5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1654,7 +1654,9 @@ private void updateMap() {
}
*/
} else {
mGpsMarker.setVisibility(View.INVISIBLE);
if (mGpsMarker != null) {
mGpsMarker.setVisibility(View.INVISIBLE);
}
}
}
}

0 comments on commit b8a82d5

Please sign in to comment.