Merge "Change storage duration to static for native choreographer."
am: a1ef6e7
* commit 'a1ef6e7d22bed25ea624bc8d2c8fea9a951508c1':
Change storage duration to static for native choreographer.
Change-Id: I0bbef00b28695b6e20cce44f662e31760761bd13
This commit is contained in:
@@ -82,7 +82,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
thread_local Choreographer* gChoreographer;
|
||||
static thread_local Choreographer* gChoreographer;
|
||||
Choreographer* Choreographer::getForThread() {
|
||||
if (gChoreographer == nullptr) {
|
||||
sp<Looper> looper = Looper::getForThread();
|
||||
|
||||
Reference in New Issue
Block a user