Merge "Fix PK Settings notification for non-keyboard devices"
This commit is contained in:
committed by
Android (Google) Code Review
commit
06a7fbc4cb
@@ -145,7 +145,7 @@ final class KeyboardLayoutManager implements InputManager.InputDeviceListener {
|
||||
@Override
|
||||
public void onInputDeviceChanged(int deviceId) {
|
||||
final InputDevice inputDevice = getInputDevice(deviceId);
|
||||
if (inputDevice == null) {
|
||||
if (inputDevice == null || inputDevice.isVirtual() || !inputDevice.isFullKeyboard()) {
|
||||
return;
|
||||
}
|
||||
synchronized (mDataStore) {
|
||||
|
||||
Reference in New Issue
Block a user