From feb7bd654c65eff9c81a269877a910b6009e5305 Mon Sep 17 00:00:00 2001 From: CiufudeanDani Date: Thu, 7 Apr 2022 13:31:23 +0300 Subject: [PATCH] update info bubble box info --- .../java/com/safemobile/safedispatch/GoogleMapsInfoBubble.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/safeDispatch/src/main/java/com/safemobile/safedispatch/GoogleMapsInfoBubble.java b/safeDispatch/src/main/java/com/safemobile/safedispatch/GoogleMapsInfoBubble.java index de11ea3..5d6ace6 100644 --- a/safeDispatch/src/main/java/com/safemobile/safedispatch/GoogleMapsInfoBubble.java +++ b/safeDispatch/src/main/java/com/safemobile/safedispatch/GoogleMapsInfoBubble.java @@ -42,7 +42,6 @@ public class GoogleMapsInfoBubble implements GoogleMap.InfoWindowAdapter { public GoogleMapsInfoBubble(LayoutInflater layoutInflater, Context context) { isLiveTab = false; this.context = context; -// this.superVehHash = vehicles; mWindow = layoutInflater.inflate(R.layout.map_marker_info_bubble, null); } @@ -73,7 +72,7 @@ public class GoogleMapsInfoBubble implements GoogleMap.InfoWindowAdapter { } } else { try { - position = Integer.getInteger(marker.getTitle()); + position = Integer.parseInt(marker.getTitle()); } catch (Exception e) { Log.v(TAG, "Unable to parse Google Maps Info Bubble title on History"); } -- 2.37.1