commit | 319474c18fe0d66c655862e5194377edd283e9d4 | [log] [tgz] |
---|---|---|
author | Wei Wang <wvw@google.com> | Sun Oct 06 07:08:33 2024 +0000 |
committer | Wei Wang <wvw@google.com> | Mon Oct 07 05:59:21 2024 +0000 |
tree | f6015e9246ed6ade4c2f8f4f14411c5a653cd295 | |
parent | bc57d80342edd76c3f95e1592dce59458a613060 [diff] |
Set reset_on_fork in setRenderThread as well Also check the thread scheduler before setting it to SCHED_OTHER | SCHED_RESET_ON_FORK to avoid overhead. Bug: 370988407 Change-Id: I946f653429978ae2be1c119dd4d99733acd372ff Flag: com.android.server.am.reset_on_fork_enabled Test: Build and check with chrt -p [APP_RT_PID]