Merge "Rename qemu.keyboard_layout to vendor.qemu.keyboard_layout" am: 9924173829 am: 46681fc0d8
Original change: https://android-review.googlesource.com/c/platform/development/+/1561419 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia40a0fdfd2a5d96a43850c6f12e7e1f5edbb7566
This commit is contained in:
@@ -45,7 +45,7 @@ public class DefaultActivity extends Activity {
|
||||
// Edit Settings only for Emulator
|
||||
if (Build.IS_EMULATOR) {
|
||||
// Set physical keyboard layout based on the system property set by emulator host.
|
||||
String layoutName = SystemProperties.get("qemu.keyboard_layout");
|
||||
String layoutName = SystemProperties.get("vendor.qemu.keyboard_layout");
|
||||
String deviceName = "qwerty2";
|
||||
InputDevice device = getKeyboardDevice(deviceName);
|
||||
if (device != null && !layoutName.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user