diff options
author | Shareef Ali <shareefalis@cyanogenmod.org> | 2013-07-22 07:23:01 -0500 |
---|---|---|
committer | Shareef Ali <shareefalis@cyanogenmod.org> | 2013-07-22 18:44:48 -0500 |
commit | b8df474ca91b859d92009e400926f2ddbd2e21fd (patch) | |
tree | f24f8ecb6d070e8f83cacda69f3e87a3fcb67861 | |
parent | 1c37d0a0f25c3d4fbd16fee4849be1ff7237b01b (diff) | |
download | frameworks_opt_telephony-b8df474ca91b859d92009e400926f2ddbd2e21fd.zip frameworks_opt_telephony-b8df474ca91b859d92009e400926f2ddbd2e21fd.tar.gz frameworks_opt_telephony-b8df474ca91b859d92009e400926f2ddbd2e21fd.tar.bz2 |
SamsungQualcommRIL: add more carrier numbers
Change-Id: I2aa3f4146575329c6fefb259b099371080842dab
-rw-r--r-- | src/java/com/android/internal/telephony/SamsungQualcommRIL.java | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/java/com/android/internal/telephony/SamsungQualcommRIL.java b/src/java/com/android/internal/telephony/SamsungQualcommRIL.java index 8aa988b..996fbd1 100644 --- a/src/java/com/android/internal/telephony/SamsungQualcommRIL.java +++ b/src/java/com/android/internal/telephony/SamsungQualcommRIL.java @@ -503,14 +503,14 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface { if (i<2){ if (response[i].equals(" Empty") || (response[i].equals("") && !isGSM)) response[i]=operator; - else if (response[i].equals("23410")||response[i].equals("26207")) + else if (response[i].equals("23410")||response[i].equals("26207")||response[i].equals("23002")) response[i]="O2"; - else if (response[i].equals("310260") || response[i].equals("23430")|| response[i].equals("23203")||response[i].equals("26201")) + else if (response[i].equals("310260") || response[i].equals("23430")|| response[i].equals("23203")||response[i].equals("26201")||response[i].equals("23001")) response[i]="T-Mobile"; else if (response[i].equals("23201")) response[i]="A1"; - else if (response[i].equals("22210")) - response[i]="Vodafone Italia"; + else if (response[i].equals("22210")||response[i].equals("23003")) + response[i]="Vodafone"; else if (response[i].equals("20810")) response[i]="SFR"; else if (response[i].equals("20801")||response[i].equals("23205")) @@ -543,6 +543,18 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface { response[i]="Optimus"; else if (response[i].equals("21910")) response[i]="VIPnet"; + else if (response[i].equals("22201")) + response[i]="TIM"; + else if (response[i].equals("22299")) + response[i]="H3G"; + else if (response[i].equals("29340")) + response[i]="Si.mobil"; + else if (response[i].equals("29341")) + response[i]="Mobitel"; + else if (response[i].equals("29364")) + response[i]="T-2"; + else if (response[i].equals("29370")) + response[i]="Tušmobil"; } else if (response[i].equals("31000")|| response[i].equals("11111") || response[i].equals("123456") || response[i].equals("31099") || (response[i].equals("") && !isGSM)) response[i]=homeOperator; |