gen_build_prop: Stop overriding ro.build.display.id for non-user builds
Change-Id: Ifc5b5fb23963a984f971ad0fda8c4cc3aec771ab
This commit is contained in:
parent
ac339f8e66
commit
876f0bb0d9
1 changed files with 2 additions and 1 deletions
|
@ -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']}")
|
||||
|
|
Loading…
Reference in a new issue