public void performReceive( Intent intent, int resultCode, String data, Bundle extras, boolean ordered, boolean sticky, int sendingUser) throws RemoteException { Intent realIntent = intent.getParcelableExtra("_VA_|_intent_"); if (realIntent != null) { intent = realIntent; } String action = intent.getAction(); String oldAction = SpecialComponentList.restoreAction(action); if (oldAction != null) { intent.setAction(oldAction); } if (Build.VERSION.SDK_INT > Build.VERSION_CODES.JELLY_BEAN) { IIntentReceiverJB.performReceive.call( old, intent, resultCode, data, extras, ordered, sticky, sendingUser); } else { mirror.android.content.IIntentReceiver.performReceive.call( old, intent, resultCode, data, extras, ordered, sticky); } }
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); } } } }