diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2016-08-25 15:09:22 -0700 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2016-08-26 00:27:05 +0000 |
commit | d9543578609c6035aa97844b45143a2ce6ff1bfe (patch) | |
tree | 2685b0efe64d9de09c7813fcf2a63bd37b6b1e62 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 5d146ccdb8c5adad9a80f1d0d8563d18e5629411 (diff) |
Fix AccountManagerServiceTest
Unregister AccountManagerInternal before creating a new instance of
AccountManagerService, otherwise it will cause:
java.lang.IllegalStateException: Overriding service registration
Also overrode MockPm.addOnPermissionsChangeListener to be a noop and
not throw an exception.
Bug: 31071079
Change-Id: I0d24232eba655a68bf3fb38d7aa9edb92d469cea
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions