From 8bb4140516c0e18d6c3cbb4215cedc306a2a6da9 Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Fri, 11 Aug 2017 13:22:36 +0100 Subject: [PATCH] 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 first of three changes to (1) add the new constant, (2) switch over code using the constant, (3) remove the constant. Bug: 64568899 Test: None, build only Change-Id: Ib9766591979886d1db3b1d7321536dabf5cf81a8 --- api/system-current.txt | 1 + core/res/AndroidManifest.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/system-current.txt b/api/system-current.txt index 99a22011660f5..5cbef935cef41 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -264,6 +264,7 @@ package android { field public static final java.lang.String UPDATE_APP_OPS_STATS = "android.permission.UPDATE_APP_OPS_STATS"; field public static final java.lang.String UPDATE_DEVICE_STATS = "android.permission.UPDATE_DEVICE_STATS"; field public static final java.lang.String UPDATE_LOCK = "android.permission.UPDATE_LOCK"; + field public static final java.lang.String UPDATE_TIME_ZONE_RULES = "android.permission.UPDATE_TIME_ZONE_RULES"; field public static final java.lang.String USER_ACTIVITY = "android.permission.USER_ACTIVITY"; field public static final java.lang.String USE_FINGERPRINT = "android.permission.USE_FINGERPRINT"; field public static final java.lang.String USE_SIP = "android.permission.USE_SIP"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 2652930ede4ad..2954d5e6d5eaf 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -2273,7 +2273,7 @@

An application requesting this permission is responsible for verifying the source and integrity of the update before passing it off to the installer components. - @hide --> + @SystemApi @hide -->