summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
author Kiyoung Kim <kiyoungkim@google.com> 2023-09-22 13:52:47 +0900
committer Kiyoung Kim <kiyoungkim@google.com> 2024-03-06 14:48:01 +0000
commit96d09a108d67d8cc07fed6c499e7fa3901c57446 (patch)
treea76d878e061537c0dc09d9639340f1ef67bb96bc /compiler/common_compiler_test.cc
parentf701823d2bc4911fc5eaa2d94799118751e8c637 (diff)
Use product vndk version to check if product vndk is deprecated
There are some logic in libnativeloader to check if product is treblelized by checking ro.product.vndk.version. However, this property is no longer valid to check if product is treblelized, because of vndk deprecation. This makes libnativeloader to consider as product is not treblelized when the property is empty from the VNDK deprecation. This causes unexpected error from libnativeloader which allows product apps to use system / system_ext libraries when the product partition is VNDK deprecated. Product is force-treblelized from R, so it is safe to assume that product partition is always treblelized as long as the device is treblelized. This change removes existing check of ro.product.vndk.version, and use this check only to confirm if product VNDK is deprecated. Bug: 290159430 Bug: 325710867 Test: Cuttlefish build and run succeeded Test: libnativeloader_e2e_tests passed Change-Id: Ieee3ff2dde4244e7c46420ad8dde5f8e5cf249e4 Merged-In: Ieee3ff2dde4244e7c46420ad8dde5f8e5cf249e4 (cherry picked from commit c8c2953cffe8ff9d2204f4efdff9100eb9fa6df0)
Diffstat (limited to 'compiler/common_compiler_test.cc')
0 files changed, 0 insertions, 0 deletions