diff options
| author | 2024-05-13 14:38:10 +0000 | |
|---|---|---|
| committer | 2024-05-13 14:38:10 +0000 | |
| commit | 7b3c2125967eaba25a92511f90c1fdec522a62bf (patch) | |
| tree | 00c54e3e530e1fed5284d5ab9e01640344f0db22 /libs/input/KeyCharacterMap.cpp | |
| parent | c06a3b6c95063c104cf16ccbc2e7c51b0c7f9728 (diff) | |
| parent | b58c0c31025bc458204f35ae11f8b343535d27c6 (diff) | |
Merge "Remove __linux__ ifdefs where not needed" into main
Diffstat (limited to 'libs/input/KeyCharacterMap.cpp')
| -rw-r--r-- | libs/input/KeyCharacterMap.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/input/KeyCharacterMap.cpp b/libs/input/KeyCharacterMap.cpp index 41909bfb2d..f75bf410f2 100644 --- a/libs/input/KeyCharacterMap.cpp +++ b/libs/input/KeyCharacterMap.cpp @@ -19,11 +19,9 @@ #include <stdlib.h> #include <string.h> -#ifdef __linux__ -#include <binder/Parcel.h> -#endif #include <android/keycodes.h> #include <attestation/HmacKeyManager.h> +#include <binder/Parcel.h> #include <input/InputEventLabels.h> #include <input/KeyCharacterMap.h> #include <input/Keyboard.h> @@ -611,7 +609,6 @@ void KeyCharacterMap::addLockedMetaKey(Vector<KeyEvent>& outEvents, } } -#ifdef __linux__ std::unique_ptr<KeyCharacterMap> KeyCharacterMap::readFromParcel(Parcel* parcel) { if (parcel == nullptr) { ALOGE("%s: Null parcel", __func__); @@ -744,7 +741,6 @@ void KeyCharacterMap::writeToParcel(Parcel* parcel) const { parcel->writeInt32(toAndroidKeyCode); } } -#endif // __linux__ // --- KeyCharacterMap::Parser --- |