Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PublicAndroidApps
Nebulo
Commits
a5ae877e
Commit
a5ae877e
authored
Aug 19, 2021
by
Daniel Wolf
Browse files
Join statements
parent
a6c22598
Pipeline
#7823
passed with stage
in 5 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/smokescreen/service/DnsVpnService.kt
View file @
a5ae877e
...
...
@@ -1514,8 +1514,7 @@ class DnsVpnService : VpnService(), Runnable, CoroutineScope {
}
private
fun
createDnsCache
():
SimpleDnsCache
?
{
val
dnsCache
:
SimpleDnsCache
?
dnsCache
=
if
(
getPreferences
().
useDnsCache
)
{
val
dnsCache
:
SimpleDnsCache
?
=
if
(
getPreferences
().
useDnsCache
)
{
log
(
"Creating DNS Cache."
)
val
cacheControl
:
CacheControl
=
if
(!
getPreferences
().
useDefaultDnsCacheTime
)
{
NxDomainCacheControl
(
applicationContext
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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