diff options
author | chaviw <chaviw@google.com> | 2018-12-19 10:49:38 -0800 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2018-12-19 10:49:38 -0800 |
commit | 33a82e2a09925170a96008c6f17d1ce881e0fd84 (patch) | |
tree | 8b6c91d1f67ef9ba6b7482ce603f1ecd1d9b7be5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4895d8f0fc69e9c6ca912b1a1eac6efcb08d04db (diff) |
Fix TaskPositioningControllerTests test
TaskPositioningControllerTests test was calling into the JNI method
setInputWindowInfo. JNI methods aren't fully supported when running unit tests so
it was causing the process to crash. The JNI method was being called
from InputMonitor which is not needed for these tests. Instead, mock out
InputMonitor to avoid calling into the JNI methods.
Change-Id: I805d6e94bf8f02f073726d36324050dc3dcec016
Fixes: 120697761
Test: TaskPositioningControllerTests pass
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions