OSDN Git Service

Settings : Add country code to blacklist entry dialog
authorDanesh M <danesh@cyngn.com>
Mon, 20 Jun 2016 21:23:39 +0000 (14:23 -0700)
committerDanesh M <danesh@cyngn.com>
Mon, 27 Jun 2016 21:55:01 +0000 (14:55 -0700)
commit50af72b7caacb7ca4274efeec0a16e2dda84ff80
treee1c30b9b88947d4f61f3fc0ce9ada8302a5ce51c
parent923b2a1a3422c2601b94c901a2576da20b3f4b92
Settings : Add country code to blacklist entry dialog

Enforce country code when adding an entry. If the user has regex enabled,
* is added to the list as a choice. This avoids the confusion users are currently
facing where blocking only the number + regex doesn't work, since country code is expected.

Eg :

206* won't work
+1206* works

CYNGNOS-3049
BACON-4953

Change-Id: I9236898f17fcef425e561aaa10e56c5e8c2171a7
Android.mk
res/layout/dialog_blacklist_edit_entry.xml
res/values/cm_strings.xml
src/com/android/settings/blacklist/EntryEditDialogFragment.java