Merge "Add null check for thread name creation" into lmp-mr1-dev