Merge pull request #1384 from nextcloud/hardenPopulateUserInfoUi

Hardening of UserInfoActivity.populateUserInfoUi
This commit is contained in:
Andy Scherzinger 2017-08-21 09:49:50 +02:00 committed by GitHub
commit e1f82dd3f7
2 changed files with 2 additions and 2 deletions

View file

@ -1,2 +1,2 @@
DO NOT TOUCH; GENERATED BY DRONE
<span class="mdl-layout-title">Lint Report: 1 error and 563 warnings</span>
<span class="mdl-layout-title">Lint Report: 1 error and 520 warnings</span>

View file

@ -312,7 +312,7 @@ public class UserInfoActivity extends FileActivity {
DisplayUtils.setAvatar(account, UserInfoActivity.this,
mCurrentAccountAvatarRadiusDimension, getResources(), getStorageManager(), avatar);
int tint = Color.parseColor(getStorageManager().getCapability(account.name).getServerColor());
int tint = ThemeUtils.primaryColor(account);
if (userInfo != null) {
if (!TextUtils.isEmpty(userInfo.getDisplayName())) {