diff options
author | 2024-04-08 09:32:58 -0700 | |
---|---|---|
committer | 2024-04-16 12:32:05 -0700 | |
commit | dc411eda4c7c2091f5ca75f7f9c653eab73c11c0 (patch) | |
tree | 2157da008a82cec16a23b9b09b8de0161407ef93 | |
parent | 8f9ca8075f90165f2a44b4d582cc85ae0be9fc72 (diff) |
ota_from_target_files: read correct api level
ro.product.first_api_level looks like the value we actually want to read
to since it inherits from $PRODUCT_SHIPPING_API_LEVEL. Other variables
we attempted to look at were giving other values (e.g 202504 for pixel
watch)
Bug: 331202590
Test: th
Change-Id: Ied3da247cba45611132db6c9e3cdefb447891f96
-rw-r--r-- | tools/releasetools/common.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py index 264c2d8081..1a7a29d867 100644 --- a/tools/releasetools/common.py +++ b/tools/releasetools/common.py @@ -490,7 +490,6 @@ class BuildInfo(object): return -1 props = [ - "ro.board.api_level", "ro.board.first_api_level", "ro.product.first_api_level", ] |