[android] Fixed unexpected hidding of the bottom menu when we come back via back button from the routing/planning mode

This commit is contained in:
alexzatsepin 2016-09-26 10:52:20 +03:00 committed by Vladimir Byko-Ianko
parent 26b2dc6750
commit da12a3cf4f
2 changed files with 5 additions and 1 deletions

View file

@ -1297,7 +1297,10 @@ public class MwmActivity extends BaseMwmFragmentActivity
|| RoutingController.get().isErrorEncountered())
{
mMainMenu.showLineFrame(false);
return;
}
mMainMenu.showLineFrame(true);
}
@Override

View file

@ -44,7 +44,8 @@ public class ToolbarController
}
}
protected @IdRes int getToolbarId()
@IdRes
private int getToolbarId()
{
return R.id.toolbar;
}