Merge "Add unsupported check for getMaxLayerPictureProfiles" into main