@@ -0,0 +1,550 @@
+package me.lexjoy.utils;%0A%0Aimport android.content.BroadcastReceiver;%0Aimport android.content.Context;%0Aimport android.content.IntentFilter;%0A%0Apublic class BroadcastUtils %7B%0A%0A  public static void register(Context context, BroadcastReceiver receiver, String... actions) %7B%0A    if (MatchUtils.checkEmpty(context, actions)) %7B%0A      return;%0A    %7D%0A    for (String action : actions) %7B%0A      if (MatchUtils.isEmpty(action)) %7B%0A        continue;%0A      %7D%0A      context.registerReceiver(receiver, new IntentFilter(action));%0A    %7D%0A  %7D%0A%0A  private BroadcastUtils() %7B%7D%0A%0A%7D%0A

Create BroadcastUtils.java