commit | 17db18e83fb3d4cdba0dcf25c2bcec350fab3d16 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Fri Jun 26 20:51:44 2020 +0100 |
committer | Michael Wright <michaelwr@google.com> | Fri Jul 03 00:11:23 2020 +0100 |
tree | e5108381d063e862852b0cdbbfea2eb912c4c405 | |
parent | 12d24c504621cc5ff117b41726d734475eb8836c [diff] [blame] |
Move PointerController from sp to shared_ptr Bug: 160010896 Test: atest PointerController_test, atest InputReader_test, manual usage Change-Id: Ic43ab94ca76c736fde0d217efeab99b2afd6f622
diff --git a/services/inputflinger/reader/mapper/TouchInputMapper.h b/services/inputflinger/reader/mapper/TouchInputMapper.h index 58bfc5c..7f811a0 100644 --- a/services/inputflinger/reader/mapper/TouchInputMapper.h +++ b/services/inputflinger/reader/mapper/TouchInputMapper.h
@@ -376,7 +376,7 @@ nsecs_t mDownTime; // The pointer controller, or null if the device is not a pointer. - sp<PointerControllerInterface> mPointerController; + std::shared_ptr<PointerControllerInterface> mPointerController; std::vector<VirtualKey> mVirtualKeys;