commit | fc174636b99378f26f37f8cf85416495f98fbc6c | [log] [tgz] |
---|---|---|
author | Amy Zhang <amyjojo@google.com> | Tue Dec 22 16:04:22 2020 -0800 |
committer | Amy Zhang <amyjojo@google.com> | Tue Dec 22 16:54:26 2020 -0800 |
tree | 37442c70a4aab1609f08847dd69ab31f367b8f8d | |
parent | 663b6185b4fd302227e53f1c857fdc66b554e8e4 [diff] |
Allow Tuner to update client priority without override the default priority The updateResourcePriority(int, int) in Tuner used to update priority and nice value at the same time. Now we bypass the priority settings with only nice value setting in the Tuner Resource Manager when the user gives negative priority. Test: atest com.android.server.tv.tunerresourcemanager Bug: 176186744 Change-Id: I0dc1326691ac02b4dc4d8f9c0252f6150284ef82