diff options
author | 2023-08-18 19:01:39 +0000 | |
---|---|---|
committer | 2023-08-18 19:01:39 +0000 | |
commit | bbd57bc5f77c57b6cebd4b1bcab7a8c5430d36bd (patch) | |
tree | 5b7438cc04c52d36286bf2900a6722f2a8d31faf /libs/input/PointerController.cpp | |
parent | 415f0ea89708bf5f88914a6c9a8ee81a339aa7ad (diff) | |
parent | 4cc1a633a629097fe1c30b07bebc64d69c544356 (diff) |
Merge "Strong pointer fixes in libinputservice" into main
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; |