Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc411eda authored by Daniel Zheng's avatar Daniel Zheng
Browse files

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
parent 8f9ca807
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -490,7 +490,6 @@ class BuildInfo(object):
      return -1

    props = [
        "ro.board.api_level",
        "ro.board.first_api_level",
        "ro.product.first_api_level",
    ]