Set Compass Dest point to null, when car is deleted
Change-Id: I51b07c5798cec706b0d52e2f14b8141a56f034d4 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
Binary file not shown.
@@ -145,6 +145,7 @@ public class MapFragment extends Fragment implements GeoPointLocationListener, O
|
||||
mCarPoint = null;
|
||||
mDistance.setText("0");
|
||||
mSettings.edit().remove(Settings.LAT).remove(Settings.LON).commit();
|
||||
mMap.setDestination(null);
|
||||
if (mListener != null)
|
||||
mListener.onCarDeleted();
|
||||
if (mDirections != null) {
|
||||
|
||||
Reference in New Issue
Block a user