commit | 976db0c3a27fcfd8122087a0b1a3936609b98487 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Thu Jul 02 00:00:29 2020 +0100 |
committer | Garfield Tan <xutan@google.com> | Tue Jul 07 21:56:47 2020 +0000 |
tree | 07e4307b24d1fe320e0a1e832855e2e5e5ab91dd | |
parent | 7a376674ad3b25ca99f28833a310f1b5d4703f8e [diff] [blame] |
Move PointerController enums to enum classes. Bug: 160010896 Test: atest PointerController_test, compile Change-Id: Ie5ba68a5082fff6ccc85ab01ff49344b73d0bb1b Merged-In: Ie5ba68a5082fff6ccc85ab01ff49344b73d0bb1b (cherry picked from commit ca5bede6d18f05e025b3c46c989091bad7895845)
diff --git a/services/inputflinger/reader/InputReader.cpp b/services/inputflinger/reader/InputReader.cpp index d3441ac..06e3743 100644 --- a/services/inputflinger/reader/InputReader.cpp +++ b/services/inputflinger/reader/InputReader.cpp
@@ -427,7 +427,7 @@ void InputReader::fadePointerLocked() { std::shared_ptr<PointerControllerInterface> controller = mPointerController.lock(); if (controller != nullptr) { - controller->fade(PointerControllerInterface::TRANSITION_GRADUAL); + controller->fade(PointerControllerInterface::Transition::GRADUAL); } }