I open an ActionMenu:
$.menu = new ExitActionMenuView(); WatchUi.showActionMenu($.menu, new ExitActionMenuDelegate());
And when the user takes an action (touch or start or back) then it closes and I do what I need to do.
But there are scenarios when after I opened it I need to close it (let's call it "time out") from code.
On older devices where I used Menu or Menu2 I could pop the view, but ActionMenu is not a View, so neither popView nor switchView to my main view doesn't make the ActionMenu disappear.
Any idea how can I make it disappear (except for not using ActionMenu:) ?