diff options
author | Ram Periathiruvadi <ramperry@google.com> | 2019-02-19 13:25:46 -0800 |
---|---|---|
committer | Ram Periathiruvadi <ramperry@google.com> | 2019-03-08 13:21:02 -0800 |
commit | 32d5355b4d8f81013a8ca4f826b1516f0b96c8bc (patch) | |
tree | d6e62a8b54b44ad6607d8339583730e1ac75f982 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 30a4df94540e0f01dfe8f6ac06f4b87c0b5efa18 (diff) |
Notify the TrustAgent when the token is activated.
Previously, the agent will have to query the TrustManager to see if a
recently added escrow token has been activated. If the agent asked too
soon about the token state, then the result could be inactive. That
will be hard to distinguish from when the token is actually inactive
because activation failed.
This change pipes the call from LockSettings to the TrustAgentService
through the TrustManager when the token is activated. So, the trust
agent doesn't have to query, it just gets notified.
Bug: 124312230
Test: Observe the onTokenStateReceived() callback received on the trust
agent.
Change-Id: I0ac674219fd7925ba36f50bb695c9998c18226f7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions