Notify InputListener when there an changes to input devices
There are now more than one input listener stages that need to know when the devices change. Notify listeners directly instead of routing it through the policy. Bug: 275726706 Test: atest inputflinger_tests Change-Id: I61549260e538bfd32e98c78c631b0142b85136df
This commit is contained in:
@@ -760,7 +760,6 @@ void NativeInputManager::ensureSpriteControllerLocked() REQUIRES(mLock) {
|
||||
|
||||
void NativeInputManager::notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) {
|
||||
ATRACE_CALL();
|
||||
mInputManager->getBlocker().notifyInputDevicesChanged(inputDevices);
|
||||
JNIEnv* env = jniEnv();
|
||||
|
||||
size_t count = inputDevices.size();
|
||||
|
||||
Reference in New Issue
Block a user