Merge "Use sp<> on creating BufferHubBinderService"
diff --git a/services/vr/bufferhubd/buffer_hub_binder.cpp b/services/vr/bufferhubd/buffer_hub_binder.cpp
index b507717..de82c09 100644
--- a/services/vr/bufferhubd/buffer_hub_binder.cpp
+++ b/services/vr/bufferhubd/buffer_hub_binder.cpp
@@ -13,7 +13,7 @@
const std::shared_ptr<BufferHubService>& pdx_service) {
IPCThreadState::self()->disableBackgroundScheduling(true);
- BufferHubBinderService* service = new BufferHubBinderService();
+ sp<BufferHubBinderService> service = new BufferHubBinderService();
service->pdx_service_ = pdx_service;
// Not using BinderService::publish because need to get an instance of this