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

Commit c96f37a5 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Use current thread for SetTaskProfiles

After the recent std::thread refactor, the input thread profile is being
set to the current thread. Therefore, we no longer have to explicitly
provide a thread id to the SetTaskProfiles - we can just send "0", and
rely on the fact that ExecuteForTask calls GetThreadId() for those
cases. That's not documented, but is an existing behaviour.

This will be supported on more platforms, and allows us to remove the
__ANDROID__ ifdefs.

Bug: 378761104
Test: none
Flag: EXEMPT refactor
Change-Id: I8e8325e1ecb43d31621657d250530924f40ecc43
parent a773520f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment