commit | d9543578609c6035aa97844b45143a2ce6ff1bfe | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Thu Aug 25 15:09:22 2016 -0700 |
committer | Fyodor Kupolov <fkupolov@google.com> | Fri Aug 26 00:27:05 2016 +0000 |
tree | 2685b0efe64d9de09c7813fcf2a63bd37b6b1e62 | |
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