summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Anton Ivanov <aii@google.com> 2025-02-20 16:46:06 -0800
committer Anton Ivanov <aii@google.com> 2025-02-20 16:46:06 -0800
commit9ffd0ea3896e7dc178257d0d5679320bf6eaf24c (patch)
tree561b1388f2cfe392b23387aa1dcff7c1f66f49a1
parenta3d7a6f1b05126f9794fd1bf6bff669b26efb570 (diff)
Remove spurious creation of sp<Choreographer>.
Bug: 393217449 Test: presubmit Flag: EXEMPT_refactor Change-Id: I7c9fe4881fdf2dd6065f1175f20bb93965d5103a
-rw-r--r--libs/gui/Choreographer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/Choreographer.cpp b/libs/gui/Choreographer.cpp
index fb3e0f1d36..b9e6c06425 100644
--- a/libs/gui/Choreographer.cpp
+++ b/libs/gui/Choreographer.cpp
@@ -100,7 +100,7 @@ sp<Choreographer> Choreographer::getForThread() {
return nullptr;
}
}
- return gChoreographer.get();
+ return gChoreographer;
}
Choreographer::Choreographer(const sp<Looper>& looper, const sp<IBinder>& layerHandle)