calabash-android 0.4.22.pre3 → 0.4.22.pre4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b08ffe174ecf3dde1f1f58a609148b6f338b2114
|
|
4
|
+
data.tar.gz: f60f07366df805990cca8d49dc4516e9d3ad6c96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 846aa7dc192a504a2461c9e8d69f7f8d2c55854a0dd87bdf860d6964fa6d71b7af8aaef2848170c0b6111b8279a69f91bf3bd4269c02b344b50179903db11bc9
|
|
7
|
+
data.tar.gz: 41d381af7fb3f41bb805985b85508e4f40f5627dacf5d91f85f8a7bc5722b64807d07cf4fa5e1afddefd4e4d0b51f5e52699c90c40f699d8b36feaac290c3c08
|
|
Binary file
|
|
@@ -41,14 +41,7 @@ public class KeyboardEnterText implements Action {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
InputConnection getInputConnection() {
|
|
44
|
-
|
|
45
|
-
final View view = currentActivity.getCurrentFocus();
|
|
46
|
-
|
|
47
|
-
Context context = view.getContext();
|
|
48
|
-
|
|
49
|
-
if (context == null) {
|
|
50
|
-
context = currentActivity.getApplicationContext();
|
|
51
|
-
}
|
|
44
|
+
Context context = InstrumentationBackend.instrumentation.getTargetContext();
|
|
52
45
|
|
|
53
46
|
try {
|
|
54
47
|
InputMethodManager inputMethodManager = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
|
|
@@ -59,4 +52,4 @@ public class KeyboardEnterText implements Action {
|
|
|
59
52
|
throw new RuntimeException(e);
|
|
60
53
|
}
|
|
61
54
|
}
|
|
62
|
-
}
|
|
55
|
+
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: calabash-android
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.22.
|
|
4
|
+
version: 0.4.22.pre4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonas Maturana Larsen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-04-
|
|
11
|
+
date: 2014-04-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber
|