Loading services/core/jni/com_android_server_input_InputManagerService.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -362,6 +362,7 @@ public: void notifyDropWindow(const sp<IBinder>& token, float x, float y) override; void notifyDeviceInteraction(int32_t deviceId, nsecs_t timestamp, const std::set<gui::Uid>& uids) override; void notifyFocusedDisplayChanged(ui::LogicalDisplayId displayId) override; /* --- PointerControllerPolicyInterface implementation --- */ Loading Loading @@ -1108,6 +1109,10 @@ void NativeInputManager::notifyVibratorState(int32_t deviceId, bool isOn) { checkAndClearExceptionFromCallback(env, "notifyVibratorState"); } void NativeInputManager::notifyFocusedDisplayChanged(ui::LogicalDisplayId displayId) { mInputManager->getChoreographer().setFocusedDisplay(displayId); } void NativeInputManager::displayRemoved(JNIEnv* env, ui::LogicalDisplayId displayId) { mInputManager->getDispatcher().displayRemoved(displayId); } Loading Loading
services/core/jni/com_android_server_input_InputManagerService.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -362,6 +362,7 @@ public: void notifyDropWindow(const sp<IBinder>& token, float x, float y) override; void notifyDeviceInteraction(int32_t deviceId, nsecs_t timestamp, const std::set<gui::Uid>& uids) override; void notifyFocusedDisplayChanged(ui::LogicalDisplayId displayId) override; /* --- PointerControllerPolicyInterface implementation --- */ Loading Loading @@ -1108,6 +1109,10 @@ void NativeInputManager::notifyVibratorState(int32_t deviceId, bool isOn) { checkAndClearExceptionFromCallback(env, "notifyVibratorState"); } void NativeInputManager::notifyFocusedDisplayChanged(ui::LogicalDisplayId displayId) { mInputManager->getChoreographer().setFocusedDisplay(displayId); } void NativeInputManager::displayRemoved(JNIEnv* env, ui::LogicalDisplayId displayId) { mInputManager->getDispatcher().displayRemoved(displayId); } Loading