Fix toggle widget can be switched under overlapped view
- ag/11612781 added filterTouchesWhenObscured to toggle widget
can't prevent the click behavior pass through the overlapped view.
- Due to click events was handled by SwitchPreference instead of the
- Enable the filterTouchesWhenObscured attribute on all
SwitchPreferences in all pages of the special app access.
Test: manual test
Here is the test steps
1.Create an overlapped view's app and launch it to overlap the
3.Goto Apps & notification > Advanced > Special app access
4.Click any toggle under Special app access to monitor it can be
switched or not. It must be not switched.
3 files changed