[2/2] omni: PoorMensTheme: add Phonograph overlay
Change-Id: I5982f5e607097dd7cb8c1bc19cf3b56993296ccf
diff --git a/config/packages.mk b/config/packages.mk
index 3d3413d..0922b59 100644
--- a/config/packages.mk
+++ b/config/packages.mk
@@ -62,7 +62,8 @@
PRODUCT_PACKAGES += \
DocumentsUITheme \
DialerTheme \
- TelecommTheme
+ TelecommTheme \
+ PhonographTheme
PRODUCT_PACKAGES += \
NotificationsDark \
diff --git a/google/themes/DialerTheme/assets/thumbnail.png b/google/themes/DialerTheme/assets/thumbnail.png
deleted file mode 100644
index 9841324..0000000
--- a/google/themes/DialerTheme/assets/thumbnail.png
+++ /dev/null
Binary files differ
diff --git a/google/themes/DocumentsUITheme/assets/thumbnail.png b/google/themes/DocumentsUITheme/assets/thumbnail.png
deleted file mode 100644
index 9841324..0000000
--- a/google/themes/DocumentsUITheme/assets/thumbnail.png
+++ /dev/null
Binary files differ
diff --git a/google/themes/DocumentsUITheme/res/values/styles.xml b/google/themes/DocumentsUITheme/res/values/styles.xml
index 785efc4..b6fe6bf 100644
--- a/google/themes/DocumentsUITheme/res/values/styles.xml
+++ b/google/themes/DocumentsUITheme/res/values/styles.xml
@@ -15,6 +15,5 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android" >
-
<style name="ActionBarPopupTheme" parent="@*android:style/ThemeOverlay.Material" />
</resources>
diff --git a/google/themes/PhonographTheme/Android.mk b/google/themes/PhonographTheme/Android.mk
new file mode 100644
index 0000000..a3690f3
--- /dev/null
+++ b/google/themes/PhonographTheme/Android.mk
@@ -0,0 +1,12 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_PACKAGE_NAME := PhonographTheme
+LOCAL_RRO_THEME := PhonographTheme
+LOCAL_CERTIFICATE := platform
+LOCAL_MODULE_TAGS := optional
+LOCAL_SDK_VERSION := current
+LOCAL_SRC_FILES := $(call all-subdir-java-files)
+LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
+
+include $(BUILD_RRO_PACKAGE)
diff --git a/google/themes/PhonographTheme/AndroidManifest.xml b/google/themes/PhonographTheme/AndroidManifest.xml
new file mode 100644
index 0000000..ee0c6a8
--- /dev/null
+++ b/google/themes/PhonographTheme/AndroidManifest.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.omnirom.theme.app.phonographtheme"
+ platformBuildVersionCode="28"
+ platformBuildVersionName="9.0.0">
+
+ <overlay android:priority="2" android:targetPackage="org.omnirom.gramophone" />
+
+
+ <application android:hasCode="false"
+ android:label="Phonograph Theme" />
+</manifest>
diff --git a/google/themes/PhonographTheme/res/values/colors.xml b/google/themes/PhonographTheme/res/values/colors.xml
new file mode 100644
index 0000000..a32c8d6
--- /dev/null
+++ b/google/themes/PhonographTheme/res/values/colors.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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="colorPrimaryDark">@*android:color/omni_color1</color>
+ <color name="colorPrimary">@*android:color/omni_color2</color>
+ <color name="colorAccent">@*android:color/omni_color5</color>
+ <color name="text_secondary">@*android:color/omni_text2</color>
+ <color name="md_grey_300">@*android:color/omni_color1</color>
+ <color name="md_white_1000">@*android:color/omni_color2</color>
+ <color name="ate_primary_text_light">@*android:color/omni_text1</color>
+ <color name="ate_primary_text_dark">@*android:color/omni_text1</color>
+ <color name="ate_secondary_text_light">@*android:color/omni_text2</color>
+ <color name="windowBackground">@*android:color/omni_color1</color>
+ <color name="md_divider_black">@*android:color/omni_color2</color>
+ <color name="ate_control_normal_light">@*android:color/omni_text2</color>
+ <color name="ripple_material_light">@*android:color/omni_text3</color>
+ <color name="textColorPrimary">@*android:color/omni_text1</color>
+ <color name="textColorSecondary">@*android:color/omni_text2</color>
+ <color name="textColorTertiary">@*android:color/omni_text3</color>
+ <color name="popupBackground">@*android:color/omni_color7</color>
+ <color name="md_background_color">@*android:color/omni_color7</color>
+</resources>
diff --git a/google/themes/PhonographTheme/res/values/styles.xml b/google/themes/PhonographTheme/res/values/styles.xml
new file mode 100644
index 0000000..389bdb1
--- /dev/null
+++ b/google/themes/PhonographTheme/res/values/styles.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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:android="http://schemas.android.com/apk/res/android" >
+ <style name="Theme.Phonograph.Settings" parent="@android:style/Theme.DeviceDefault.Settings" />
+</resources>
diff --git a/google/themes/TelecommTheme/assets/thumbnail.png b/google/themes/TelecommTheme/assets/thumbnail.png
deleted file mode 100644
index 9841324..0000000
--- a/google/themes/TelecommTheme/assets/thumbnail.png
+++ /dev/null
Binary files differ