wrong activity - back out
This commit is contained in:
parent
d761318dc1
commit
1cd6b83cd8
1 changed files with 1 additions and 2 deletions
|
@ -49,8 +49,7 @@ public class NavigatePointActivity extends Activity {
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
// use actual map location instead, statement seems useless: LatLon loc = OsmandSettings.getOsmandSettings(this).getLastKnownMapLocation();
|
LatLon loc = OsmandSettings.getOsmandSettings(this).getLastKnownMapLocation();
|
||||||
LatLon loc = activity.getMapLocation();
|
|
||||||
setContentView(R.layout.navigate_point);
|
setContentView(R.layout.navigate_point);
|
||||||
setTitle(R.string.map_specify_point);
|
setTitle(R.string.map_specify_point);
|
||||||
initUI(loc.getLatitude(), loc.getLongitude());
|
initUI(loc.getLatitude(), loc.getLongitude());
|
||||||
|
|
Loading…
Reference in a new issue