summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-11-19 14:20:18 -0800
committerDavid Su <dysu@google.com>2020-11-20 08:54:38 -0800
commit1349f5c1b63332e2fde087242f444a453572eb8e (patch)
tree849e4d205e318890ae1a40116ce4aad6e1ff0a7e /tools/aapt2/java/JavaClassGenerator_test.cpp
parente4b731af2a151e990de52f80b007545492cbf3ea (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions