commit | 936f3c0ebdcbebb9f1025c3f8fb63cbd3cea1036 | [log] [tgz] |
---|---|---|
author | David Su <dysu@google.com> | Thu Nov 19 14:19:15 2020 -0800 |
committer | David Su <dysu@google.com> | Fri Nov 20 08:55:37 2020 -0800 |
tree | d184245b9f4050cb4fcd8e21c89fe205b1a1f623 | |
parent | fcfb1eecf08c131ac48df3479c88f1e24302b213 [diff] |
Fix references to new S APIs without version checks These new S APIs will throw UnsupportedOperationException when running on an R device (even though it's called from within the Wifi module!!!). Add version checks before calling them. Note that this is a temporary solution to unblock testing S module on R base image. Will seek a better long term solution. Bug: 173791707 Test: S module on R base image boots and connects to wifi Change-Id: I3fc28850b208e0b53f5d944b5165daa1faaa9f3e