If I want to react to an old sticky Intent, do I need to call the BroadcastReceiver manually, as such, or will the onReceive method be called implicitly in registerReceiver() already?
Intent stickyIntent = registerReceiver(broadcastReceiver, intentFilter);
if(stickyIntent != null) {
broadcastReceiver.onReceive(this, stickyIntent); // Do we need to call it manually?
}
Is there a good alternative to Sticky Intents? I am using legacy code, which provide me with sticky intents that I can use so I am not going to change the old code. However I might try something better if there is something fairly straightforward.