Merge "Fix the issue of onNetwork in UI thread."