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

Skip to content
Commit af244898 authored by Praveen Chavan's avatar Praveen Chavan Committed by Steve Kondik
Browse files

stagefright: yield callbackDispatcher to writer only for video

Letting Writer run increases the probability of dispatcher
not getting the lock when it comes back with the next message.
This adds an extra sleep-wakeup and increase power consumption.

Since Audio dispatcher handles more messages, this behavior
is profound in case of audio. Contain yielding business to
video only since this optimization is not required for audio.

CRs-Fixed: 651233
Change-Id: Ie24be4522b29fa191a88a777293d39f8e7c91353
parent b374543e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment