Patch to add notification without blocking the ui thread on Android.