Policy transparency dialog should be shown when SwitchBar is restricted.
After ag/3818911, touch event of Switchbar is delegated to the switch. When the SwithBar is disabled by admin, switch is GONE and restricted icon is VISIBLE instead. We should let touch event be delegaed to restricted icon and show policy transparency dialog when it's clicked in this case. Bug: 77898233 Bug: 70206452 Test: Manually via setting disallow_share_location in TestDPC. Merged-In: Ifa4fa6ebbe7986277f5cd0951a399ea2377a39f9 Change-Id: If4a5349134e6f0e064561b4860966f950ce423b3
Loading
Please register or sign in to comment