commit | cfc5d19eb65fb26c7de13e16d511da534a8a2322 | [log] [tgz] |
---|---|---|
author | Bookatz <bookatz@google.com> | Tue Nov 05 17:25:53 2019 -0800 |
committer | Bookatz <bookatz@google.com> | Thu Nov 07 11:00:18 2019 -0800 |
tree | 710b759da61d4aad68058499579d4d992fd82e40 | |
parent | bbf394bf195d001a810e381492a107e91f1f0f25 [diff] |
Fix isSetWallpaperAllowed secondary user isSetWallpaperAllowed calls hasUserRestriction which has a permission check that was violated because isSetWallpaperAllowed was calling from the wrong user (the system rather than the original caller). Bug: 143958690 Test: Go to seconary user and try to change wallpaper Change-Id: I42f8ed17fb76cb6f84d0c11266f163356656c0ac