Merge "Support set active device to null." into rvc-dev