Merge "Guard accessibility function calls"

This commit is contained in:
Tadashi G. Takaoka 2014-05-01 08:08:48 +00:00 committed by Android (Google) Code Review
commit 20770f4ba0

View file

@ -772,7 +772,9 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
}
public void onHideWindow() {
mAccessibilityDelegate.onHideWindow();
if (AccessibilityUtils.getInstance().isAccessibilityEnabled()) {
mAccessibilityDelegate.onHideWindow();
}
}
/**