condPerms.add(condPermInfo);
synchronized (condPerms) { condPerms.add(condPermInfo); try { storage.serializeConditionalPermissionInfos(condPerms); } catch (IOException e) { framework.publishFrameworkEvent(FrameworkEvent.ERROR, framework.systemBundle, e); } } AbstractBundle bundles[] = framework.getAllBundles(); for (int i = 0; i < bundles.length; i++) { AbstractBundle bundle = bundles[i]; if (bundle.domain == null) { continue; } BundleCombinedPermissions bcp = (BundleCombinedPermissions) bundle.domain.getPermissions();  if (perms == null) { continue; }  bcp.checkConditionalPermissionInfo(condPermInfo); }
	public ConditionalPermissionInfo addConditionalPermissionInfo(ConditionInfo[] conds, PermissionInfo[] perms) {		ConditionalPermissionInfoImpl condPermInfo = new ConditionalPermissionInfoImpl(conds, perms);		condPerms.add(condPermInfo);		// TODO We need to save it off here		return condPermInfo;	}