Pass JNIEnv explicitly into AInputQueue_fromJava

Instead of assuming a JNIEnv*, the method should have the env passed
into it, which is the standard practice for native APIs.

Bug: 210727635
Test: atest InputQueueTest
Change-Id: I94d168e9370aed2081912971b82c472e18c65f12
1 file changed