summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-01-14 17:20:43 -0800
committerAdnan Begovic <adnan@cyngn.com>2016-01-18 10:19:12 -0800
commit2b515af28c95443419ec721ff023b678600c75cc (patch)
tree9f55e93b042a2e5285b4403de141d625c4f13705 /res/values
parent2e34d8650ba42dd59f2beb7fc7f7b80c5127f790 (diff)
downloadpackages_apps_Messaging-2b515af28c95443419ec721ff023b678600c75cc.zip
packages_apps_Messaging-2b515af28c95443419ec721ff023b678600c75cc.tar.gz
packages_apps_Messaging-2b515af28c95443419ec721ff023b678600c75cc.tar.bz2
Messaging: Implement option for swipe to delete.
No one wants to swipe to archive, that's stupid. Change-Id: I7dcf767bdc45aee73949a2f03160775a2b887011
Diffstat (limited to 'res/values')
-rw-r--r--res/values/cm_constants.xml25
-rw-r--r--res/values/cm_strings.xml1
2 files changed, 26 insertions, 0 deletions
diff --git a/res/values/cm_constants.xml b/res/values/cm_constants.xml
new file mode 100644
index 0000000..b664dd0
--- /dev/null
+++ b/res/values/cm_constants.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 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>
+
+ <!-- Preference keys for user-visible settings -->
+ <!-- Application-wide settings -->
+ <string name="swipe_deletes_conversation_key" translatable="false">swipe_deletes_conversation</string>
+
+ <!-- This should really go into a config xml, but whoever wrote this app is an idiot, so follow their pattern -->
+ <bool name="swipe_deletes_conversation_default" translatable="false">false</bool>
+</resources>
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 45c9605..4778246 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -22,4 +22,5 @@
<string name="pref_unicode_stripping_leave_intact">Leave characters intact</string>
<string name="pref_unicode_stripping_non_encodable">Strip non-encodable characters</string>
<string name="pref_unicode_stripping_all">Strip all unicode characters</string>
+ <string name="swipe_deletes_conversation_text">Swipe deletes conversation</string>
</resources>