OSDN Git Service

Properly destroy TrustAgentWrapper when not bound
authorAdrian Roos <roosa@google.com>
Tue, 11 Nov 2014 11:55:44 +0000 (12:55 +0100)
committerAdrian Roos <roosa@google.com>
Wed, 12 Nov 2014 11:30:36 +0000 (11:30 +0000)
commitfc29e0b5829034d9c0a60882d2a21606b2f513b1
treed0fd18dd07ab0fc83023b9a7bcd76d856768d99c
parentb724314516dc15ab7afb62f7a6e63d94f4022011
Properly destroy TrustAgentWrapper when not bound

Also fixes a potential issue where refreshing agents
for a user that no longer exists would result in a crash.

Bug: 18318629
Change-Id: I3589ea7e0f2e63fca02daeecf3ca964a8a8e4b3b
services/core/java/com/android/server/trust/TrustAgentWrapper.java
services/core/java/com/android/server/trust/TrustManagerService.java