summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/contacts/detail
diff options
context:
space:
mode:
authorAdnan <adnan@cyngn.com>2015-04-08 14:16:13 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-04-09 19:03:59 +0000
commita656094ae2da0de29a90796efe395cbb13856a63 (patch)
tree39cf9485a68b6c5aed1812682b25231c13a2bb3c /tests/src/com/android/contacts/detail
parent8156e92c5f389be9f7febbbda4b394af01322ed9 (diff)
downloadpackages_apps_Contacts-a656094ae2da0de29a90796efe395cbb13856a63.tar.gz
packages_apps_Contacts-a656094ae2da0de29a90796efe395cbb13856a63.tar.bz2
packages_apps_Contacts-a656094ae2da0de29a90796efe395cbb13856a63.zip
Contacts: Give progress updates and fix copy to sim if mAdnCache is empty.
On a fresh boot, the adn cache within PhoneBookManager will be empty, and thus any query through MoreContactUtils helper will return no space available for sim contacts. Thus, do a blocking query for the sim uri, which will only return a cursor when EF files are loaded the from SIM. While blocking, give indeterminate progress updates. This will only query if there's a valid SIM in the SIM slot. Change-Id: I2d60ef988b9bfc917512d12ad2647bba2b2afe08
Diffstat (limited to 'tests/src/com/android/contacts/detail')
0 files changed, 0 insertions, 0 deletions