diff options
author | 2024-05-10 17:28:23 +0000 | |
---|---|---|
committer | 2024-05-10 17:28:23 +0000 | |
commit | 04cebacb3e4f33fabe6eb771ffc1a6249c2a3b13 (patch) | |
tree | 3656ee20bad72e2ed00651e98828f7a50ae0bd5b /libs/input/InputDevice.cpp | |
parent | 9691faf3dbe153af7f51594ba7d72ff730237bfb (diff) | |
parent | 13bf76a87d9113d60f39e645c5453bf18d0a158d (diff) |
Merge "Use a strongly typed LogicalDisplayId for displayId(2/n)" into main
Diffstat (limited to 'libs/input/InputDevice.cpp')
-rw-r--r-- | libs/input/InputDevice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/input/InputDevice.cpp b/libs/input/InputDevice.cpp index 222647db56..50239a1f9f 100644 --- a/libs/input/InputDevice.cpp +++ b/libs/input/InputDevice.cpp @@ -23,7 +23,6 @@ #include <android-base/properties.h> #include <android-base/stringprintf.h> #include <ftl/enum.h> -#include <gui/constants.h> #include <input/InputDevice.h> #include <input/InputEventLabels.h> @@ -170,7 +169,7 @@ std::string InputDeviceIdentifier::getCanonicalName() const { // --- InputDeviceInfo --- InputDeviceInfo::InputDeviceInfo() { - initialize(-1, 0, -1, InputDeviceIdentifier(), "", false, false, ADISPLAY_ID_NONE); + initialize(-1, 0, -1, InputDeviceIdentifier(), "", false, false, ui::ADISPLAY_ID_NONE); } InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) @@ -202,7 +201,8 @@ InputDeviceInfo::~InputDeviceInfo() { void InputDeviceInfo::initialize(int32_t id, int32_t generation, int32_t controllerNumber, const InputDeviceIdentifier& identifier, const std::string& alias, - bool isExternal, bool hasMic, int32_t associatedDisplayId, + bool isExternal, bool hasMic, + ui::LogicalDisplayId associatedDisplayId, InputDeviceViewBehavior viewBehavior, bool enabled) { mId = id; mGeneration = generation; |