commit | 9a944532af0f07d8b916556d229c21d3eda91a59 | [log] [tgz] |
---|---|---|
author | Jason Monk <jmonk@google.com> | Tue Jul 08 09:31:21 2014 -0400 |
committer | Jason Monk <jmonk@google.com> | Tue Jul 08 13:57:42 2014 +0000 |
tree | f76725bc520f91880ef735f88ceb4e6739c405dd | |
parent | 4c8d3149aeb921b002c3c0ee40e7d04b3ae092c5 [diff] |
Fix UserManagerService.setUserIcon throwing expt. setUserIcon sends a broadcast that requires INTERACT_ACROSS_USERS. Since the function directly checks MANAGE_USERS permission, added a clear calling identity. Alternative solution would be to make function check for one of INTERACT_ACROSS_USERS permissions before performing any actions. Change-Id: Ibbf27d4e188d059671024e4bb62f92a2daea3661