commit | c994d693b684bcba1a690310b5b2be306074cc02 | [log] [tgz] |
---|---|---|
author | Andy Stadler <stadler@google.com> | Wed Jun 01 15:30:54 2011 -0700 |
committer | Andy Stadler <stadler@google.com> | Wed Jun 01 15:30:54 2011 -0700 |
tree | 0bcf49f679e1977f1854e018be97403a1a0afb41 | |
parent | 829de65b9aa8d59cff7d8b4acd6c89682a1952a5 [diff] |
Use unchecked admin lookup for getStorageEncryption() Due to a copy/paste typo, getStorageEncryption() was protected by getActiveAdminForCallerLocked(), which made the API unreadable if the caller is not an admin. This doesn't match the rest of the DPM API which allows the "get" calls to be made anonymously. This fix supercedes the proposed workaround CL in the DPM ApiDemo sample. Change-Id: If1a6237634e97ced09a7c6a8876bb6b0f60c9be9