Loading
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