From 876f0bb0d9c7f37e60bc20eb5de1f33e7c047292 Mon Sep 17 00:00:00 2001 From: basamaryan Date: Tue, 22 Oct 2024 12:08:07 -0400 Subject: [PATCH] gen_build_prop: Stop overriding ro.build.display.id for non-user builds Change-Id: Ifc5b5fb23963a984f971ad0fda8c4cc3aec771ab --- scripts/gen_build_prop.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/gen_build_prop.py b/scripts/gen_build_prop.py index 8aa2fb492..c6e34da10 100644 --- a/scripts/gen_build_prop.py +++ b/scripts/gen_build_prop.py @@ -118,6 +118,7 @@ def parse_args(): if args.build_thumbprint_file: config["BuildThumbprint"] = args.build_thumbprint_file.read().strip() + config["tequilaDesc"] = config["BuildDesc"] config["tequilaDevice"] = config["DeviceName"] override_config(config) @@ -217,7 +218,7 @@ def generate_build_info(args): print(f"ro.build.display.id?={config['BuildId']} {config['BuildKeys']}") else: # Non-user builds should show detailed build information (See build desc above) - print(f"ro.build.display.id?={config['BuildDesc']}") + print(f"ro.build.display.id?={config['tequilaDesc']}") print(f"ro.build.version.incremental={config['BuildNumber']}") print(f"ro.build.version.sdk={config['Platform_sdk_version']}") print(f"ro.build.version.preview_sdk={config['Platform_preview_sdk_version']}")