microsoft / fluentui-android

MIT License
561 stars 103 forks source link

adding accessibility on/off check #671

Closed praveen970 closed 2 months ago

praveen970 commented 2 months ago

Problem

Bottomsheet crashes when the handle is clicked

Root cause

when accessibility is turned off, the handle onclick call the accessibility manager which is null causing crash

Fix

Adding a check that will verify if manager is enabled

Validations

manual testing