summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/app/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadDaemon.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadDaemon.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadDaemon.kt
index ea66d6b308..2aefe71a91 100644
--- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadDaemon.kt
+++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadDaemon.kt
@@ -128,6 +128,8 @@ class MullvadDaemon(vpnService: MullvadVpnService) {
fun getDevice(): DeviceConfig? = getDevice(daemonInterfaceAddress)
+ fun updateDevice() = updateDevice(daemonInterfaceAddress)
+
fun removeDevice(accountToken: String, deviceId: String): RemoveDeviceResult {
return removeDevice(daemonInterfaceAddress, accountToken, deviceId)
}
@@ -215,6 +217,7 @@ class MullvadDaemon(vpnService: MullvadVpnService) {
): List<Device>?
private external fun getDevice(daemonInterfaceAddress: Long): DeviceConfig?
+ private external fun updateDevice(daemonInterfaceAddress: Long)
private external fun removeDevice(
daemonInterfaceAddress: Long,
accountToken: String?,