summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authoremancebo <emancebo@cyngn.com>2014-08-04 17:07:05 -0700
committeremancebo <emancebo@cyngn.com>2014-08-12 15:30:03 -0700
commitdf7f323089af7aebfc29e253b13b67789fa23ccb (patch)
tree2def0bacf86c691ce0e787cb25c2e69e613b0915 /res
parentd800dc84b4d40fb5d441732a1fee05fe0915b5af (diff)
downloadandroid_packages_apps_Dialer-df7f323089af7aebfc29e253b13b67789fa23ccb.tar.gz
android_packages_apps_Dialer-df7f323089af7aebfc29e253b13b67789fa23ccb.tar.bz2
android_packages_apps_Dialer-df7f323089af7aebfc29e253b13b67789fa23ccb.zip
Call recording service implementation, show recordings and allow playback in call history
Change-Id: I56bf6857d87260e20b6a84c4db6e463b0fd87dcc
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/ic_playback_dk.pngbin0 -> 15930 bytes
-rw-r--r--res/drawable-hdpi/ic_playback_stop_dk.pngbin0 -> 15870 bytes
-rw-r--r--res/drawable-mdpi/ic_playback_dk.pngbin0 -> 15593 bytes
-rw-r--r--res/drawable-mdpi/ic_playback_stop_dk.pngbin0 -> 15562 bytes
-rw-r--r--res/drawable-xhdpi/ic_playback_dk.pngbin0 -> 16086 bytes
-rw-r--r--res/drawable-xhdpi/ic_playback_stop_dk.pngbin0 -> 15951 bytes
-rw-r--r--res/layout/call_detail.xml2
-rw-r--r--res/layout/call_detail_history_item.xml7
-rw-r--r--res/values/cm_strings.xml5
-rw-r--r--res/values/config.xml20
10 files changed, 33 insertions, 1 deletions
diff --git a/res/drawable-hdpi/ic_playback_dk.png b/res/drawable-hdpi/ic_playback_dk.png
new file mode 100644
index 000000000..54b4e55fb
--- /dev/null
+++ b/res/drawable-hdpi/ic_playback_dk.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_playback_stop_dk.png b/res/drawable-hdpi/ic_playback_stop_dk.png
new file mode 100644
index 000000000..af58de533
--- /dev/null
+++ b/res/drawable-hdpi/ic_playback_stop_dk.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_playback_dk.png b/res/drawable-mdpi/ic_playback_dk.png
new file mode 100644
index 000000000..4b277e341
--- /dev/null
+++ b/res/drawable-mdpi/ic_playback_dk.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_playback_stop_dk.png b/res/drawable-mdpi/ic_playback_stop_dk.png
new file mode 100644
index 000000000..d9cb874d7
--- /dev/null
+++ b/res/drawable-mdpi/ic_playback_stop_dk.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_playback_dk.png b/res/drawable-xhdpi/ic_playback_dk.png
new file mode 100644
index 000000000..8a5c28df0
--- /dev/null
+++ b/res/drawable-xhdpi/ic_playback_dk.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_playback_stop_dk.png b/res/drawable-xhdpi/ic_playback_stop_dk.png
new file mode 100644
index 000000000..0c5ba2260
--- /dev/null
+++ b/res/drawable-xhdpi/ic_playback_stop_dk.png
Binary files differ
diff --git a/res/layout/call_detail.xml b/res/layout/call_detail.xml
index 969169f25..5f319bcb8 100644
--- a/res/layout/call_detail.xml
+++ b/res/layout/call_detail.xml
@@ -29,7 +29,7 @@
<ListView
android:id="@+id/history"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
/>
diff --git a/res/layout/call_detail_history_item.xml b/res/layout/call_detail_history_item.xml
index 5b3fff712..a5acf5258 100644
--- a/res/layout/call_detail_history_item.xml
+++ b/res/layout/call_detail_history_item.xml
@@ -61,4 +61,11 @@
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?attr/call_log_secondary_text_color"
/>
+
+ <LinearLayout
+ android:id="@+id/recording_playback_layout"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ />
</LinearLayout>
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index c46c989c7..00bd29efc 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -56,4 +56,9 @@
<!-- Forward lookup -->
<string name="nearby_places">Nearby places</string>
<string name="people">People</string>
+
+ <string name="start_call_playback">Play recording</string>
+ <string name="stop_call_playback">Stop</string>
+ <string name="call_playback_error_message">Failed to play recording</string>
+
</resources>
diff --git a/res/values/config.xml b/res/values/config.xml
new file mode 100644
index 000000000..e8b6eca2b
--- /dev/null
+++ b/res/values/config.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2014 The CyanogenMod 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>
+ <bool name="call_recording_enabled">false</bool>
+ <integer name="call_recording_audio_source">1</integer>
+</resources>