Merge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants." am: b760295764
am: 10f60a740f
Change-Id: I7e00f153a147c906fe853c1f98e492a0c381850a
This commit is contained in:
@@ -2563,6 +2563,35 @@ public final class Telephony {
|
|||||||
*/
|
*/
|
||||||
public static final Uri CONTENT_URI = Uri.parse("content://telephony/carriers");
|
public static final Uri CONTENT_URI = Uri.parse("content://telephony/carriers");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The {@code content://} style URL to be called from DevicePolicyManagerService,
|
||||||
|
* can manage DPC-owned APNs.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final Uri DPC_URI = Uri.parse("content://telephony/carriers/dpc");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The {@code content://} style URL to be called from Telephony to query APNs.
|
||||||
|
* When DPC-owned APNs are enforced, only DPC-owned APNs are returned, otherwise only
|
||||||
|
* non-DPC-owned APNs are returned.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final Uri FILTERED_URI = Uri.parse("content://telephony/carriers/filtered");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The {@code content://} style URL to be called from DevicePolicyManagerService
|
||||||
|
* or Telephony to manage whether DPC-owned APNs are enforced.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final Uri ENFORCE_MANAGED_URI = Uri.parse(
|
||||||
|
"content://telephony/carriers/enforce_managed");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column name for ENFORCE_MANAGED_URI, indicates whether DPC-owned APNs are enforced.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String ENFORCE_KEY = "enforced";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default sort order for this table.
|
* The default sort order for this table.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user