diff options
author | Amy Zhang <amyjojo@google.com> | 2020-12-22 18:49:36 -0800 |
---|---|---|
committer | Amy Zhang <amyjojo@google.com> | 2021-01-12 16:42:18 -0800 |
commit | 8af4d0bbe9d51a697a6d35fe92a6a401c42f4aa4 (patch) | |
tree | c51feb8f972f0d7cc0f6b0b81023b680649d4023 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 39a3fa46534f81d3a64c0752a7f087e0cc9589cf (diff) |
Update client pid and priority on requesting resources
The previous implementation queried the client process id only once
during the client registration. But the pid could change before a
client request a resource.
We change the impl to update the pid and priority on request.
Note that the update only happens when the pid changes compared to
the one recorded during client registration or updateClientPriority
API call.
Test: atest com.android.server.tv.tunerresourcemanager
Bug: 176186326
Change-Id: I8d83f7a39d47dc85a00cc4d216080d7eebb66b94
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions