Commit 3beee7cf authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Optimized imports

parent aa314540
......@@ -19,7 +19,6 @@ import io.sentry.android.core.*
import io.sentry.core.Integration
import io.sentry.core.Sentry
import io.sentry.core.SentryOptions
import io.sentry.core.UncaughtExceptionHandlerIntegration
import io.sentry.core.protocol.User
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
......
......@@ -5,7 +5,10 @@ import com.frostnerd.smokescreen.database.converters.StringListConverter
import com.frostnerd.smokescreen.database.dao.DnsQueryDao
import com.frostnerd.smokescreen.database.entities.DnsQuery
import com.frostnerd.smokescreen.getPreferences
import kotlinx.coroutines.*
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.launch
import java.io.BufferedWriter
import java.io.File
import java.io.FileWriter
......
......@@ -2,7 +2,6 @@ package com.frostnerd.smokescreen.database.repository
import com.frostnerd.smokescreen.database.dao.DnsRuleDao
import com.frostnerd.smokescreen.database.entities.DnsRule
import com.frostnerd.smokescreen.database.entities.HostSource
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
......
package com.frostnerd.smokescreen.database.repository
import androidx.room.Delete
import com.frostnerd.smokescreen.database.dao.HostSourceDao
import com.frostnerd.smokescreen.database.entities.HostSource
import kotlinx.coroutines.CoroutineScope
......
......@@ -33,7 +33,6 @@ import okhttp3.OkHttpClient
import org.minidns.dnsmessage.DnsMessage
import org.minidns.dnsmessage.Question
import org.minidns.record.Record
import java.lang.Exception
import java.util.concurrent.TimeUnit
/*
......
package com.frostnerd.smokescreen.dialog
import android.app.AlertDialog
import android.content.DialogInterface
import android.view.LayoutInflater
import android.view.View
......
......@@ -6,7 +6,6 @@ import android.content.Intent
import android.content.SharedPreferences
import android.content.pm.PackageManager
import android.net.Uri
import android.net.VpnService
import android.os.Build
import android.os.Bundle
import android.provider.Settings
......@@ -27,7 +26,6 @@ import com.frostnerd.smokescreen.dialog.AppChoosalDialog
import com.frostnerd.smokescreen.dialog.CrashReportingEnableDialog
import com.frostnerd.smokescreen.dialog.LoadingDialog
import com.frostnerd.smokescreen.dialog.QueryGeneratorDialog
import com.frostnerd.smokescreen.service.Command
import com.frostnerd.smokescreen.service.DnsVpnService
import com.frostnerd.smokescreen.util.preferences.Crashreporting
import com.frostnerd.smokescreen.util.preferences.Theme
......
......@@ -44,7 +44,6 @@ import org.minidns.record.Record
import java.io.ByteArrayInputStream
import java.io.DataInputStream
import java.io.Serializable
import java.lang.Exception
import java.net.*
import java.util.*
import java.util.concurrent.TimeoutException
......
......@@ -2,7 +2,8 @@ package com.frostnerd.smokescreen.util.crashhelpers
import android.os.Build
import com.frostnerd.smokescreen.BuildConfig
import io.sentry.core.*
import io.sentry.core.EventProcessor
import io.sentry.core.SentryEvent
import io.sentry.core.protocol.App
import io.sentry.core.protocol.Device
import io.sentry.core.protocol.OperatingSystem
......
package com.frostnerd.smokescreen.util.preferences
import android.content.SharedPreferences
import com.frostnerd.encrypteddnstunnelproxy.*
import com.frostnerd.preferenceskt.typedpreferences.TypedPreferences
import com.frostnerd.preferenceskt.typedpreferences.types.PreferenceTypeWithDefault
import kotlin.reflect.KProperty
......
package com.frostnerd.smokescreen.util.proxy
import com.frostnerd.dnstunnelproxy.AbstractUDPDnsHandle
import com.frostnerd.dnstunnelproxy.IPPacket
import com.frostnerd.dnstunnelproxy.Packet
import com.frostnerd.dnstunnelproxy.UpstreamAddress
import com.frostnerd.vpntunnelproxy.DeviceWriteToken
......
package com.frostnerd.smokescreen.util.proxy
import com.frostnerd.dnstunnelproxy.DnsPacketProxy
import com.frostnerd.dnstunnelproxy.IPPacket
import com.frostnerd.dnstunnelproxy.Packet
import com.frostnerd.dnstunnelproxy.UpstreamAddress
import com.frostnerd.encrypteddnstunnelproxy.tls.AbstractTLSDnsHandle
......
......@@ -10,16 +10,18 @@ import com.frostnerd.dnstunnelproxy.UpstreamAddress
import com.frostnerd.encrypteddnstunnelproxy.HttpsDnsServerInformation
import com.frostnerd.encrypteddnstunnelproxy.ServerConfiguration
import com.frostnerd.encrypteddnstunnelproxy.tls.TLSUpstreamAddress
import okhttp3.*
import okhttp3.Dns
import okhttp3.HttpUrl.Companion.toHttpUrl
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody.Companion.toRequestBody
import okhttp3.Response
import okhttp3.internal.closeQuietly
import org.minidns.dnsmessage.DnsMessage
import org.minidns.dnsmessage.Question
import org.minidns.record.Record
import java.io.DataInputStream
import java.io.DataOutputStream
import java.lang.IllegalArgumentException
import java.net.*
import java.util.concurrent.ConcurrentHashMap
import java.util.concurrent.TimeUnit
......
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<androidx.preference.PreferenceCategory android:title="@string/preference_category_network">
<CheckBoxPreference
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment