mirror of https://github.com/CalyxOS/scripts
carriersettings-extractor: Ignore motorola specific configs
Change-Id: Ib44ccb252c4e0e2743bf6d9b926f536daff19f6b
This commit is contained in:
parent
55e9eb936c
commit
d54e25ff89
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue