Skip to content
Snippets Groups Projects
Commit 9e0015da authored by Alexandre Savard's avatar Alexandre Savard
Browse files

#16114: Fix account list update when opening the account creation window several time

parent f7f9e0bd
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,10 @@ public class AccountManagementFragment extends PreferenceFragment
try {
for(String s : accountList) {
Log.i(TAG, " set details for " + s);
service.setAccountDetails(s, mAccountList.get(s));
HashMap<String, String> accountDetails = mAccountList.get(s);
if(accountDetails != null) {
service.setAccountDetails(s, accountDetails);
}
}
} catch (RemoteException e) {
Log.e(TAG, "Cannot call service method", e);
......
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