From ac339f8e6629e0bcda7db11f6fd20b2f23158762 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 20 Oct 2024 07:20:42 +0300 Subject: [PATCH] gen_build_prop: Set ro.tequila.device Change-Id: I485d74642b869d7ac94ef2fd171cafd759965d41 --- scripts/gen_build_prop.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/gen_build_prop.py b/scripts/gen_build_prop.py index 6605b1b38..8aa2fb492 100644 --- a/scripts/gen_build_prop.py +++ b/scripts/gen_build_prop.py @@ -118,6 +118,8 @@ def parse_args(): if args.build_thumbprint_file: config["BuildThumbprint"] = args.build_thumbprint_file.read().strip() + config["tequilaDevice"] = config["DeviceName"] + override_config(config) append_additional_system_props(args) @@ -242,6 +244,8 @@ def generate_build_info(args): # flavor (via a dedicated lunch config for example). print(f"ro.build.flavor={config['BuildFlavor']}") + print(f"ro.tequila.device={config['tequilaDevice']}") + # These values are deprecated, use "ro.product.cpu.abilist" # instead (see below). print(f"# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,")