summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorAndy Stadler <stadler@google.com>2011-06-02 16:37:39 -0700
committerAndy Stadler <stadler@google.com>2011-06-02 16:37:39 -0700
commit237574444b311f2f4d23c62f63162f77d34f10bc (patch)
tree6efe7fcbeb3e424fcb2bb30594b58cf80d3f3baa /tools/aidl/generate_java.cpp
parenta86290891a661ecdc8115fd441b44dcebedb9e3d (diff)
DO NOT MERGE 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. Backport of: If1a6237634e97ced09a7c6a8876bb6b0f60c9be9 Change-Id: I728b2d85878b7c73a063c906529f0d973e166b49
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions