Respect the RESTRICT_LOCAL_NETWORK app compat flag
If the permissions required on a route include a new permission being added for local network access, we only require the permission to be held if the corresponding app compat flag is turned on, and we also accept the existing NEARBY_WIFI_DEVICES permission as meeting the requirement since it will be in the same permission group. Bug: 386260596 Test: atest MediaRouter2HostSideTest Flag: com.android.media.flags.enable_route_visibility_control_compat_fixes Change-Id: I3a9bc3d1943b4c7e902e9b276e8a9c13bc1831a8
Loading
Please register or sign in to comment