in library/scripts/find_movable_strings.py [0:0]
def generate_non_movable_set(sp_config, xml_files) -> Set:
not_movable = set()
for filename in xml_files:
if not filename:
continue
if filename.endswith("/values/strings.xml"):
not_movable.update(find_donotpack_strings(filename))
continue
if filename.endswith("/strings.xml"):
continue
not_movable.update(
find_strings_used_in_xml(filename, sp_config.safe_widget_classes)
)
return not_movable