diff options
author | John Reck <jreck@google.com> | 2015-05-04 17:35:32 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-05-04 17:35:33 +0000 |
commit | e678b41cdb56847c094260607ea39aea4abb808e (patch) | |
tree | cb080ac9445c2e9b34b1d6f1bf5262f0ab3bb972 | |
parent | 5551aca2b8ec9fe7ab5ffda8dad82ee104556962 (diff) | |
parent | a15eedd266af3229217bfd45e6fec0001336279a (diff) | |
download | frameworks_base-e678b41cdb56847c094260607ea39aea4abb808e.zip frameworks_base-e678b41cdb56847c094260607ea39aea4abb808e.tar.gz frameworks_base-e678b41cdb56847c094260607ea39aea4abb808e.tar.bz2 |
Merge "Fix setName use-after-free" into mnc-dev
-rw-r--r-- | libs/hwui/renderthread/RenderProxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp index d15fa39..7c04f40 100644 --- a/libs/hwui/renderthread/RenderProxy.cpp +++ b/libs/hwui/renderthread/RenderProxy.cpp @@ -135,7 +135,7 @@ void RenderProxy::setName(const char* name) { SETUP_TASK(setName); args->context = mContext; args->name = name; - post(task); + postAndWait(task); } CREATE_BRIDGE2(initialize, CanvasContext* context, ANativeWindow* window) { |