summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorMikael Danielsson <mikael2.danielsson@sonyericsson.com>2010-02-10 11:08:47 +0100
committerJean-Baptiste Queru <jbq@google.com>2010-05-10 16:30:02 -0700
commitac6461c69e213d66aac61e0c19602a2ac331e84d (patch)
treec47a1f10c35a768e7ac53ac27d4aca9275779747 /telephony
parent855a9e6d12e4d42efe336535f9fdf5fc2e14c5d5 (diff)
downloadframeworks_base-ac6461c69e213d66aac61e0c19602a2ac331e84d.zip
frameworks_base-ac6461c69e213d66aac61e0c19602a2ac331e84d.tar.gz
frameworks_base-ac6461c69e213d66aac61e0c19602a2ac331e84d.tar.bz2
Abort FDN delete when number is empty (instead of name)
Changed FDN delete to abort when number is empty rather than when name is empty 3GPP TS 31.102 (USIM application) v9.1.0 states in chapter 4.2.24 EFFDN (Fixed Dialling Number) that the Dialling Number field is mandatory whereas the Alpha Identifier is optional. The current implementation of the user interface for editing the fixed dialling list blocks creation and deletion list entries without a name (corresponding to the Alpha Identifier) but instead permits entries without a number. This is incompatible with the USIM specification and implementation. This contribution corrects the implementation in line with the USIM specification. Change-Id: I7e2ca06e20401b517d705fc45c8b873b5c21cc4c
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/internal/telephony/IccProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/IccProvider.java b/telephony/java/com/android/internal/telephony/IccProvider.java
index 8b54ca8..ff0eca9 100644
--- a/telephony/java/com/android/internal/telephony/IccProvider.java
+++ b/telephony/java/com/android/internal/telephony/IccProvider.java
@@ -273,7 +273,7 @@ public class IccProvider extends ContentProvider {
}
}
- if (TextUtils.isEmpty(tag)) {
+ if (TextUtils.isEmpty(number)) {
return 0;
}