commit | 369d65653399f01e83a6cbb6dfa4eb7b356af648 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Thu Jun 04 17:58:11 2015 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Thu Jun 04 17:58:11 2015 -0700 |
tree | 3c7a318ee8128ea5f6ec5180b4abfbec0c69ad08 | |
parent | 5c56f74527d4d5c8c92c95e7e47319d2324bdb4d [diff] |
Fix permission check in DPM.getPermissionGrantState It was querying for permission of user 0 instead of the calling user. Switched to passing in the explicity userId. Also set the flags before granting/revoking permission from DPM. Bug: 21430988 Change-Id: Id0d2dc65e20108cefa3eeb4363f866d49c791cc4