summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2016-03-11 16:13:49 -0800
committerDanesh M <daneshm90@gmail.com>2016-03-11 16:22:12 -0800
commit3b52dc772ec8dd8770e40b283fbc112264df8a00 (patch)
tree9f7efa7f9b09e602739e06292ff88cb251d88d51
parent65e4ac5d30b316328ebbeb0589809ca2a84e2b3d (diff)
downloadpackages_providers_ContactsProvider-3b52dc772ec8dd8770e40b283fbc112264df8a00.tar.gz
packages_providers_ContactsProvider-3b52dc772ec8dd8770e40b283fbc112264df8a00.tar.bz2
packages_providers_ContactsProvider-3b52dc772ec8dd8770e40b283fbc112264df8a00.zip
ContactsProvider : Hard code group resource ids
Group names for the current locale are fetched via resource ids that are persisted in the database. Resource ids can easily change as they are incrementally generated. Resolve this by hard coding the resource id. CYNGNOS-2174 Change-Id: If876acb604a44721e8930f7e1d1efd6e752d3d46
-rw-r--r--res/values/public.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/values/public.xml b/res/values/public.xml
new file mode 100644
index 00000000..7bed6506
--- /dev/null
+++ b/res/values/public.xml
@@ -0,0 +1,20 @@
+<?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>
+ <public type="string" name="group_title_co_workers" id="0x7f050010" />
+ <public type="string" name="group_title_family" id="0x7f050011" />
+ <public type="string" name="group_title_friends" id="0x7f050012" />
+</resources>