diff options
author | 2025-02-19 17:35:16 -0800 | |
---|---|---|
committer | 2025-02-19 17:35:16 -0800 | |
commit | f73db7a6242e297ead71df0d0d1fb3a8515245d3 (patch) | |
tree | d8b75648a2c39694a22e13dec94ac10344ca11ec /libs/gui/ConsumerBase.cpp | |
parent | 81793808b9347a52dd979e4b3d5d9d10fc8c4915 (diff) |
Revert "Harden construction sites of android::StrongPointer."
This reverts commit 81793808b9347a52dd979e4b3d5d9d10fc8c4915.
Reason for revert: Droidmonitor created revert due to b/397788382. Will be verifying through ABTD before submission.
Change-Id: Idd58b82a5a5380053cdff4e7b92eafa66b2c2782
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
-rw-r--r-- | libs/gui/ConsumerBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/ConsumerBase.cpp b/libs/gui/ConsumerBase.cpp index 62508de052..3ad0e529a5 100644 --- a/libs/gui/ConsumerBase.cpp +++ b/libs/gui/ConsumerBase.cpp @@ -110,7 +110,7 @@ void ConsumerBase::initialize(bool controlledByApp) { // dropping to 0 at the end of the ctor. Since all we need is a wp<...> // that's what we create. wp<ConsumerListener> listener = static_cast<ConsumerListener*>(this); - sp<IConsumerListener> proxy = sp<BufferQueue::ProxyConsumerListener>::make(listener); + sp<IConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener); status_t err = mConsumer->consumerConnect(proxy, controlledByApp); if (err != NO_ERROR) { |