Skip to content
Commit 1349f5c1 authored by David Su's avatar David Su
Browse files

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
parent e4b731af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment