Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ClashForAndroid
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
ClashForAndroid
Commits
0f4a4618
There was an error fetching the commit references. Please try again later.
Commit
0f4a4618
authored
3 years ago
by
Kr328
Browse files
Options
Downloads
Patches
Plain Diff
Chore: remove verbose logs
parent
5917b908
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
service/src/main/java/com/github/kr328/clash/service/ProfileWorker.kt
+0
-10
0 additions, 10 deletions
...main/java/com/github/kr328/clash/service/ProfileWorker.kt
with
0 additions
and
10 deletions
service/src/main/java/com/github/kr328/clash/service/ProfileWorker.kt
+
0
−
10
View file @
0f4a4618
...
...
@@ -14,7 +14,6 @@ import com.github.kr328.clash.common.compat.pendingIntentFlags
import
com.github.kr328.clash.common.constants.Components
import
com.github.kr328.clash.common.constants.Intents
import
com.github.kr328.clash.common.id.UndefinedIds
import
com.github.kr328.clash.common.log.Log
import
com.github.kr328.clash.common.util.setUUID
import
com.github.kr328.clash.common.util.uuid
import
com.github.kr328.clash.service.data.ImportedDao
...
...
@@ -148,17 +147,12 @@ class ProfileWorker : BaseService() {
NotificationManagerCompat
.
from
(
applicationContext
)
.
notify
(
id
,
notification
)
Log
.
d
(
"notify processing $name: id = $id"
)
try
{
block
()
}
finally
{
withContext
(
NonCancellable
)
{
NotificationManagerCompat
.
from
(
applicationContext
)
.
cancel
(
id
)
Log
.
d
(
"notify processed $name: id = $id"
)
}
}
}
...
...
@@ -190,8 +184,6 @@ class ProfileWorker : BaseService() {
NotificationManagerCompat
.
from
(
this
)
.
notify
(
id
,
notification
)
Log
.
d
(
"notify completed $name: id = $id"
)
}
private
fun
failed
(
uuid
:
UUID
,
name
:
String
,
reason
:
String
)
{
...
...
@@ -207,8 +199,6 @@ class ProfileWorker : BaseService() {
NotificationManagerCompat
.
from
(
this
)
.
notify
(
id
,
notification
)
Log
.
d
(
"notify failed $name: id = $id"
)
}
companion
object
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment