Merge "Implement screen recording detection API internals" into main