Skip to content

Commit 80e9131

Browse files
committed
Merge remote-tracking branch 'fireashes/patch-2'
Conflicts: src/main/java/io/appium/java_client/android/AndroidKeyCode.java
2 parents dced132 + 4041dcd commit 80e9131

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

src/main/java/io/appium/java_client/android/AndroidKeyCode.java

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ public interface AndroidKeyCode {
3131
int SETTINGS = 176;
3232
int SPACE = 62;
3333

34-
35-
36-
// getAction() value: the key has been pressed down.
34+
// getAction() value: the key has been pressed down.
3735
// (0x00000000)
3836
int ACTION_DOWN = 0;
3937

@@ -85,7 +83,8 @@ public interface AndroidKeyCode {
8583
// (0x00000040)
8684
int FLAG_VIRTUAL_HARD_KEY = 64;
8785

88-
// This constant was deprecated in API level 20.This flag will never be set by the system since the system consumes all wake keys itself.
86+
// This constant was deprecated in API level 20.
87+
// This flag will never be set by the system since the system consumes all wake keys itself.
8988
// This mask is set if the device woke because of this key event.
9089
// (0x00000001)
9190
int FLAG_WOKE_HERE = 1;
@@ -1130,34 +1129,31 @@ public interface AndroidKeyCode {
11301129
// (0x000000a9)
11311130
int KEYCODE_ZOOM_OUT = 169;
11321131

1133-
int MAX_KEYCODE = 84;
1134-
1135-
// This constant was deprecated in API level 3.There are now more than MAX_KEYCODE keycodes. Use getMaxKeyCode() instead.
1136-
1132+
// This constant was deprecated in API level 3.
1133+
// There are now more than MAX_KEYCODE keycodes. Use getMaxKeyCode() instead.
11371134
// (0x00000054)
1135+
int MAX_KEYCODE = 84;
11381136

11391137
// This mask is used to check whether the left ALT meta key is pressed.
11401138
// See Also
11411139
// isAltPressed()
11421140
// getMetaState()
11431141
// KEYCODE_ALT_LEFT
1144-
int META_ALT_LEFT_ON = 16;
1145-
11461142
// (0x00000010)
1143+
int META_ALT_LEFT_ON = 16;
11471144

11481145
// This mask is a combination of META_ALT_ON, META_ALT_LEFT_ON and META_ALT_RIGHT_ON.
11491146
// (0x00000032)
11501147
int META_ALT_MASK = 50;
11511148

1152-
int META_ALT_ON = 2;
1153-
11541149
// This mask is used to check whether one of the ALT meta keys is pressed.
11551150
// See Also
11561151
// isAltPressed()
11571152
// getMetaState()
11581153
// KEYCODE_ALT_LEFT
11591154
// KEYCODE_ALT_RIGHT
11601155
// (0x00000002)
1156+
int META_ALT_ON = 2;
11611157

11621158
// This mask is used to check whether the right the ALT meta key is pressed.
11631159
// See Also
@@ -1229,9 +1225,8 @@ public interface AndroidKeyCode {
12291225
// getMetaState()
12301226
// KEYCODE_META_LEFT
12311227
// KEYCODE_META_RIGHT
1232-
int META_META_ON = 65536;
1233-
12341228
// (0x00010000)
1229+
int META_META_ON = 65536;
12351230

12361231
// This mask is used to check whether the right META meta key is pressed.
12371232
// See Also

0 commit comments

Comments
 (0)