The notification is posted by a foreground service, which also has the nice side-effect of keeping the app alive for a long time.