Merge "Move device management resource retrieval calls to bg thread" into tm-dev