+
+ // ConditionalPermissionAdmin permissionAdmin = bc
+ // .getService(bc.getServiceReference(ConditionalPermissionAdmin.class));
+ // ConditionalPermissionUpdate update =
+ // permissionAdmin.newConditionalPermissionUpdate();
+ // // Self
+ // update.getConditionalPermissionInfos()
+ // .add(permissionAdmin.newConditionalPermissionInfo(null,
+ // new ConditionInfo[] {
+ // new ConditionInfo(BundleLocationCondition.class.getName(), new
+ // String[] { "*" }) },
+ // new PermissionInfo[] { new
+ // PermissionInfo(AllPermission.class.getName(), null, null) },
+ // ConditionalPermissionInfo.ALLOW));
+ //