carriersettings-extractor: Ignore motorola specific configs

Change-Id: Ib44ccb252c4e0e2743bf6d9b926f536daff19f6b
This commit is contained in:
Michael Bestas 2023-06-12 14:54:50 +03:00 committed by Chirayu Desai
parent 55e9eb936c
commit d54e25ff89
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ unwanted_configs = [
def extract_elements(carrier_config_element, config):
if config.key in unwanted_configs:
return
if config.key.startswith("moto_") or "_moto_" in config.key:
return
value_type = config.WhichOneof('value')
if value_type == 'text_value':
carrier_config_subelement = ET.SubElement(