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

Skip to content
Commit d31e9df0 authored by Martin Brabham's avatar Martin Brabham
Browse files

AdapterService: Fix NPE in JNI and correct type for casting and reference correct method name.

Previously, for bt_oob_data_t this tried to set_data even if the passed OobData was nullptr

For the address, it was doing a cast a jbyteArray to RawAddress* which requires a jbyte* so
the data is now converted from jbyteArray to jbyte* before casting.

getLeFlags is the correct name vs getLeFlag

Bug: 17800793
Test: Compiles, Manual test app
Tag: #feature
Change-Id: Ib001f1f2292e9e57d68131f0c1b0eddc55834b5a
parent d15ff534
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