code: public static void unregisterListener(Context context, PlaybackListener listener) {
          LocalBroadcastManager.getInstance(context.getApplicationContext())
                  .unregisterReceiver(listener);
      }
docs: Unregister a registered listener.
  
  @param context  context used to unregister the listener.
  @param listener listener to unregister.