Fix uninitialized AccessibilityWatcher::mActive variable
This fixes the lost of focus tracking when zooming in/out several times. mActive is tested in AccessibilityWatcher::setActive() but was never initialized or updated, and thus basically random. By luck it'd be 0, and thus AccessibilityWatcher::setActive would always accept to reactivate and never accept to deactivate. But without luck it'd be non-0, and thus AccessibilityWatcher::setActive would always accept to desactivate, but always refuse to reactivate (e.g. when zooming in).
parent
7c7ad596
Please register or sign in to comment