docs: Added code tag to meta-data name and fixed some @see tags

Status: Ready for review.

Changes:
* Surrounded android.service.carrier.LONG_LIVED_BINDING with code tags
  in CarrierService class.
* Prefixed @see tags with # in CarrierConfigManager#KEY_FORCE_HOME_NETWORK_BOOL.
* Prefixed @see tag with class name in
  CarrierConfigManager#notifyConfigChangedForSubId.

Test: make ds-docs

Staged content:
*
https://android-dot-devsite.googleplex.com/reference/android/service/carrier/CarrierService.html
*
https://android-dot-devsite.googleplex.com/reference/android/telephony/CarrierConfigManager.html#KEY_FORCE_HOME_NETWORK_BOOL
*
https://android-dot-devsite.googleplex.com/reference/android/telephony/CarrierConfigManager.html#notifyConfigChangedForSubId(int)

Bug: 23289716
Change-Id: I3b5be3ecc45bfb83e3fe0ae9bc76dc7761557e08
This commit is contained in:
Ricardo Loo Foronda
2017-10-26 17:02:31 -07:00
parent f4c26d98a6
commit f2a8aea735
2 changed files with 7 additions and 7 deletions

View File

@@ -30,8 +30,8 @@ import com.android.internal.telephony.ITelephonyRegistry;
* To extend this class, you must declare the service in your manifest file to require the
* {@link android.Manifest.permission#BIND_CARRIER_SERVICES} permission and include an intent
* filter with the {@link #CARRIER_SERVICE_INTERFACE}. If the service should have a long-lived
* binding, set android.service.carrier.LONG_LIVED_BINDING to true in the service's metadata.
* For example:
* binding, set <code>android.service.carrier.LONG_LIVED_BINDING</code> to <code>true</code> in the
* service's metadata. For example:
* </p>
*
* <pre>{@code

View File

@@ -294,10 +294,10 @@ public class CarrierConfigManager {
* If true all networks are considered as home network a.k.a non-roaming. When false,
* the 2 pairs of CMDA and GSM roaming/non-roaming arrays are consulted.
*
* @see KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY
* @see KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY
* @see KEY_CDMA_ROAMING_NETWORKS_STRING_ARRAY
* @see KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY
* @see #KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY
* @see #KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY
* @see #KEY_CDMA_ROAMING_NETWORKS_STRING_ARRAY
* @see #KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY
*/
public static final String
KEY_FORCE_HOME_NETWORK_BOOL = "force_home_network_bool";
@@ -1903,7 +1903,7 @@ public class CarrierConfigManager {
* {@link android.service.carrier.CarrierService#onLoadConfig} will be called from an
* arbitrary thread.
* </p>
* @see #hasCarrierPrivileges
* @see TelephonyManager#hasCarrierPrivileges
*/
public void notifyConfigChangedForSubId(int subId) {
try {