summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2020-04-15 13:16:58 -0700
committerjorgegil@google.com <jorgegil@google.com>2020-04-15 14:55:44 -0700
commita72217160d359b6e0dfd7b3ae26ae22c92a83940 (patch)
tree775d94894663890553765811ec62edfaf515f5d0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb86e5a77a1be48a7e80d2f9a0fca3497ba44a30b (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