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
32ba14cb
Commit
32ba14cb
authored
Dec 08, 2019
by
Daniel Wolf
Browse files
Don't start the service when it is not prepared but the info dialog has been shown before
parent
6c4bb4fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/smokescreen/fragment/MainFragment.kt
View file @
32ba14cb
...
...
@@ -178,7 +178,7 @@ class MainFragment : Fragment() {
getPreferences
().
vpnInformationShown
=
true
}
else
{
if
(
getPreferences
().
vpnInformationShown
)
{
requireContext
().
startService
(
Inten
t
(
re
quireContext
(),
DnsVpnService
::
class
.
java
)
)
startActivityForResul
t
(
p
re
pare
,
vpnRequestCode
)
}
else
{
showInfoTextDialog
(
requireContext
(),
getString
(
R
.
string
.
dialog_vpninformation_title
),
...
...
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