From d131c90d27024549f7b1d70990cdd431a7c2d2ad Mon Sep 17 00:00:00 2001 From: Mygod Date: Sun, 21 Jan 2018 12:38:36 -0800 Subject: [PATCH] Fix notification not go away after disabling tethering --- mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt b/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt index 77a054ce..a1c63656 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt @@ -63,8 +63,8 @@ class TetheringService : Service(), VpnMonitor.Callback, IpNeighbourMonitor.Call VpnMonitor.registerCallback(this) receiverRegistered = true } + postIpNeighbourAvailable() } - postIpNeighbourAvailable() app.handler.post { binder.fragment?.adapter?.notifyDataSetChanged() } }