diff options
author | Elliott Hughes <enh@google.com> | 2014-08-18 17:42:24 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-08-16 04:09:33 +0000 |
commit | d29b4f656574d748f8e66a23028a690796b5fe2e (patch) | |
tree | 7bf024477f1e2f489ebb9c5b7abe86832e5df6c0 | |
parent | 5a192121e99a740dab6df2b6550e02ef18f5dbc7 (diff) | |
parent | da153975581fb3161a30452348a5b26ee72d9255 (diff) | |
download | frameworks_av-d29b4f656574d748f8e66a23028a690796b5fe2e.zip frameworks_av-d29b4f656574d748f8e66a23028a690796b5fe2e.tar.gz frameworks_av-d29b4f656574d748f8e66a23028a690796b5fe2e.tar.bz2 |
Merge "Use gettid directly."
-rw-r--r-- | media/libstagefright/ACodec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp index ed1de58..1a87e9c 100644 --- a/media/libstagefright/ACodec.cpp +++ b/media/libstagefright/ACodec.cpp @@ -3654,7 +3654,7 @@ bool ACodec::UninitializedState::onAllocateComponent(const sp<AMessage> &msg) { componentName = matchingCodecs.itemAt(matchIndex).mName.string(); quirks = matchingCodecs.itemAt(matchIndex).mQuirks; - pid_t tid = androidGetTid(); + pid_t tid = gettid(); int prevPriority = androidGetThreadPriority(tid); androidSetThreadPriority(tid, ANDROID_PRIORITY_FOREGROUND); status_t err = omx->allocateNode(componentName.c_str(), observer, &node); |