Merge "Add a new constant to TimeZoneRulesDataContract" into oc-mr1-dev

This commit is contained in:
Neil Fuller
2017-08-01 10:06:16 +00:00
committed by Android (Google) Code Review
2 changed files with 7 additions and 0 deletions

View File

@@ -38653,6 +38653,7 @@ package android.provider {
public final class TimeZoneRulesDataContract {
field public static final java.lang.String AUTHORITY = "com.android.timezone";
field public static final java.lang.String READER_PERMISSION = "android.permission.UPDATE_TIME_ZONE_RULES";
}
public static final class TimeZoneRulesDataContract.Operation {

View File

@@ -40,6 +40,12 @@ public final class TimeZoneRulesDataContract {
/** A content:// style uri to the authority for the time zone data content provider */
private static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY);
/**
* The permission that the reader of the ContentProvider must possess.
*/
public static final String READER_PERMISSION =
android.Manifest.permission.UPDATE_TIME_ZONE_RULES;
/**
* Defines fields exposed through the {@link Operation#CONTENT_URI} for describing a time zone
* distro operation.