Bundles.Bundle.setFlags
Documentation
Add a flag to the PackageList.Flags list.