diff options
author | Danny Baumann <dannybaumann@web.de> | 2014-11-12 17:14:27 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-13 09:01:09 +0100 |
commit | e2bdd4895c967771c6c31b4a037cbd85092e4abf (patch) | |
tree | 4c2e398eef74ce372d395570374315916d9f15ae /res/menu | |
parent | 925bfff09a29db5d2f5ae1e852c71a82173b9414 (diff) | |
download | packages_apps_Settings-e2bdd4895c967771c6c31b4a037cbd85092e4abf.zip packages_apps_Settings-e2bdd4895c967771c6c31b4a037cbd85092e4abf.tar.gz packages_apps_Settings-e2bdd4895c967771c6c31b4a037cbd85092e4abf.tar.bz2 |
Add back blacklist settings.
Change-Id: Iae35717acfa9af4da75c07d24352acf981d19fc7
Improve translatability of summaries.
Change-Id: I362b335cbe219d6e371a458c9d50fcd66bdf19fe
Settings: Alert user when they attempt to add an invalid number to BL.
- BlacklistProvider will reject numbers that aren't valid, silently. So instead of
resuming to a blank screen, we should alert the user that the number they attempted to
add is invalid by utilizing BlacklistUtils#addOrUpdate method.
Change-Id: I1ca32427baad41c1c9379e18046e6ca7937b6d32
Add missing blacklist xxhdpi drawables.
Change-Id: I327f408ff344e9358c479cf5fe9dc341918511b2
Blacklist: Fix launching blacklist settings
Change-Id: I0043503e6ac0d3536941394ee5057001b72f9114
Settings : Launch only contacts picker for blacklist entry
Change-Id: I266d1ad7f1aab745728b33490268cb197188f2b3
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/blacklist.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/res/menu/blacklist.xml b/res/menu/blacklist.xml new file mode 100644 index 0000000..a3d294e --- /dev/null +++ b/res/menu/blacklist.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 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. +--> + +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:id="@+id/blacklist_add" + android:title="@string/add_blacklist_number" + android:icon="@drawable/ic_menu_add" + android:showAsAction="ifRoom|withText" /> + <item + android:id="@+id/blacklist_prefs" + android:title="@string/blacklist_prefs" + android:icon="@drawable/ic_sysbar_quicksettings" + android:showAsAction="ifRoom|withText" /> +</menu> |