commit | 1349f5c1b63332e2fde087242f444a453572eb8e | [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 | 849e4d205e318890ae1a40116ce4aad6e1ff0a7e | |
parent | e4b731af2a151e990de52f80b007545492cbf3ea [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