Merge "[Physical Keyboard] Fix bug for Mouse key page" into main
This commit is contained in:
@@ -118,7 +118,8 @@ public class MouseKeysImageListAdapter extends
|
|||||||
|
|
||||||
private String getDisplayLabel(InputDevice currentInputDevice, int keycode) {
|
private String getDisplayLabel(InputDevice currentInputDevice, int keycode) {
|
||||||
return String.valueOf(currentInputDevice.getKeyCharacterMap().getDisplayLabel(
|
return String.valueOf(currentInputDevice.getKeyCharacterMap().getDisplayLabel(
|
||||||
currentInputDevice.getKeyCodeForKeyLocation(keycode))).toLowerCase(Locale.ROOT);
|
currentInputDevice.getKeyCodeForKeyLocation(keycode))).toLowerCase(
|
||||||
|
Locale.getDefault());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class MouseKeyImageViewHolder extends RecyclerView.ViewHolder {
|
public static class MouseKeyImageViewHolder extends RecyclerView.ViewHolder {
|
||||||
|
Reference in New Issue
Block a user