Guard accessibility function calls
This is a follow up of I2b0ec091a1. Change-Id: I2801bd1530556cfa6cc176efac9d9f09f2405892main
parent
3903e0d6e8
commit
1ead609e6f
|
@ -772,8 +772,10 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onHideWindow() {
|
public void onHideWindow() {
|
||||||
|
if (AccessibilityUtils.getInstance().isAccessibilityEnabled()) {
|
||||||
mAccessibilityDelegate.onHideWindow();
|
mAccessibilityDelegate.onHideWindow();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Receives hover events from the input framework.
|
* Receives hover events from the input framework.
|
||||||
|
|
Loading…
Reference in New Issue