Extract Android specific code from shared Notifier.