diff options
author | Charles Chen <charlesccchen@google.com> | 2020-11-17 17:24:15 +0800 |
---|---|---|
committer | Charles Chen <charlesccchen@google.com> | 2020-11-25 15:55:10 +0800 |
commit | 44409a0efb17744346ae2a7014637fa32c01ffce (patch) | |
tree | abf77e714075def2fd469d1f29776c0792ea89ed /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 857df8d6c83dbfba460af44018887852e5971f4f (diff) |
Use the secondary display for InputMethodMenuControllerTest
After [1] merged, mDisplayContent is assigned to mDefaultDisplay
if the test is not marked as @UseTestDisplay.
However, the CL to introduce testGetSettingsContext wasn't aware of
the change and didn't test the behavior of switching displays.
This CL creates a test display and also mock some methods to
verify the behavior.
[1]: f8d8aea425f423db701edbff2724557d309c7509
fixes: 173491267
Test: atest InputMethodMenuControllerTest
Change-Id: Ie5ee0f1c781a20d0b97b1a948cb44dcb120b81ae
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions