How to call the native method of the system when the method is deleted on the android-P version?

the original function is to open a service in which a transparent activity records the user"s operation steps

IBinder wmbinder = ServiceManager.getService(Context.WINDOW_SERVICE);
mWindowManager = IWindowManager.Stub.asInterface(wmbinder);

after getting IWindowManager.aidl , call the monitorInputExternal (String InputChannelName) method (as below) to generate an InputChannel name (client)
here it is marked as method 1

mInputChannel = mWindowManager.monitorInputExternal(name);

but after the P version, method 1 is deleted in aidl
this IWindowManager.aidl only provides monitorSideTouchInputExternal (String InputChannelName) method

this is marked as method 2

mInputChannel = mWindowManager.monitorSideTouchInputExternal(name);

in this way, the onInputEvent () method in the InputEventReceiver custom class can only respond to the touch event of the callback sidebar (the P version of the phone has the function of the sidebar). The touch event of the main screen interface will not call back this method

but the method finally called by method 1 monitorInput (String inputChannelName) can be found in the source code InputManagerService.java (there is no such class in framework.jar, but the server.jar is obtained by other methods). If this method is called, the native method nativeRegisterInputChannel (mPtr, inputChannels [0], null, true);

is called.

will report the following error
java.lang.UnsatisfiedLinkError: No implementation found for long com.android.server.input.InputManagerService.nativeInit.

how to handle this situation or how to call the system"s native method in the code

Mar.19,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3df28-44774.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3df28-44774.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?