carriersettings-extractor: Ignore motorola specific configs
Change-Id: Ib44ccb252c4e0e2743bf6d9b926f536daff19f6b
This commit is contained in:
@@ -63,6 +63,9 @@ unwanted_configs = [
|
|||||||
def extract_elements(carrier_config_element, config):
|
def extract_elements(carrier_config_element, config):
|
||||||
if config.key in unwanted_configs:
|
if config.key in unwanted_configs:
|
||||||
return
|
return
|
||||||
|
if config.key.startswith("moto_") or "_moto_" in config.key:
|
||||||
|
return
|
||||||
|
|
||||||
value_type = config.WhichOneof('value')
|
value_type = config.WhichOneof('value')
|
||||||
if value_type == 'text_value':
|
if value_type == 'text_value':
|
||||||
carrier_config_subelement = ET.SubElement(
|
carrier_config_subelement = ET.SubElement(
|
||||||
|
|||||||
Reference in New Issue
Block a user