Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base-old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Service Desk
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
Farzin Kazemzadeh
platform_frameworks_base-old
Commits
a9bf7a88
Commit
a9bf7a88
authored
6 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fixed the incorrect permission for data/network service binding"
parents
79d3bf6e
063ed82e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
telephony/java/android/telephony/NetworkService.java
+2
-2
2 additions, 2 deletions
telephony/java/android/telephony/NetworkService.java
telephony/java/android/telephony/data/DataService.java
+3
-3
3 additions, 3 deletions
telephony/java/android/telephony/data/DataService.java
with
5 additions
and
5 deletions
telephony/java/android/telephony/NetworkService.java
+
2
−
2
View file @
a9bf7a88
...
...
@@ -36,8 +36,8 @@ import java.util.List;
/**
* Base class of network service. Services that extend NetworkService must register the service in
* their AndroidManifest to be detected by the framework. They must be protected by the permission
* "android.permission.BIND_NETWORK_SERVICE". The network service definition in the
manifest must
* follow the following format:
* "android.permission.BIND_
TELEPHONY_
NETWORK_SERVICE". The network service definition in the
*
manifest must
follow the following format:
* ...
* <service android:name=".xxxNetworkService"
* android:permission="android.permission.BIND_TELEPHONY_NETWORK_SERVICE" >
...
...
This diff is collapsed.
Click to expand it.
telephony/java/android/telephony/data/DataService.java
+
3
−
3
View file @
a9bf7a88
...
...
@@ -44,11 +44,11 @@ import java.util.List;
/**
* Base class of data service. Services that extend DataService must register the service in
* their AndroidManifest to be detected by the framework. They must be protected by the permission
* "android.permission.BIND_DATA_SERVICE". The data service definition in the manifest
must follow
* the following format:
* "android.permission.BIND_
TELEPHONY_
DATA_SERVICE". The data service definition in the manifest
*
must follow
the following format:
* ...
* <service android:name=".xxxDataService"
* android:permission="android.permission.BIND_DATA_SERVICE" >
* android:permission="android.permission.BIND_
TELEPHONY_
DATA_SERVICE" >
* <intent-filter>
* <action android:name="android.telephony.data.DataService" />
* </intent-filter>
...
...
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