diff options
| author | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2024-01-17 11:30:49 +0100 |
|---|---|---|
| committer | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2024-01-18 15:32:34 +0100 |
| commit | 3b042e8a6b3edfe981075c78ad0f997c02b5bcb7 (patch) | |
| tree | ecdb24a8734a3c42ebb6f08477e72f7e61e96f64 /android/scripts | |
| parent | b2c65f77077a733e25d130ad945ce4a9cd503349 (diff) | |
| download | mullvadvpn-3b042e8a6b3edfe981075c78ad0f997c02b5bcb7.tar.xz mullvadvpn-3b042e8a6b3edfe981075c78ad0f997c02b5bcb7.zip | |
Manual `IntoJava` impl to skip `locked_down` field
Here we manually implement the `IntoJava` trait of jnix to skip the
`locked_down` field of `TunnelState::Disconnected` as the derive macro
currently does not support skipping fields of struct variants in and
enum. It was decided that this solution is the preferred to updating the
macro since the jnix crate will be dropped once android implements gRPC.
Diffstat (limited to 'android/scripts')
0 files changed, 0 insertions, 0 deletions
