Merge "Fixed the incorrect permission for data/network service binding"

am: a9bf7a8810

Change-Id: Ic3c463d7e7755efcb048e84c338ffbe256475874
This commit is contained in:
Jack Yu
2018-06-18 18:49:09 -07:00
committed by android-build-merger
2 changed files with 5 additions and 5 deletions

View File

@@ -35,8 +35,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" >

View File

@@ -43,11 +43,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>