diff options
author | jorgegil@google.com <jorgegil@google.com> | 2020-04-15 13:16:58 -0700 |
---|---|---|
committer | jorgegil@google.com <jorgegil@google.com> | 2020-04-15 14:55:44 -0700 |
commit | a72217160d359b6e0dfd7b3ae26ae22c92a83940 (patch) | |
tree | 775d94894663890553765811ec62edfaf515f5d0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b86e5a77a1be48a7e80d2f9a0fca3497ba44a30b (diff) |
Fix failing testOnPictureInPictureRequested
Fixes an issue where relying on a spy of ClientLifecyleManager caused
the test to fail with a TooManyActualInvocations error because
scheduleTransaction() was getting called more than once by mockito.
This change replaces the lifecyle manager spy with a mock.
Bug: 153709777
Test: atest WmTests:ActivityTaskManagerServiceTests
Change-Id: I5dfa780e28dabc4d634ef45667eb3688d07361b2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions