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

Skip to content
Commit 5f2688d4 authored by Yujing Gu's avatar Yujing Gu Committed by Linux Build Service Account
Browse files

PhoneBook: add ANR/EMAIL support for sim card.

1. Add multi-EF_ANR/EF_EMAIL support for each ADN record.
2. Add the related interfaces for getting count of ADN,ANR,EMAIL
    - getAdnCountUsingSubId
    - getAnrCountUsingSubId
    - getEmailCountUsingSubId
    - getSpareAnrCountUsingSubId
    - getSpareEmailCountUsingSubId
3. Support loading part records in IccFileHandler.
4. Use updateIccRecordInEf for all update/insert/delete operations.
    - add updateAdnRecordsWithContentValuesInEfBySearchUsingSubId for
      updating IccRecord
5. Cleanup some unused codes.
6. Fix SIM contact email saving error.
7. Correct max len when build ANR data.
8. Fix phonebook records overwritten and email data lenth issues.
9. Fix exception when copying email data.
10.Fix email/anr issues of format of values is not standard.
11.Fix phonebook records overwritten and email data lenth issues.
12.Fix getting wrong adn count issue with CSIM/ISIM.
13.Move main thread in IPBIM to other thread to fix deadlock.
When thread A waits to get result A from main thread in
IccPhoneBookInterfaceManager (IPBIM), its lock in IPBIM is released.
So thread B holds this lock to query PB to post message to main
thread in UsimPhoneBookManager to get result B. Then result A
returns into main thread in IPBIM, it acquires lock in IPBIM to
notify thread A, but this lock in IPBIM is held by thread B.
Thread B also waits to get result B from main thread in
UsimPhoneBookManager, deadlock occurs.

CRs-Fixed: 611589 645605 739292 768920 778802 773847 774027 774290
CRs-Fixed: 596605 837202

cherry-pick from I282650251b98317a4a2bf59d61adad66a30cc9c9
cherry-pick from I4773d36b4bfd1a1e938bd084e7aa649797f0b76d
cherry-pick from Ic9b85b8cdf28891fbafe4609217fa57010c4a3bc
cherry-pick from Ic469cff4d6b83cfcda96a77f7a70ca542a198350
cherry-pick from I893555d282231700ee7cd94fe6cb61af9e14bd9a
cherry-pick from I833371a9280c51ad3823277510642ff9ef623e95
cherry-pick from I4773d36b4bfd1a1e938bd084e7aa649797f0b76d
cherry-pick from I0007e63c2b1126228384709e70af4fdff4d5be15

Change-Id: I282650251b98317a4a2bf59d61adad66a30cc9c9
parent 6ad5c9d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment