Merge "[API Review]Clarify method that obtain a component name" am: c128fa0f93
am: 7655d9dd0f
Change-Id: Ib8b3215dfeddcf7ff2891f04ebf6bbbc27d8fc10
This commit is contained in:
@@ -25,6 +25,7 @@ import android.annotation.SystemApi;
|
|||||||
import android.annotation.SystemService;
|
import android.annotation.SystemService;
|
||||||
import android.annotation.TestApi;
|
import android.annotation.TestApi;
|
||||||
import android.annotation.UnsupportedAppUsage;
|
import android.annotation.UnsupportedAppUsage;
|
||||||
|
import android.content.ComponentName;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.os.PersistableBundle;
|
import android.os.PersistableBundle;
|
||||||
import android.os.RemoteException;
|
import android.os.RemoteException;
|
||||||
@@ -1153,11 +1154,20 @@ public class CarrierConfigManager {
|
|||||||
*/
|
*/
|
||||||
public static final String KEY_CARRIER_NAME_STRING = "carrier_name_string";
|
public static final String KEY_CARRIER_NAME_STRING = "carrier_name_string";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Component Name of a carrier-provided CallScreeningService implementation. Telecom will
|
* The Component Name of a carrier-provided CallScreeningService implementation. Telecom will
|
||||||
* bind to this CallScreeningService for ALL incoming calls and provide the carrier
|
* bind to {@link android.telecom.CallScreeningService} for ALL incoming calls and provide
|
||||||
* CallScreeningService with the opportunity to allow or block calls.
|
* the carrier
|
||||||
*/
|
* CallScreeningService with the opportunity to allow or block calls.
|
||||||
|
* <p>
|
||||||
|
* The String includes the package name/the class name.
|
||||||
|
* Example:
|
||||||
|
* <item>com.android.carrier/com.android.carrier.callscreeningserviceimpl</item>
|
||||||
|
* <p>
|
||||||
|
* Using {@link ComponentName#flattenToString()} to convert a ComponentName object to String.
|
||||||
|
* Using {@link ComponentName#unflattenFromString(String)} to convert a String object to a
|
||||||
|
* ComponentName.
|
||||||
|
*/
|
||||||
public static final String KEY_CARRIER_CALL_SCREENING_APP_STRING = "call_screening_app";
|
public static final String KEY_CARRIER_CALL_SCREENING_APP_STRING = "call_screening_app";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user