Ensure that Screen Recording switches only respond to touch events within the target region

Add onTouchListeners to switches so that switches can only be swiped/toggled from clicking the view itself. Touch events beyond the view bounds, above or below won't affect the checked state of the switch.

Fix: 308519160
Test: Manual testing
Flag: None
Change-Id: Ia061d0b1b1cd84e94b764ef331460e3dacbdec3a
1 file changed