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

Skip to content
Commit d2392b54 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Update KL and KCM usages for new optional outputs

We updated some APIs to return std::optional. Use those APIs here in the
jni code.

Per our docs for MotionEvent and KeyEvent, in the event of failure, we
should be returning -1 and KEYCODE_UNKNOWN, respectively, so update the
code to actually follow this spec.

Bug: 266400536
Test: m
Change-Id: I8e414b1ec104a6458b1bc45b220eb9eeef99df21
parent ac6cd614
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