|
|
@ -987,10 +987,9 @@ public class FragmentAccount extends FragmentBase {
|
|
|
|
db.beginTransaction();
|
|
|
|
db.beginTransaction();
|
|
|
|
|
|
|
|
|
|
|
|
if (account != null && !account.password.equals(password)) {
|
|
|
|
if (account != null && !account.password.equals(password)) {
|
|
|
|
|
|
|
|
String match = "%" + ConnectionHelper.getDomain(account.host);
|
|
|
|
int count = db.identity().setIdentityPassword(
|
|
|
|
int count = db.identity().setIdentityPassword(
|
|
|
|
account.id,
|
|
|
|
account.id, account.user, password, match);
|
|
|
|
account.user, password,
|
|
|
|
|
|
|
|
"%." + ConnectionHelper.getDomain(account.host));
|
|
|
|
|
|
|
|
Log.i("Updated passwords=" + count);
|
|
|
|
Log.i("Updated passwords=" + count);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|