diff options
| author | Rick Yiu <rickyiu@google.com> | 2022-01-24 10:57:09 +0800 |
|---|---|---|
| committer | Wei Wang <wvw@google.com> | 2022-01-31 21:05:27 +0000 |
| commit | 0ff6541b74538c0323f615b9d8b1cd3a8e8f6d52 (patch) | |
| tree | cf2fec55e43e2dfd9091ebc49fa8762224acfddb /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 484a35da12af856b52d3f6a2958bf140e6bf7a45 (diff) | |
Use SetProcessProfilesCached in android_os_Process_setProcessGroup
Currently, android_os_Process_setProcessGroup uses SetTaskProfiles for
each thread of a process when switching group, which will hold lock each
time. Replace it with SetProcessProfilesCached so that it only does it once.
Bug: 215557553
Test: cgroup migrates as expected
Change-Id: I0ebb031a395932c269e88e52faed1661bbf8420a
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
