summaryrefslogtreecommitdiff
path: root/include/input/KeyCharacterMap.h
diff options
context:
space:
mode:
author Brett Chabot <brettchabot@google.com> 2020-10-29 17:43:49 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-10-29 17:43:49 +0000
commit08a8d53960e91d453ab479e6f41eb8c46a556d1f (patch)
tree54264daa087aa883dd6da8d5084843da5b0b61bd /include/input/KeyCharacterMap.h
parentf4b1410afa384815ea89dd4b089df4ebce2068ff (diff)
parent5820852c0f0fe634a104f81691ad3e0026caecdc (diff)
Merge "Build all of libinput for linux host."
Diffstat (limited to 'include/input/KeyCharacterMap.h')
-rw-r--r--include/input/KeyCharacterMap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/input/KeyCharacterMap.h b/include/input/KeyCharacterMap.h
index d874347929..339c7ebfeb 100644
--- a/include/input/KeyCharacterMap.h
+++ b/include/input/KeyCharacterMap.h
@@ -19,9 +19,7 @@
#include <stdint.h>
-#ifdef __ANDROID__
#include <binder/IBinder.h>
-#endif
#include <android-base/result.h>
#include <input/Input.h>
@@ -134,13 +132,11 @@ public:
void tryRemapKey(int32_t scanCode, int32_t metaState,
int32_t* outKeyCode, int32_t* outMetaState) const;
-#ifdef __ANDROID__
/* Reads a key map from a parcel. */
static std::shared_ptr<KeyCharacterMap> readFromParcel(Parcel* parcel);
/* Writes a key map to a parcel. */
void writeToParcel(Parcel* parcel) const;
-#endif
KeyCharacterMap(const KeyCharacterMap& other);