private void modifyIntentFilter(IntentFilter filter) {
   if (filter != null) {
     List<String> actions = mirror.android.content.IntentFilter.mActions.get(filter);
     ListIterator<String> iterator = actions.listIterator();
     while (iterator.hasNext()) {
       String action = iterator.next();
       if (SpecialComponentList.isActionInBlackList(action)) {
         iterator.remove();
         continue;
       }
       String newAction = SpecialComponentList.modifyAction(action);
       if (newAction != null) {
         iterator.set(newAction);
       }
     }
   }
 }