gen_build_prop: Always return release-keys
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
parent
a3f7db5533
commit
50a3cdf9ec
1 changed files with 1 additions and 6 deletions
|
|
@ -40,12 +40,7 @@ def get_build_flavor(product_config):
|
|||
return build_flavor
|
||||
|
||||
def get_build_keys(product_config):
|
||||
default_cert = product_config.get("DefaultAppCertificate", "")
|
||||
if default_cert == "" or default_cert == os.path.join(TEST_KEY_DIR, "testKey"):
|
||||
return "test-keys"
|
||||
if default_cert.startswith("vendor/lineage-priv/"):
|
||||
return "release-keys"
|
||||
return "dev-keys"
|
||||
return "release-keys"
|
||||
|
||||
def override_config(config):
|
||||
if "PRODUCT_BUILD_PROP_OVERRIDES" in config:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue