toPersistableBundle

Creates a new PersistableBundle from the specified Bundle. Will ignore all values that are not persistable, according to .isPersistableBundleType.