Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
0a96a7d747
2 changed files with 6 additions and 3 deletions
|
@ -75,6 +75,10 @@ public class MapMultiSelectionMenuFragment extends Fragment implements AdapterVi
|
|||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
if (MapRouteInfoMenu.isVisible()) {
|
||||
dismissMenu();
|
||||
return;
|
||||
}
|
||||
wasDrawerDisabled = menu.getMapActivity().isDrawerDisabled();
|
||||
if (!wasDrawerDisabled) {
|
||||
menu.getMapActivity().disableDrawer();
|
||||
|
@ -104,6 +108,7 @@ public class MapMultiSelectionMenuFragment extends Fragment implements AdapterVi
|
|||
if (mapActivity.isActivityDestroyed()) {
|
||||
return;
|
||||
}
|
||||
mapActivity.getContextMenu().hideMenues();
|
||||
|
||||
MapMultiSelectionMenu menu = mapActivity.getContextMenu().getMultiSelectionMenu();
|
||||
|
||||
|
|
|
@ -173,9 +173,7 @@ public class MapRouteInfoMenuFragment extends Fragment {
|
|||
slideOutAnim = R.anim.slide_out_left;
|
||||
}
|
||||
|
||||
if (mapActivity.getContextMenu().isVisible()) {
|
||||
mapActivity.getContextMenu().hide();
|
||||
}
|
||||
mapActivity.getContextMenu().hideMenues();
|
||||
|
||||
MapRouteInfoMenuFragment fragment = new MapRouteInfoMenuFragment();
|
||||
mapActivity.getSupportFragmentManager().beginTransaction()
|
||||
|
|
Loading…
Reference in a new issue