diff options
author | Rohit Yengisetty <rohit@cyngn.com> | 2015-07-28 10:19:24 -0700 |
---|---|---|
committer | Rohit Yengisetty <rohit@cyngn.com> | 2015-08-19 16:17:05 -0700 |
commit | f28f4ef80548ef76a0565bcd9f329a5b21c3eef0 (patch) | |
tree | 851b17bb202ef4d267b58449d0a5a8d4778fb489 /src/com/android/contacts/common/util/AccountSelectionUtil.java | |
parent | 160f4dc6ef752b7d100de1df73a530109d83269c (diff) | |
download | android_packages_apps_ContactsCommon-f28f4ef80548ef76a0565bcd9f329a5b21c3eef0.tar.gz android_packages_apps_ContactsCommon-f28f4ef80548ef76a0565bcd9f329a5b21c3eef0.tar.bz2 android_packages_apps_ContactsCommon-f28f4ef80548ef76a0565bcd9f329a5b21c3eef0.zip |
SelectAccountActivity : Support local phone account
Selecting the local phone account wasn't doing anything. An issue
was reported wherein importing vcf file to local phone account
doesn't work. ImportVCardActivity doesn't get the local phone account
even though the user selected it in account-selection dialog.
[CYNGNOS-399]
Change-Id: Ie7534e1046c29b96807735c1caa307acca3de66b
Diffstat (limited to 'src/com/android/contacts/common/util/AccountSelectionUtil.java')
-rw-r--r-- | src/com/android/contacts/common/util/AccountSelectionUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/contacts/common/util/AccountSelectionUtil.java b/src/com/android/contacts/common/util/AccountSelectionUtil.java index 380e6243..055be2a9 100644 --- a/src/com/android/contacts/common/util/AccountSelectionUtil.java +++ b/src/com/android/contacts/common/util/AccountSelectionUtil.java @@ -131,7 +131,7 @@ public class AccountSelectionUtil { DialogInterface.OnClickListener onClickListener, DialogInterface.OnCancelListener onCancelListener, boolean includeSIM) { final AccountTypeManager accountTypes = AccountTypeManager.getInstance(context); - List<AccountWithDataSet> writableAccountList = accountTypes.getAccounts(true); + List<AccountWithDataSet> writableAccountList; if (includeSIM) { writableAccountList = accountTypes.getAccounts(true); } else { |