Skip to content

Shortcuts don't reload activity when activity was paused. #112

@Bertware

Description

@Bertware

How to reproduce
Create a shortcut for a route A > B, and one for the route B > A. Search routes from A to B, put the app in the background by pressing home, and use the shortcut B > A. The app will open and the activity will resume, without loading the route defined in the shortcut. The shortcut works perfect when pausing the app on any other activity, or after closing the app.

  • Cause *
    The activity resumes from the paused state, skipping the onCreate() and going directly to onStart(), meaning the shortcut parameters are ignored.

  • Fix *

  • Create an activity meant to receive shortcuts, to ensure a new activity is always created
  • Find a way to handle shortcuts in onStart/onResume

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions