Use the right userId when setting restrictions

Bug: 27457164
Change-Id: I9528b637cb0bc3f737458e078725f73666bd0d7d
1 file changed