diff options
Diffstat (limited to 'include/input/InputDevice.h')
| -rw-r--r-- | include/input/InputDevice.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/input/InputDevice.h b/include/input/InputDevice.h index 5fa9fda64b..09933d32b1 100644 --- a/include/input/InputDevice.h +++ b/include/input/InputDevice.h @@ -24,7 +24,6 @@ #include <vector> #include <android/os/IInputConstants.h> -#include "android/hardware/input/InputDeviceCountryCode.h" namespace android { @@ -236,9 +235,7 @@ public: void initialize(int32_t id, int32_t generation, int32_t controllerNumber, const InputDeviceIdentifier& identifier, const std::string& alias, - bool isExternal, bool hasMic, - hardware::input::InputDeviceCountryCode countryCode = - hardware::input::InputDeviceCountryCode::INVALID); + bool isExternal, bool hasMic); inline int32_t getId() const { return mId; } inline int32_t getControllerNumber() const { return mControllerNumber; } @@ -250,7 +247,6 @@ public: } inline bool isExternal() const { return mIsExternal; } inline bool hasMic() const { return mHasMic; } - inline hardware::input::InputDeviceCountryCode getCountryCode() const { return mCountryCode; } inline uint32_t getSources() const { return mSources; } const MotionRange* getMotionRange(int32_t axis, uint32_t source) const; @@ -310,7 +306,6 @@ private: std::string mAlias; bool mIsExternal; bool mHasMic; - hardware::input::InputDeviceCountryCode mCountryCode; std::optional<KeyboardLayoutInfo> mKeyboardLayoutInfo; uint32_t mSources; int32_t mKeyboardType; |