commit | 24bbed26abaca6f10455e181d9d5aca2dc1ccbe0 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Wed Jan 27 02:06:24 2016 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Jan 27 02:06:24 2016 +0000 |
tree | 417ad827b2d630c2bee1a21a2071209bcae71964 | |
parent | fb85c6b60a1b0c390fb87c41fe56c07ef197a264 [diff] | |
parent | ff20b979e7abf55bef4aa7da85ec36afda3e4fbf [diff] |
Merge "Change storage duration to static for native choreographer."
diff --git a/native/android/choreographer.cpp b/native/android/choreographer.cpp index cc2fd77..e35c85b 100644 --- a/native/android/choreographer.cpp +++ b/native/android/choreographer.cpp
@@ -82,7 +82,7 @@ }; -thread_local Choreographer* gChoreographer; +static thread_local Choreographer* gChoreographer; Choreographer* Choreographer::getForThread() { if (gChoreographer == nullptr) { sp<Looper> looper = Looper::getForThread();