Loading services/inputflinger/dispatcher/TouchState.cpp +0 −10 Original line number Diff line number Diff line Loading @@ -138,14 +138,4 @@ sp<WindowInfoHandle> TouchState::getWallpaperWindow() const { return nullptr; } sp<WindowInfoHandle> TouchState::getWindow(const sp<IBinder>& token) const { for (const TouchedWindow& touchedWindow : windows) { const auto& windowHandle = touchedWindow.windowHandle; if (windowHandle->getToken() == token) { return windowHandle; } } return nullptr; } } // namespace android::inputdispatcher services/inputflinger/dispatcher/TouchState.h +0 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,6 @@ struct TouchState { sp<android::gui::WindowInfoHandle> getFirstForegroundWindowHandle() const; bool isSlippery() const; sp<android::gui::WindowInfoHandle> getWallpaperWindow() const; sp<android::gui::WindowInfoHandle> getWindow(const sp<IBinder>&) const; }; } // namespace inputdispatcher Loading Loading
services/inputflinger/dispatcher/TouchState.cpp +0 −10 Original line number Diff line number Diff line Loading @@ -138,14 +138,4 @@ sp<WindowInfoHandle> TouchState::getWallpaperWindow() const { return nullptr; } sp<WindowInfoHandle> TouchState::getWindow(const sp<IBinder>& token) const { for (const TouchedWindow& touchedWindow : windows) { const auto& windowHandle = touchedWindow.windowHandle; if (windowHandle->getToken() == token) { return windowHandle; } } return nullptr; } } // namespace android::inputdispatcher
services/inputflinger/dispatcher/TouchState.h +0 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,6 @@ struct TouchState { sp<android::gui::WindowInfoHandle> getFirstForegroundWindowHandle() const; bool isSlippery() const; sp<android::gui::WindowInfoHandle> getWallpaperWindow() const; sp<android::gui::WindowInfoHandle> getWindow(const sp<IBinder>&) const; }; } // namespace inputdispatcher Loading