Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Projects
Groups
Snippets
Sign up now
Login
Sign in / Register
Toggle navigation
Menu
Open sidebar
PublicAndroidApps
Nebulo
Commits
85fbefa5
Commit
85fbefa5
authored
Oct 10, 2019
by
Daniel Wolf
Browse files
Optimized imports
parent
d8a28f7e
Pipeline
#5298
passed with stage
in 3 minutes and 26 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/smokescreen/Extensions.kt
View file @
85fbefa5
...
...
@@ -29,8 +29,6 @@ import com.frostnerd.encrypteddnstunnelproxy.tls.TLSUpstreamAddress
import
com.frostnerd.smokescreen.util.preferences.AppSettings
import
com.frostnerd.smokescreen.util.preferences.AppSettingsSharedPreferences
import
com.frostnerd.smokescreen.util.preferences.fromSharedPreferences
import
io.sentry.Sentry
import
io.sentry.SentryClient
import
leakcanary.LeakSentry
import
java.net.Inet4Address
import
java.net.Inet6Address
...
...
app/src/main/java/com/frostnerd/smokescreen/Globals.kt
View file @
85fbefa5
...
...
@@ -10,16 +10,12 @@ import android.text.method.LinkMovementMethod
import
android.text.util.Linkify
import
android.view.LayoutInflater
import
android.widget.TextView
import
androidx.annotation.ColorInt
import
androidx.appcompat.app.AlertDialog
import
kotlinx.android.synthetic.main.dialog_privacypolicy.view.*
import
androidx.annotation.ColorInt
import
okhttp3.internal.toHexString
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
...
...
app/src/main/java/com/frostnerd/smokescreen/activity/MainActivity.kt
View file @
85fbefa5
...
...
@@ -8,7 +8,6 @@ import android.net.Uri
import
android.os.Bundle
import
android.widget.Toast
import
androidx.appcompat.app.AlertDialog
import
androidx.core.graphics.ColorUtils
import
com.frostnerd.encrypteddnstunnelproxy.AbstractHttpsDNSHandle
import
com.frostnerd.encrypteddnstunnelproxy.tls.AbstractTLSDnsHandle
import
com.frostnerd.general.service.isServiceRunning
...
...
app/src/main/java/com/frostnerd/smokescreen/database/Extensions.kt
View file @
85fbefa5
...
...
@@ -11,7 +11,6 @@ import com.frostnerd.smokescreen.Logger
import
org.minidns.record.Record
import
java.io.ByteArrayInputStream
import
java.io.DataInputStream
import
java.lang.IllegalStateException
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
...
...
app/src/main/java/com/frostnerd/smokescreen/fragment/DnsRuleFragment.kt
View file @
85fbefa5
...
...
@@ -35,7 +35,6 @@ import com.frostnerd.smokescreen.util.SpaceItemDecorator
import
com.frostnerd.smokescreen.util.worker.RuleImportStartWorker
import
com.google.android.material.snackbar.Snackbar
import
kotlinx.android.synthetic.main.activity_dns_rules.*
import
kotlinx.android.synthetic.main.dialog_host_source_refresh.*
import
kotlinx.android.synthetic.main.item_datasource.view.*
import
kotlinx.android.synthetic.main.item_datasource.view.cardContent
import
kotlinx.android.synthetic.main.item_datasource.view.delete
...
...
@@ -46,7 +45,6 @@ import kotlinx.android.synthetic.main.item_dnsrule_host.view.*
import
kotlinx.coroutines.GlobalScope
import
kotlinx.coroutines.Job
import
kotlinx.coroutines.launch
import
java.time.Duration
import
java.util.concurrent.TimeUnit
/*
...
...
app/src/main/java/com/frostnerd/smokescreen/fragment/MainFragment.kt
View file @
85fbefa5
...
...
@@ -14,9 +14,6 @@ import android.view.LayoutInflater
import
android.view.MotionEvent
import
android.view.View
import
android.view.ViewGroup
import
android.view.animation.Animation
import
android.view.animation.LinearInterpolator
import
android.view.animation.RotateAnimation
import
android.widget.TextView
import
android.widget.Toast
import
androidx.appcompat.app.AppCompatActivity
...
...
app/src/main/java/com/frostnerd/smokescreen/fragment/querylogfragment/QueryLogDetailFragment.kt
View file @
85fbefa5
...
...
@@ -13,9 +13,7 @@ import com.frostnerd.smokescreen.database.entities.DnsRule
import
com.frostnerd.smokescreen.database.getDatabase
import
com.frostnerd.smokescreen.dialog.DnsRuleDialog
import
com.google.android.material.snackbar.Snackbar
import
kotlinx.android.synthetic.main.activity_dns_rules.*
import
kotlinx.android.synthetic.main.fragment_querylog_detail.*
import
org.minidns.record.A
import
org.minidns.record.Record
import
java.text.DateFormat
import
java.util.*
...
...
app/src/main/java/com/frostnerd/smokescreen/util/speedtest/DnsSpeedTest.kt
View file @
85fbefa5
...
...
@@ -6,8 +6,11 @@ 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.OkHttpClient
import
okhttp3.Request
import
okhttp3.RequestBody.Companion.toRequestBody
import
okhttp3.Response
import
org.minidns.dnsmessage.DnsMessage
import
org.minidns.dnsmessage.Question
import
org.minidns.record.Record
...
...
app/src/main/res/layout/dialog_host_source_refresh.xml
View file @
85fbefa5
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:paddingLeft=
"@dimen/dialog_horizontal_margin"
android:paddingRight=
"@dimen/dialog_horizontal_margin"
android:paddingTop=
"@dimen/dialog_vertical_margin"
android:paddingBottom=
"@dimen/dialog_vertical_margin"
android:layout_height=
"match_parent"
>
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:paddingLeft=
"@dimen/dialog_horizontal_margin"
android:paddingRight=
"@dimen/dialog_horizontal_margin"
android:paddingTop=
"@dimen/dialog_vertical_margin"
android:paddingBottom=
"@dimen/dialog_vertical_margin"
android:layout_height=
"match_parent"
>
<CheckBox
android:layout_width=
"wrap_content"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment