commit | b90653e3f1f6d2a579d8bbf8f3828fdce78a5a1e | [log] [tgz] |
---|---|---|
author | David Su <dysu@google.com> | Thu Nov 19 14:20:18 2020 -0800 |
committer | David Su <dysu@google.com> | Fri Nov 20 08:54:38 2020 -0800 |
tree | cc745305279b473e932ae89ba5ff92016f018442 | |
parent | 8d4d6408ef30117f7c05d9e3e64a1314023658ea [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: I6b6920a0f948677767fa366f5db582ec799e08de