diff options
author | 2023-06-19 16:51:47 +0900 | |
---|---|---|
committer | 2023-06-19 16:51:47 +0900 | |
commit | 8ea2c3df097602ef0405afd5ea747cc535716c51 (patch) | |
tree | 5987c24156ba69e2eab0da1c29d3fea160cfe541 | |
parent | eec4219f33812482cf722c78bbda14d32f7b816d (diff) |
Arrange include ordering in input/KeyLayoutMap.h
utils/ lib has a dependency to #define constant (CONSTEXPR),
which (may) gets #undef from other libs. There are many ways
to fix this issue, but the most suitable one is to arrange
the #include ordering, which also follows principle of
"including the least-commonly used headers first".
Bug: 287575652
Test: m
Change-Id: I0f6841a083c37bc9245602fcc29a007f5ddc6894
-rw-r--r-- | include/input/KeyLayoutMap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/input/KeyLayoutMap.h b/include/input/KeyLayoutMap.h index 8c3c74af20..b126abecea 100644 --- a/include/input/KeyLayoutMap.h +++ b/include/input/KeyLayoutMap.h @@ -17,13 +17,13 @@ #pragma once #include <android-base/result.h> +#include <input/InputDevice.h> + #include <stdint.h> #include <utils/Errors.h> #include <utils/Tokenizer.h> #include <set> -#include <input/InputDevice.h> - namespace android { struct AxisInfo { |