commit | 6a71a6ec0ab2556a239609baec005f895c70fe5f | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Thu Apr 02 13:26:24 2020 +0100 |
committer | Narayan Kamath <narayan@google.com> | Thu Apr 02 14:16:46 2020 +0100 |
tree | 15f61e95cd5a636510d210b8fee120a962361f88 | |
parent | 6dd3a85af2d2b5b15a28c1aeeb2e85ce92c3853d [diff] |
GenericDeviceInfo: Guard field access with a version check. RELEASE_OR_CODENAME only exists on Android R and higher and the device-info library is used by GTS which produces a multi release binary that's expected to run on versions as early as Android 8. Test: make compatibility-device-info Test: run GTS on a Q device Bug: 152442869 Change-Id: I2833a1f2c5a7600df915be517758ed9ccb583971