Fix idx if idx == -1 or >= markerList size
このコミットが含まれているのは:
コミット
3a205aa183
|
@ -373,6 +373,8 @@ public class MapsFragment extends Fragment implements OnMapReadyCallback {
|
|||
|
||||
|
||||
int idx = markerList.indexOfValue(marker);
|
||||
if(idx < 0 || idx >= markerList.size())
|
||||
return false;
|
||||
long id = markerList.keyAt(idx);
|
||||
selectedSite = id;
|
||||
BloodSite infoSite = null;
|
||||
|
|
読み込み中…
新しいイシューから参照