diff --git a/devtools/sound_card_init_yaml_to_xml.py b/devtools/sound_card_init_yaml_to_xml.py index d4ef3d599..6b1c05038 100644 --- a/devtools/sound_card_init_yaml_to_xml.py +++ b/devtools/sound_card_init_yaml_to_xml.py @@ -54,7 +54,7 @@ def dict_to_xml(data, output_file): dict_to_xml_element(data, root) # add the licence comment in the xml comment = ET.Comment( - "\nCopyright (C) 2024 The Android Open Source Project\n\n" + "\nCopyright (C) 2025 The Android Open Source Project\n\n" "Licensed under the Apache License, Version 2.0 (the \"License\");\n" "you may not use this file except in compliance with the License.\n" "You may obtain a copy of the License at\n\n" diff --git a/devtools/ucm_converter/board/ucm_to_audio_config.py b/devtools/ucm_converter/board/ucm_to_audio_config.py index 762503896..f99ecfc65 100644 --- a/devtools/ucm_converter/board/ucm_to_audio_config.py +++ b/devtools/ucm_converter/board/ucm_to_audio_config.py @@ -85,16 +85,16 @@ def dict_to_xml(data, output_file): dict_to_xml_element(data, root) # add the licence comment in the xml comment = ET.Comment( - "Copyright (C) 2024 The Android Open Source Project\n\n" + "\nCopyright (C) 2025 The Android Open Source Project\n\n" "Licensed under the Apache License, Version 2.0 (the \"License\");\n" "you may not use this file except in compliance with the License.\n" "You may obtain a copy of the License at\n\n" " http://www.apache.org/licenses/LICENSE-2.0\n\n" - "Unless required by applicable law or agreed to in writing, software \n" + "Unless required by applicable law or agreed to in writing, software\n" "distributed under the License is distributed on an \"AS IS\" BASIS,\n" "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n" "See the License for the specific language governing permissions and\n" - "limitations under the License." + "limitations under the License.\n" ) root.insert(0, comment) # insert before the root's first child tree = ET.ElementTree(root) diff --git a/devtools/ucm_converter/board/ucm_to_mixer.py b/devtools/ucm_converter/board/ucm_to_mixer.py index 9c110e9bd..b5807773a 100644 --- a/devtools/ucm_converter/board/ucm_to_mixer.py +++ b/devtools/ucm_converter/board/ucm_to_mixer.py @@ -100,16 +100,16 @@ def generate_mixer_paths_xml(config_data, output_file): # Add the licence comment in the xml comment = ET.Comment( - "Copyright (C) 2024 The Android Open Source Project\n\n" + "\nCopyright (C) 2025 The Android Open Source Project\n\n" "Licensed under the Apache License, Version 2.0 (the \"License\");\n" "you may not use this file except in compliance with the License.\n" "You may obtain a copy of the License at\n\n" " http://www.apache.org/licenses/LICENSE-2.0\n\n" - "Unless required by applicable law or agreed to in writing, software \n" + "Unless required by applicable law or agreed to in writing, software\n" "distributed under the License is distributed on an \"AS IS\" BASIS,\n" "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n" "See the License for the specific language governing permissions and\n" - "limitations under the License." + "limitations under the License.\n" ) mixer.insert(0, comment) # insert before the root's first child tree = ET.ElementTree(mixer) diff --git a/devtools/ucm_converter/usb/ucm_to_audio_config.py b/devtools/ucm_converter/usb/ucm_to_audio_config.py index 27e3a75f6..385d9c166 100644 --- a/devtools/ucm_converter/usb/ucm_to_audio_config.py +++ b/devtools/ucm_converter/usb/ucm_to_audio_config.py @@ -120,16 +120,16 @@ def dict_to_xml(data, output_file): dict_to_xml_element(data, root) # add the licence comment in the xml comment = ET.Comment( - "Copyright (C) 2024 The Android Open Source Project\n\n" + "\nCopyright (C) 2025 The Android Open Source Project\n\n" "Licensed under the Apache License, Version 2.0 (the \"License\");\n" "you may not use this file except in compliance with the License.\n" "You may obtain a copy of the License at\n\n" " http://www.apache.org/licenses/LICENSE-2.0\n\n" - "Unless required by applicable law or agreed to in writing, software \n" + "Unless required by applicable law or agreed to in writing, software\n" "distributed under the License is distributed on an \"AS IS\" BASIS,\n" "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n" "See the License for the specific language governing permissions and\n" - "limitations under the License." + "limitations under the License.\n" ) root.insert(0, comment) # insert before the root's first child tree = ET.ElementTree(root) diff --git a/devtools/ucm_converter/usb/ucm_to_mixer.py b/devtools/ucm_converter/usb/ucm_to_mixer.py index 48fdc41a4..5b02980a9 100644 --- a/devtools/ucm_converter/usb/ucm_to_mixer.py +++ b/devtools/ucm_converter/usb/ucm_to_mixer.py @@ -107,16 +107,16 @@ def generate_mixer_paths_xml(config_data, output_file): # Add the licence comment in the xml comment = ET.Comment( - "Copyright (C) 2024 The Android Open Source Project\n\n" + "\nCopyright (C) 2025 The Android Open Source Project\n\n" "Licensed under the Apache License, Version 2.0 (the \"License\");\n" "you may not use this file except in compliance with the License.\n" "You may obtain a copy of the License at\n\n" " http://www.apache.org/licenses/LICENSE-2.0\n\n" - "Unless required by applicable law or agreed to in writing, software \n" + "Unless required by applicable law or agreed to in writing, software\n" "distributed under the License is distributed on an \"AS IS\" BASIS,\n" "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n" "See the License for the specific language governing permissions and\n" - "limitations under the License." + "limitations under the License.\n" ) mixer.insert(0, comment) # insert before the root's first child tree = ET.ElementTree(mixer) diff --git a/devtools/volume_curves_converter/ini_to_xml.py b/devtools/volume_curves_converter/ini_to_xml.py index 5f11f5c4f..4cba9023d 100644 --- a/devtools/volume_curves_converter/ini_to_xml.py +++ b/devtools/volume_curves_converter/ini_to_xml.py @@ -92,16 +92,16 @@ def dict_to_xml(data, output_file): root = ET.Element("volumes") comment = ET.Comment( - "Copyright (C) 2024 The Android Open Source Project\n\n" + "\nCopyright (C) 2025 The Android Open Source Project\n\n" "Licensed under the Apache License, Version 2.0 (the \"License\");\n" "you may not use this file except in compliance with the License.\n" "You may obtain a copy of the License at\n\n" " http://www.apache.org/licenses/LICENSE-2.0\n\n" - "Unless required by applicable law or agreed to in writing, software \n" + "Unless required by applicable law or agreed to in writing, software\n" "distributed under the License is distributed on an \"AS IS\" BASIS,\n" "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n" "See the License for the specific language governing permissions and\n" - "limitations under the License." + "limitations under the License.\n" ) root.insert(0, comment)