From 6853fe6d78efdae0963617f6bb663b3632d7d700 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Thu, 2 Jul 2020 00:01:38 +0100 Subject: Move PointerController enums to enum classes. Bug: 160010896 Test: atest PointerController_test, compile Change-Id: I6c7bfc91023ce6cd2dc8f82b0d72731f871ad3ea Merged-In: I6c7bfc91023ce6cd2dc8f82b0d72731f871ad3ea --- libs/input/PointerController.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/input/PointerController.h') 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 create( const sp& policy, const sp& looper, const sp& spriteController); - enum InactivityTimeout { - INACTIVITY_TIMEOUT_NORMAL = 0, - INACTIVITY_TIMEOUT_SHORT = 1, + enum class InactivityTimeout { + NORMAL = 0, + SHORT = 1, }; virtual ~PointerController(); -- cgit v1.2.3-59-g8ed1b