Merge "Rename qemu.keyboard_layout to vendor.qemu.keyboard_layout"
This commit is contained in:
@@ -45,7 +45,7 @@ public class DefaultActivity extends Activity {
|
|||||||
// Edit Settings only for Emulator
|
// Edit Settings only for Emulator
|
||||||
if (Build.IS_EMULATOR) {
|
if (Build.IS_EMULATOR) {
|
||||||
// Set physical keyboard layout based on the system property set by emulator host.
|
// 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";
|
String deviceName = "qwerty2";
|
||||||
InputDevice device = getKeyboardDevice(deviceName);
|
InputDevice device = getKeyboardDevice(deviceName);
|
||||||
if (device != null && !layoutName.isEmpty()) {
|
if (device != null && !layoutName.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user