diff options
author | 2023-06-09 21:31:26 +0000 | |
---|---|---|
committer | 2023-08-17 21:00:03 +0000 | |
commit | 4cc1a633a629097fe1c30b07bebc64d69c544356 (patch) | |
tree | 817c446a5ebfe2f1299b2ff750f5c4c3324b7906 /libs/input/PointerController.cpp | |
parent | 49ac12fa801aa7b735662d7c69d4cf459d41615a (diff) |
Strong pointer fixes in libinputservice
Make components of libinputservice work with implicit conversions
disabled for strong pointers.
Bug: 278783893
Test: Build
Change-Id: Ibe1e97c845662113437635efd7a1e875e8407c64
Diffstat (limited to 'libs/input/PointerController.cpp')
-rw-r--r-- | libs/input/PointerController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/input/PointerController.cpp b/libs/input/PointerController.cpp index e21d6fb2fe14..bb3d9d7c680c 100644 --- a/libs/input/PointerController.cpp +++ b/libs/input/PointerController.cpp @@ -103,7 +103,7 @@ PointerController::PointerController(const sp<PointerControllerPolicyInterface>& WindowListenerConsumer unregisterListener) : mContext(policy, looper, spriteController, *this), mCursorController(mContext), - mDisplayInfoListener(new DisplayInfoListener(this)), + mDisplayInfoListener(sp<DisplayInfoListener>::make(this)), mUnregisterWindowInfosListener(std::move(unregisterListener)) { std::scoped_lock lock(getLock()); mLocked.presentation = Presentation::SPOT; |