Guard accessibility function calls
This is a follow up of I2b0ec091a1. Change-Id: I2801bd1530556cfa6cc176efac9d9f09f2405892
This commit is contained in:
parent
3903e0d6e8
commit
1ead609e6f
1 changed files with 3 additions and 1 deletions
|
@ -772,7 +772,9 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
|||
}
|
||||
|
||||
public void onHideWindow() {
|
||||
mAccessibilityDelegate.onHideWindow();
|
||||
if (AccessibilityUtils.getInstance().isAccessibilityEnabled()) {
|
||||
mAccessibilityDelegate.onHideWindow();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue