When updating another user's avatar don't save icon into our home

Authored by davidedmundson on Jan 13 2017, 3:27 PM.

Description

When updating another user's avatar don't save icon into our home

Summary:
We want to save the face using AccountsService, but for backwards
compatibility we also save the icon into ~/.face for old
apps/DisplayManagers that still expect that.

This works when setting a face as the current user, but doesn't make
sense when setting the icon of another user.

We can't fix it to write into another user's home, so instead of trying
just skip that step and only update AccountsService.

BUG: 365662
BUG: 360005
BUG: 371663

Test Plan:
Changed my user's avatar. AccountsService updated ~/.face updated

Changed another user's avatar from my account. Accounts service updated, ~/.face was
unchanged

Reviewers: Plasma, mart

Reviewed By: mart

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D4036

Details

Committed
davidedmundsonJan 13 2017, 3:27 PM
Reviewer
mart
Differential Revision
D4036: When updating another user's avatar don't save icon into our home
Parents
R128:1155c3a33760: Update version number for 5.8.95 GIT_SILENT
Branches
Unknown
Tags
Unknown