commit | c8b40fad6018475fe10b916ff270fe68eb58c354 | [log] [tgz] |
---|---|---|
author | Hsin-Yi Chen <hsinyichen@google.com> | Wed May 02 18:16:21 2018 +0800 |
committer | Hsin-Yi Chen <hsinyichen@google.com> | Fri May 04 04:57:21 2018 +0000 |
tree | f9934d64a0c5305087ca208c92ff712e9df8a298 | |
parent | 4085c4c9e64f3f7891f3368c905b33ece4433c51 [diff] |
Replace first_api_level with getLaunchApiLevel in vts-kernel If ro.product.first_api_level is 0, getLaunchApiLevel assumes the device is a newly launched product. It returns ro.build.version.sdk which is defined by the system image. Bug: 77142177 Test: vts-tradefed run commandAndExit vts --include-filter \ VtsKernelVersion --include-filter KernelProcFileApiTest Change-Id: I5b1c598180d3ad539184c7f417357e1f2b528f2d