Skip to content

Commit

Permalink
send both signalStrengh and signalStrength (#1115)
Browse files Browse the repository at this point in the history
* send both signalStrengh and signalStrength

* add a comment to the issue
  • Loading branch information
KazuCocoa authored and saikrishna321 committed Mar 9, 2019
1 parent a63295b commit 392413f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,11 @@ public class AndroidMobileCommandHelper extends MobileCommand {
public static Map.Entry<String, Map<String, ?>> gsmSignalStrengthCommand(
GsmSignalStrength gsmSignalStrength) {
return new AbstractMap.SimpleEntry<>(GSM_SIGNAL,
prepareArguments("signalStrengh", gsmSignalStrength.ordinal()));
prepareArguments(
// https://github.com/appium/appium/issues/12234
new String[] {"signalStrengh", "signalStrength" },
new Object[] {gsmSignalStrength.ordinal(), gsmSignalStrength.ordinal()}
));
}

/**
Expand Down

0 comments on commit 392413f

Please sign in to comment.