Merge changes from topics "NotifyInputDevicesChangedArgs", "dump-from-inputmanager" into udc-dev
* changes: Dump all native input components from InputManager Notify InputListener when there an changes to input devices
This commit is contained in:
committed by
Android (Google) Code Review
commit
d43a6541a3
@@ -485,17 +485,7 @@ void NativeInputManager::dump(std::string& dump) {
|
|||||||
}
|
}
|
||||||
dump += "\n";
|
dump += "\n";
|
||||||
|
|
||||||
mInputManager->getReader().dump(dump);
|
mInputManager->dump(dump);
|
||||||
dump += "\n";
|
|
||||||
|
|
||||||
mInputManager->getBlocker().dump(dump);
|
|
||||||
dump += "\n";
|
|
||||||
|
|
||||||
mInputManager->getProcessor().dump(dump);
|
|
||||||
dump += "\n";
|
|
||||||
|
|
||||||
mInputManager->getDispatcher().dump(dump);
|
|
||||||
dump += "\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool NativeInputManager::checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) {
|
bool NativeInputManager::checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) {
|
||||||
@@ -760,7 +750,6 @@ void NativeInputManager::ensureSpriteControllerLocked() REQUIRES(mLock) {
|
|||||||
|
|
||||||
void NativeInputManager::notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) {
|
void NativeInputManager::notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) {
|
||||||
ATRACE_CALL();
|
ATRACE_CALL();
|
||||||
mInputManager->getBlocker().notifyInputDevicesChanged(inputDevices);
|
|
||||||
JNIEnv* env = jniEnv();
|
JNIEnv* env = jniEnv();
|
||||||
|
|
||||||
size_t count = inputDevices.size();
|
size_t count = inputDevices.size();
|
||||||
|
|||||||
Reference in New Issue
Block a user