I know it should be achievable be either android:excludeFromRecents="true"
in android manifest or Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
Intent flag.
Problem is, that doesn't work if application is currently being shown - when Recent Apps button is clicked, application is always shown in the first place, allowing for quick killing of the application (by swiping it). Not good for an alarm clock app.
Music Service keeps on playing fortunately and user can get back to finishing alarm by the notification, but I have really hard time recreating activities stack.
Any quick fix available?