commit | e306858573692fe956626125202800b188a3f5ae | [log] [tgz] |
---|---|---|
author | dakinola <dakinola@google.com> | Thu Nov 23 11:25:59 2023 +0000 |
committer | Daniel Akinola <dakinola@google.com> | Thu Nov 23 11:45:18 2023 +0000 |
tree | 9a546b4c420c5204ffbac0f912ff03f3f0377c81 | |
parent | 370b82560289b5308e981b7e97f51c38cbda3b20 [diff] |
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