+ /*
+ * A bundle should be ACTIVE, unless it a fragment, in which case it should be RESOLVED
+ */
+ if(!(bundle.getState() == Bundle.ACTIVE) ||
+ (bundle.getState() != Bundle.RESOLVED &&
+ (bundle.adapt(BundleRevision.class).getTypes() & BundleRevision.TYPE_FRAGMENT) != 0))