OSDN Git Service

Improve TrustManagerService user lifecycle
authorAdrian Roos <roosa@google.com>
Tue, 28 Oct 2014 19:16:12 +0000 (20:16 +0100)
committerAdrian Roos <roosa@google.com>
Mon, 3 Nov 2014 17:07:11 +0000 (18:07 +0100)
commitcbe614ff7d8770ddc01f1c7b048d9fe5d21a2dce
treec04d81560f8944c3e6d689b30346835000c6a54c
parent808fe6f99fba753e0ec4c5e90de0ff7a2140e8a6
Improve TrustManagerService user lifecycle

- Only bind agents of running users
- Explicitly clean up state when users are removed
- Delay binding until third-party apps can actually run

Bug: 18102460
Change-Id: I5017adc1634b249068099fc5779ba95904312438
services/core/java/com/android/server/trust/TrustManagerService.java