Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91b7aecf authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Promotion of android_ui.lnx.2.1-00026.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1076332   Ic8a2e2ea660d17a09ddc124dbfd42083262de041   Fix can copy sim contacts with number more than 40

Change-Id: Ic6c65774fa7f57d905510be18d0ad47df02ba4f7
CRs-Fixed: 1076332
parents a38831ec 2149e35e
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -3367,20 +3367,12 @@ public class QuickContactActivity extends ContactsActivity
                        StringBuilder strAnrNum = new StringBuilder();
                        for (int j = 1; j < arrayNumber.size(); j++) {
                            String s = arrayNumber.get(j);
                            if (s.length() > MoreContactUtils.MAX_LENGTH_NUMBER_IN_SIM) {
                                s = s.substring(
                                        0, MoreContactUtils.MAX_LENGTH_NUMBER_IN_SIM);
                            }
                            strAnrNum.append(s);
                            strAnrNum.append(SimContactsConstants.ANR_SEP);
                        }
                        StringBuilder strEmail = new StringBuilder();
                        for (int j = 0; j < arrayEmail.size(); j++) {
                            String s = arrayEmail.get(j);
                            if (s.length() > MoreContactUtils.MAX_LENGTH_EMAIL_IN_SIM) {
                                s = s.substring(
                                        0, MoreContactUtils.MAX_LENGTH_EMAIL_IN_SIM);
                            }
                            strEmail.append(s);
                            strEmail.append(SimContactsConstants.EMAIL_SEP);
                        }