Change-Id: Idf6e0770ecb14e4e3febed229df2d8b52a2b83a9
not with_system_controller
then
resource.method.veto = {
- function(zone, rset, grant, owners)
- rset_priority = application_class[rset.application_class].priority
-
- owner_id = owners.audio_playback.resource_set
- rset_id = rset.id
-
- if (rset_priority >= 50 and owner_id ~= rset_id) then
- print("*** resource-set "..rset_id.." - veto")
- return false
- end
-
+ function(zone, rset, grant, owners, req_set)
return true
- end
+ end
}
end