summaryrefslogtreecommitdiff
path: root/common/networkstackclient/src
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2020-02-03 13:33:58 +0900
committerRemi NGUYEN VAN <reminv@google.com>2020-02-03 13:54:18 +0900
commit7fc260a0b64437c8a148450d2510e175453f3198 (patch)
tree9a43d604f3b5da272e849b2fd5b078db5095c380 /common/networkstackclient/src
parentef60e4614540d3c9974c259b7cf98e2f84f24efd (diff)
Fix NetworkStackTests compatibility with Q
NetworkStackTests use some JNI code for APF tests, which does not link all libc++ dependencies statically. Because of this, the test stopped passing on Q. Compile the JNI code against stable SDK to guarantee backwards compatibility. Also fix usage of the CellIdentity* constructors for Q devices: the constructors have new parameters in later APIs. Use reflection on older devices to reference the old constructor; the reflection call is not likely to break as there should be no change to the Q constructor in the future. Bug: 148753875 Test: atest NetworkStackTests with a Q device connected Change-Id: Ie35d6a2618847fa1de4c093c21df7c38584bbaef
Diffstat (limited to 'common/networkstackclient/src')
0 files changed, 0 insertions, 0 deletions