Refactor the user restrictions listener to use a set of changes to user
restrictions.

Change-Id: I75eabfd4ca3654bb2ac9f1cf164865105400bce5
Fixes: 117104028
Test: manual.
1 file changed