I made a widget showing a list of stats, because for new watches the list can be long it can be spread over 2 pages (and pressing/swiping up and down switches between the two by simply different drawing in onUpdate)
But one issue was that up/down buttons only work in glance enabled widgets (otherwise it will toggle between widgets) whcih I worked around by pushing a dummy view and immediately pushing the main view.
However, now when pressing back from the main view I get back in the dummy view and you have to press back once more to actually get out of the widget. Is there a way to do this automatically?
System.exit() and popView don't work... the first doesn't do anything it seems and the second isn't allowed.
Is there a way to emulate the back button press or a key event programmatically perhaps?