summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/app/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/dialer/app/res/xml')
-rw-r--r--java/com/android/dialer/app/res/xml/file_paths.xml3
-rw-r--r--java/com/android/dialer/app/res/xml/searchable.xml22
-rw-r--r--java/com/android/dialer/app/res/xml/sound_settings.xml4
3 files changed, 4 insertions, 25 deletions
diff --git a/java/com/android/dialer/app/res/xml/file_paths.xml b/java/com/android/dialer/app/res/xml/file_paths.xml
index 41522e4c8..0dd41a085 100644
--- a/java/com/android/dialer/app/res/xml/file_paths.xml
+++ b/java/com/android/dialer/app/res/xml/file_paths.xml
@@ -14,7 +14,8 @@
limitations under the License.
-->
-<paths>
+<paths xmlns:tools="http://schemas.android.com/tools"
+ tools:ignore="UnusedResources">
<!-- Offer access to files under Context.getCacheDir() -->
<cache-path name="my_cache"/>
<!-- Offer access to voicemail folder under Context.getFilesDir() -->
diff --git a/java/com/android/dialer/app/res/xml/searchable.xml b/java/com/android/dialer/app/res/xml/searchable.xml
deleted file mode 100644
index 0ea168589..000000000
--- a/java/com/android/dialer/app/res/xml/searchable.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2014 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.
--->
-<searchable xmlns:android="http://schemas.android.com/apk/res/android"
- android:hint="@string/dialer_hint_find_contact"
- android:imeOptions="actionSearch"
- android:inputType="textNoSuggestions"
- android:label="@string/applicationLabel"
- android:voiceSearchMode="showVoiceSearchButton|launchRecognizer"
- /> \ No newline at end of file
diff --git a/java/com/android/dialer/app/res/xml/sound_settings.xml b/java/com/android/dialer/app/res/xml/sound_settings.xml
index 796ed2ec1..d9afb7411 100644
--- a/java/com/android/dialer/app/res/xml/sound_settings.xml
+++ b/java/com/android/dialer/app/res/xml/sound_settings.xml
@@ -25,13 +25,13 @@
android:ringtoneType="ringtone"
android:title="@string/ringtone_title"/>
- <CheckBoxPreference
+ <SwitchPreference
android:defaultValue="false"
android:key="@string/vibrate_on_preference_key"
android:persistent="false"
android:title="@string/vibrate_on_ring_title"/>
- <CheckBoxPreference
+ <SwitchPreference
android:defaultValue="true"
android:key="@string/play_dtmf_preference_key"
android:persistent="false"