diff options
author | Michael Wright <michaelwr@google.com> | 2020-07-02 00:01:38 +0100 |
---|---|---|
committer | Garfield Tan <xutan@google.com> | 2020-07-07 10:43:01 -0700 |
commit | 6853fe6d78efdae0963617f6bb663b3632d7d700 (patch) | |
tree | 8963191997d40c966cc2a0834c30eb6fad6d779d /libs/input/PointerController.h | |
parent | a0bc6b1d090178b1c5653c72651cdf8aa5a540ff (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.h | 6 |
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(); |