diff options
author | Alex Light <allight@google.com> | 2018-11-06 14:15:54 -0800 |
---|---|---|
committer | Alex Light <allight@google.com> | 2018-11-06 14:15:54 -0800 |
commit | 84faaf8ec65501dfbd727afc4c74a39ccaf9d187 (patch) | |
tree | a7b4d643d0b7281d9d1b5874d98b60abcd2f48ed /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a4680e1ebe242f0f46fe1233328c2d2ba03b6757 (diff) |
Correct illegal mockito usage.
According to the mockito FAQ use of thenReturn(mock(...)) is
forbidden. This fixes that pattern in the setup for
ZenModeFilteringTest.
https://github.com/mockito/mockito/wiki/FAQ#can-i-thenreturn-an-inlined-mock-
Test: runtest systemui-notification
Bug: 119063276
Change-Id: Ic62b18063e5837240255e1dd0f5e0feb450f22cb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions