commit | a72217160d359b6e0dfd7b3ae26ae22c92a83940 | [log] [tgz] |
---|---|---|
author | jorgegil@google.com <jorgegil@google.com> | Wed Apr 15 13:16:58 2020 -0700 |
committer | jorgegil@google.com <jorgegil@google.com> | Wed Apr 15 14:55:44 2020 -0700 |
tree | 775d94894663890553765811ec62edfaf515f5d0 | |
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