diff options
| author | David Göransson <david.goransson90@gmail.com> | 2024-01-25 09:58:06 +0100 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2024-02-05 17:51:37 +0100 |
| commit | 45fa4fa21373e7c275a73acd9b947c86cfebc540 (patch) | |
| tree | ed3d3949430aab2a36b1aca6ed90b19567437dc8 /android/service/src | |
| parent | 77aaaf2110897c39f5c845832bbb12e8c2d0b7e7 (diff) | |
| download | mullvadvpn-45fa4fa21373e7c275a73acd9b947c86cfebc540.tar.xz mullvadvpn-45fa4fa21373e7c275a73acd9b947c86cfebc540.zip | |
Clean up UnusedPrivateMember and UnusedPrivateProperty
Diffstat (limited to 'android/service/src')
| -rw-r--r-- | android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadDaemon.kt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadDaemon.kt b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadDaemon.kt index 107f5d35fe..52e662c771 100644 --- a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadDaemon.kt +++ b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadDaemon.kt @@ -296,30 +296,44 @@ class MullvadDaemon( quantumResistant: QuantumResistantState ) + // Used by JNI + @Suppress("unused") private fun notifyAppVersionInfoEvent(appVersionInfo: AppVersionInfo) { onAppVersionInfoChange?.invoke(appVersionInfo) } + // Used by JNI + @Suppress("unused") private fun notifyRelayListEvent(relayList: RelayList) { onRelayListChange?.invoke(relayList) } + // Used by JNI + @Suppress("unused") private fun notifySettingsEvent(settings: Settings) { onSettingsChange.notify(settings) } + // Used by JNI + @Suppress("unused") private fun notifyTunnelStateEvent(event: TunnelState) { onTunnelStateChange.notify(event) } + // Used by JNI + @Suppress("unused") private fun notifyDaemonStopped() { onDaemonStopped?.invoke() } + // Used by JNI + @Suppress("unused") private fun notifyDeviceEvent(event: DeviceEvent) { _deviceStateUpdates.tryEmit(event.newState) } + // Used by JNI + @Suppress("unused") private fun notifyRemoveDeviceEvent(event: RemoveDeviceEvent) { _deviceListUpdates.tryEmit(DeviceListEvent.Available(event.accountToken, event.newDevices)) } |
