Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
evolution_frameworks_base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Android-smartphones
realme
realme 5pro
kaderbava
evolution_frameworks_base
Commits
cba8b949
Commit
cba8b949
authored
4 years ago
by
Junyu Lai
Committed by
Android (Google) Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Disable log for per uid blocked status changed event" into rvc-dev
parents
14756a8c
bf55f0e0
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
services/core/java/com/android/server/ConnectivityService.java
+3
-4
3 additions, 4 deletions
...ces/core/java/com/android/server/ConnectivityService.java
with
3 additions
and
4 deletions
services/core/java/com/android/server/ConnectivityService.java
+
3
−
4
View file @
cba8b949
...
...
@@ -1374,10 +1374,9 @@ public class ConnectivityService extends IConnectivityManager.Stub
if
(
nri
==
null
||
net
==
null
||
!
LOGD_BLOCKED_NETWORKINFO
)
{
return
;
}
String
action
=
blocked
?
"BLOCKED"
:
"UNBLOCKED"
;
log
(
String
.
format
(
"Blocked status changed to %s for %d(%d) on netId %d"
,
blocked
,
nri
.
mUid
,
nri
.
request
.
requestId
,
net
.
netId
));
mNetworkInfoBlockingLogs
.
log
(
action
+
" "
+
nri
.
mUid
);
final
String
action
=
blocked
?
"BLOCKED"
:
"UNBLOCKED"
;
mNetworkInfoBlockingLogs
.
log
(
String
.
format
(
"%s %d(%d) on netId %d"
,
action
,
nri
.
mUid
,
nri
.
request
.
requestId
,
net
.
netId
));
}
/**
...
...
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