-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add service connection manager #890
Closed
Closed
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
700308f
fix double close of file descriptor issue detected by fdscan
1309284
merge latest
a3b41c4
merge latest
64bf7fd
merge latest
15f6b04
initial commit
1530e75
initial commit
563939e
Add vpn service connection manager
4e49e1b
Add SurveyHelper
9e7e716
move code for processing surveys out of MainActivity
8b18818
Additional updates to VpnServiceManager, add service connection class
fc46297
Additional updates to VpnServiceManager, add service connection class
4cb3ffa
apply formatting changes
fcdc458
apply formatting changes
c9ddaad
move notifications to LanternApp, add service notification to helper
c21a4f1
make sure to disconnect service connection when main activity is dest…
d41045f
Move code for a service connection state to manager, remove GoTun2Soc…
868ad66
Remove unused imports
a99e957
Add survey/loconf helper, move loconf processing out of the MainActivity
4650c54
remove lines commented out
3fbe4ce
additional clean-ups
887cca9
Merge branch 'atavism/vpn-connection-manager' into atavism/loconf-upd…
1b87dbc
Merge pull request #891 from getlantern/atavism/loconf-updates
atavism 7b4cd03
Merge remote-tracking branch 'origin/main' into atavism/vpn-connectio…
d8094a0
Updates to LanternService
ff62b0b
Merge branch 'atavism/vpn-connection-manager' of github.com:getlanter…
d9b2dc4
update service check in onServiceConnected
35e44f6
merge latest
769f922
merge latest
3cc1dca
merge latest
d54d711
merge latest
beefe0b
Merge remote-tracking branch 'origin/main' into atavism/vpn-connectio…
aa50215
merge latest
b26c154
merge latest
cd3bb67
Merge remote-tracking branch 'origin/main' into atavism/vpn-connectio…
9f8b365
remove vpnStateChanged method
b09340e
Merge remote-tracking branch 'origin/main' into atavism/vpn-connectio…
1c6def0
Merge remote-tracking branch 'origin/main' into atavism/vpn-connectio…
de362e1
merge latest
5e5b1a7
Merge branch 'main' into atavism/vpn-connection-manager
e929813
merge latest
atavism 359ffb4
Add missing imports
atavism c4032b4
Merge remote-tracking branch 'origin/main' into atavism/vpn-connectio…
atavism 9836398
merge latest
atavism 8cda501
merge latest
atavism File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
android/app/src/main/kotlin/org/getlantern/lantern/Constants.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.getlantern.lantern | ||
|
||
object Actions { | ||
const val CONNECT_VPN = "org.getlantern.lantern.intent.VPN_CONNECTED" | ||
const val DISCONNECT_VPN = "org.getlantern.lantern.intent.VPN_DISCONNECTED" | ||
|
||
const val STOP_SERVICE = "org.getlantern.lantern.service.STOP" | ||
const val SERVICE = "org.getlantern.lantern.service" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@atavism On this file WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE both are deprecated for SDK version 33, Do you think we should of ahead and change this now?