Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9060b70b authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am 896b546b: am d29b4f65: Merge "Use gettid directly."

* commit '896b546b':
  Use gettid directly.
parents 44fa1fb8 896b546b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4408,7 +4408,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);