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

Commit e79a9227 authored by Sherry Huang's avatar Sherry Huang
Browse files

TIF: enable check self-permission for tuner resource access

The current permission check might fail when there are two hardware
inputs trying to obtain the same device id. When this happens, TvInputHardwareManager
will call trm to compare client priority. As TvInputHardwareManager is
in system process, the client pid will be system process, causing the
permission check to fail.

Test: atest android.media.tv.cts.TvInputManagerTest#testAcquireTvInputHardware
Bug: b/397805251
Flag: EXEMPT bugfix only
Change-Id: Ie8d971d4dad0b708dde24099f3837cf3ea26d0c4
parent f140c1fa
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