Merge "Add an API to set layer trace flags" into rvc-dev