// 判断 sticky:如果为true,从 stickyEvents 中 根据 eventType查找有没有 stickyEvent
// stickyEvent 就是 post(javabean)中传递的参数,
// 如果有就调用 postToSubscription,发布
if (sticky) {
Object stickyEvent;
synchronized (stickyEvents) {
stickyEvent = stickyEvents.get(eventType);
}
if (stickyEvent != null) {
// If the subscriber is trying to abort the event, it will fail (event is not tracked in posting state)
// --> Strange corner case, which we don't take care of here.
postToSubscription(newSubscription, stickyEvent, Looper.getMainLooper() == Looper.myLooper());
}
}
}