summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Philip P. Moltmann <moltmann@google.com> 2018-12-12 16:21:22 -0800
committer Philip P. Moltmann <moltmann@google.com> 2018-12-12 16:32:02 -0800
commitf84bde6c1517f040ceccd8b4e1a0eb9a534c7196 (patch)
treebb41c2bb3715df85ccb364547213cb2e651ceecf
parenta44e66a504c828b4ae580753d865b1dc7bf82780 (diff)
Add system_notification_accent_color for mainline
Previous this was private API. Now we need it as system API. Test: Used the new API in an app Bug: 120795278 Change-Id: I9e76e13e66212508fee62f3e2f9a102db8d0097a
-rw-r--r--api/system-current.txt4
-rw-r--r--core/res/res/values/public.xml5
2 files changed, 9 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt
index f241a84063a4..864cf2e797e0 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -204,6 +204,10 @@ package android {
field public static final int config_sendPackageName = 17891328; // 0x1110000
}
+ public static final class R.color {
+ field public static final int system_notification_accent_color = 17170460; // 0x106001c
+ }
+
public static final class R.dimen {
field public static final int config_restrictedIconSize = 17104903; // 0x1050007
}
diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml
index d480121fc998..11499fc414d9 100644
--- a/core/res/res/values/public.xml
+++ b/core/res/res/values/public.xml
@@ -2972,6 +2972,11 @@
<public name="config_restrictedIconSize" />
</public-group>
+ <public-group type="color" first-id="0x0106001c">
+ <!-- @hide @SystemApi -->
+ <public name="system_notification_accent_color" />
+ </public-group>
+
<!-- ===============================================================
DO NOT ADD UN-GROUPED ITEMS HERE