From ac6461c69e213d66aac61e0c19602a2ac331e84d Mon Sep 17 00:00:00 2001 From: Mikael Danielsson Date: Wed, 10 Feb 2010 11:08:47 +0100 Subject: 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 --- telephony/java/com/android/internal/telephony/IccProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'telephony') 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; } -- cgit v1.1