omni: add red devil overlay and red theme
Change-Id: If8837b7e74c77e226dcc80ac7dcffa65ab3ce592
diff --git a/themes/overlays/AccentColorRedDevilOverlay/Android.mk b/themes/overlays/AccentColorRedDevilOverlay/Android.mk
new file mode 100644
index 0000000..03f661e
--- /dev/null
+++ b/themes/overlays/AccentColorRedDevilOverlay/Android.mk
@@ -0,0 +1,31 @@
+#
+# Copyright 2018, The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_RRO_THEME := AccentColorRedDevil
+
+LOCAL_PRODUCT_MODULE := true
+
+LOCAL_SRC_FILES := $(call all-subdir-java-files)
+
+LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
+
+LOCAL_PACKAGE_NAME := AccentColorRedDevilOverlay
+LOCAL_SDK_VERSION := current
+
+include $(BUILD_RRO_PACKAGE)
diff --git a/themes/overlays/AccentColorRedDevilOverlay/AndroidManifest.xml b/themes/overlays/AccentColorRedDevilOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..7957840
--- /dev/null
+++ b/themes/overlays/AccentColorRedDevilOverlay/AndroidManifest.xml
@@ -0,0 +1,25 @@
+<!--
+/**
+ * Copyright (c) 2018, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.theme.color.reddevil"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <overlay android:targetPackage="android" android:category="android.theme.customization.accent_color" android:priority="1"/>
+
+ <application android:label="@string/accent_color_red_devil" android:hasCode="false"/>
+</manifest>
diff --git a/themes/overlays/AccentColorRedDevilOverlay/res/values/colors_device_defaults.xml b/themes/overlays/AccentColorRedDevilOverlay/res/values/colors_device_defaults.xml
new file mode 100644
index 0000000..4b7568d
--- /dev/null
+++ b/themes/overlays/AccentColorRedDevilOverlay/res/values/colors_device_defaults.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/**
+ * Copyright (c) 2018, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources>
+ <color name="accent_device_default_light">#ffe0141b</color>
+ <color name="accent_device_default_dark">#ffe5141b</color>
+</resources>
diff --git a/themes/overlays/AccentColorRedDevilOverlay/res/values/strings.xml b/themes/overlays/AccentColorRedDevilOverlay/res/values/strings.xml
new file mode 100644
index 0000000..43b2da4
--- /dev/null
+++ b/themes/overlays/AccentColorRedDevilOverlay/res/values/strings.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright (c) 2018, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- Purple accent color name application label. [CHAR LIMIT=50] -->
+ <string name="accent_color_red_devil" translatable="false">Red Devil</string>
+</resources>
+
diff --git a/themes/overlays/Android.mk b/themes/overlays/Android.mk
index 7e0e95f..6e0a6d2 100644
--- a/themes/overlays/Android.mk
+++ b/themes/overlays/Android.mk
@@ -22,7 +22,8 @@
AccentColorOmniOverlay \
AccentColorGoldenShowerOverlay \
PrimaryColorOmniBlackOverlay \
- PrimaryColorDarkBlueOverlay
+ PrimaryColorDarkBlueOverlay \
+ AccentColorRedDevilOverlay
include $(BUILD_PHONY_PACKAGE)
include $(CLEAR_VARS)