From 8e3567954e83d6ea13d392b8b4eacb52316d2e54 Mon Sep 17 00:00:00 2001 From: Mygod Date: Tue, 2 Oct 2018 23:49:46 +0800 Subject: [PATCH] Remove unused imports --- mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt | 1 - .../java/be/mygod/vpnhotspot/net/monitor/TrafficRecorder.kt | 1 - mobile/src/main/java/be/mygod/vpnhotspot/util/Utils.kt | 2 -- 3 files changed, 4 deletions(-) diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt index 883514ab..beeed933 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt @@ -10,7 +10,6 @@ import android.net.wifi.p2p.WifiP2pGroup import android.net.wifi.p2p.WifiP2pInfo import android.net.wifi.p2p.WifiP2pManager import android.os.Looper -import android.util.Log import androidx.annotation.StringRes import androidx.core.content.getSystemService import be.mygod.vpnhotspot.App.Companion.app diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/TrafficRecorder.kt b/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/TrafficRecorder.kt index 90a4fd1f..99a4fec4 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/TrafficRecorder.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/TrafficRecorder.kt @@ -14,7 +14,6 @@ import java.net.InetAddress import java.util.concurrent.TimeUnit object TrafficRecorder { - private const val TAG = "TrafficRecorder" private const val ANYWHERE = "0.0.0.0/0" private var scheduled = false diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/util/Utils.kt b/mobile/src/main/java/be/mygod/vpnhotspot/util/Utils.kt index b69b22a9..d6634603 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/util/Utils.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/util/Utils.kt @@ -2,13 +2,11 @@ package be.mygod.vpnhotspot.util import android.content.* import android.os.Build -import android.util.Log import android.view.View import android.widget.ImageView import androidx.annotation.DrawableRes import androidx.core.view.isVisible import androidx.databinding.BindingAdapter -import be.mygod.vpnhotspot.BuildConfig import be.mygod.vpnhotspot.R import be.mygod.vpnhotspot.widget.SmartSnackbar import timber.log.Timber