diff options
author | Kevin Han <kevhan@google.com> | 2021-02-01 13:29:50 -0800 |
---|---|---|
committer | Kevin Han <kevhan@google.com> | 2021-02-03 18:13:34 -0800 |
commit | 6669dec038ffe7a4a328687d73562bfe7600cf0d (patch) | |
tree | e02acb9899f369aa289179754c9c912c2cf1a5bd /keystore/java/android/security/KeyStoreSecurityLevel.java | |
parent | 89575897ca78603ca9ab64877e1f72e7a5cfb459 (diff) |
Move AppHibernationServices dependencies to injector
Similar to other system services, we move AppHibernationService's
dependencies to an injector class that can be mocked for testing so that
we minimize side-effects in unit tests
Also, add @GuardedBy annotations instead of having an L at the end of
method names since this is exactly what the annotation is for.
Bug: 175829330
Test: atest AppHibernationServiceTest
Change-Id: Iec51a349ff898923bacf6040c3ebccefa8831a68
Diffstat (limited to 'keystore/java/android/security/KeyStoreSecurityLevel.java')
0 files changed, 0 insertions, 0 deletions