Skip to content

Commit

Permalink
Fix improper reference to map activity check
Browse files Browse the repository at this point in the history
  • Loading branch information
ctsims authored and shubham1g5 committed Apr 4, 2020
1 parent 7be3bb3 commit de313d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/org/commcare/views/widgets/GeoPointWidget.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public GeoPointWidget(Context context, final FormEntryPrompt prompt, PendingCall
if ("maps".equalsIgnoreCase(appearance)) {
try {
// use google maps it exists on the device
Class.forName("com.google.android.maps.MapActivity");
Class.forName("com.google.android.gms.maps.MapView");
mUseMaps = true;
} catch (ClassNotFoundException e) {
mUseMaps = false;
Expand Down

0 comments on commit de313d3

Please sign in to comment.