Merge "Add a test api for checking if system supports TaskSnapshot" into sc-dev