commit | bc630497b490de679b6856801521dc4a36416325 | [log] [tgz] |
---|---|---|
author | Vladislav Kuzkokov <vkuzkokov@google.com> | Fri Feb 23 17:45:21 2018 +0100 |
committer | Vladislav Kuzkokov <vkuzkokov@google.com> | Fri Feb 23 17:49:14 2018 +0100 |
tree | cd4e4f862ad5d0dc84118071e31b0e88d4e249bd | |
parent | 427ef56c0f6f36fbf2f1e5902037a28f4cae09e0 [diff] |
Check printing restriction for correct user. Work profile uses the same instance of PrintManager and DPM as the primary user. We have to explicitly check restriction for calling user. Bug: 73768054 Test: Set restriction in Work profile, check that it applies only in work profile. Change-Id: Iaa63ce000fc84b7d0ee2bd0ff008f1c0f7272a87