mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[android] fix fullscreen exit on Route From
Fixes #8915 When on fullscreen mode, after selecting "Route to", the app leaves fullscreen mode when initiating the navigation window. The same was not happening when navigating in "Route from" mode, and it was only possible to leave fullscreen mode after leaving the navigation window. This commit fixes that bug, ensuring that the app leaves fullscreen mode when entering "Route from" navigation. Fullscreen mode can then be set again after exiting navigation. Signed-off-by: David Toma <david.toma@tecnico.ulisboa.pt>
This commit is contained in:
committed by
Konstantin Pastbin
parent
87c44041fc
commit
e2718ecbc6
@@ -2117,7 +2117,10 @@ public class MwmActivity extends BaseMwmFragmentActivity
|
||||
public void onRoutingStart()
|
||||
{
|
||||
if (!showStartPointNotice())
|
||||
{
|
||||
UiUtils.setFullscreen(this, false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!showRoutingDisclaimer())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user