Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7fc260a0 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

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
parent ef60e461
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment