summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.h
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2020-07-02 00:01:38 +0100
committerGarfield Tan <xutan@google.com>2020-07-07 10:43:01 -0700
commit6853fe6d78efdae0963617f6bb663b3632d7d700 (patch)
tree8963191997d40c966cc2a0834c30eb6fad6d779d /libs/input/PointerController.h
parenta0bc6b1d090178b1c5653c72651cdf8aa5a540ff (diff)
Move PointerController enums to enum classes.
Bug: 160010896 Test: atest PointerController_test, compile Change-Id: I6c7bfc91023ce6cd2dc8f82b0d72731f871ad3ea Merged-In: I6c7bfc91023ce6cd2dc8f82b0d72731f871ad3ea
Diffstat (limited to 'libs/input/PointerController.h')
-rw-r--r--libs/input/PointerController.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/input/PointerController.h b/libs/input/PointerController.h
index ff5631b4d207..14c0679654c6 100644
--- a/libs/input/PointerController.h
+++ b/libs/input/PointerController.h
@@ -81,9 +81,9 @@ public:
static std::shared_ptr<PointerController> create(
const sp<PointerControllerPolicyInterface>& policy, const sp<Looper>& looper,
const sp<SpriteController>& spriteController);
- enum InactivityTimeout {
- INACTIVITY_TIMEOUT_NORMAL = 0,
- INACTIVITY_TIMEOUT_SHORT = 1,
+ enum class InactivityTimeout {
+ NORMAL = 0,
+ SHORT = 1,
};
virtual ~PointerController();