Merge "[Thread] loose the restriction on the setEnabled API behavior" into main