Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39ca5b87 authored by Neil Fuller's avatar Neil Fuller
Browse files

Change SystemApi as per API council feedback

API council have requested a manifest constant be added
to the SystemApi directly in preference to an indirect
SystemApi constant here:
android.provider.TimeZoneRulesDataContract.READER_PERMISSION.

This is the third of three changes to (1) add the new constant,
(2) switch over code using the constant, (3) remove the old
constant.

Bug: 64568899
Test: None, build only
Change-Id: I75731b13ce2046556d6148aa5707cab6ed9cf9bf
(cherry picked from commit db57c034)
parent 35ebb3c5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -38662,7 +38662,6 @@ 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 {
+0 −6
Original line number Diff line number Diff line
@@ -40,12 +40,6 @@ 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.