Skip to content
Commit 33a82e2a authored by chaviw's avatar chaviw
Browse files

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
parent 4895d8f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment