Merge "Emit "usesPermissionFlags" in "dump badging"." into sc-dev