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:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user