Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
a98ab6df
Commit
a98ab6df
authored
May 07, 2021
by
Mygod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update core and remove workaround
parent
a9e8116a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
core/build.gradle.kts
core/build.gradle.kts
+1
-1
core/src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt
.../src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt
+1
-2
mobile/src/main/java/com/github/shadowsocks/widget/WindowInsetsListeners.kt
...va/com/github/shadowsocks/widget/WindowInsetsListeners.kt
+0
-2
No files found.
core/build.gradle.kts
View file @
a98ab6df
...
...
@@ -69,7 +69,7 @@ dependencies {
val
workVersion
=
"2.5.0"
api
(
project
(
":plugin"
))
api
(
"androidx.core:core-ktx:1.
5.0-rc02
"
)
api
(
"androidx.core:core-ktx:1.
6.0-alpha03
"
)
api
(
"androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
)
api
(
"androidx.lifecycle:lifecycle-livedata-core-ktx:$lifecycleVersion"
)
...
...
core/src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt
View file @
a98ab6df
...
...
@@ -66,8 +66,7 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro
* Sensitive shadowsocks configuration file requires extra protection. It may be stored in encrypted storage or
* device storage, depending on which is currently available.
*/
fun
start
(
service
:
BaseService
.
Interface
,
stat
:
File
,
configFile
:
File
,
mode
:
String
,
dnsRelay
:
Boolean
=
true
)
{
fun
start
(
service
:
BaseService
.
Interface
,
stat
:
File
,
configFile
:
File
,
mode
:
String
,
dnsRelay
:
Boolean
=
true
)
{
// setup traffic monitor path
trafficMonitor
=
TrafficMonitor
(
stat
)
...
...
mobile/src/main/java/com/github/shadowsocks/widget/WindowInsetsListeners.kt
View file @
a98ab6df
...
...
@@ -32,8 +32,6 @@ object ListHolderListener : OnApplyWindowInsetsListener {
view
.
setPadding
(
statusBarInsets
.
left
,
statusBarInsets
.
top
,
statusBarInsets
.
right
,
statusBarInsets
.
bottom
)
return
WindowInsetsCompat
.
Builder
(
insets
).
apply
{
setInsets
(
WindowInsetsCompat
.
Type
.
statusBars
(),
Insets
.
NONE
)
setInsets
(
WindowInsetsCompat
.
Type
.
navigationBars
(),
insets
.
getInsets
(
WindowInsetsCompat
.
Type
.
navigationBars
()))
}.
build
()
}
...
...
Write
Preview
Markdown
is supported
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