calabash-android 0.4.9.pre1 → 0.4.9.pre2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3fab2a76c6cc2a3bf77ae148335958aff340aee
|
4
|
+
data.tar.gz: 3c226619ad79a99a983804ce4d1beb5493dc2fa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 089f8c510215dd629d917750ba4da0331f6e10581f94e2791552e7736d04eb9b6870f04f40b71afafc5392149c0855db5a4b83b2ff33a5446cdc881516971c31
|
7
|
+
data.tar.gz: 6cf4519e2285e506875f58a72d84c8f05912cb6c2a27f1edda1947bd9d9370f649fb3be8da93a2b2932adda633199723a2a01f8180b4e987aa25e50dc7513a76
|
Binary file
|
@@ -48,19 +48,23 @@ public class CalabashChromeClient extends WebChromeClient {
|
|
48
48
|
*/
|
49
49
|
Field field = getChromeClientField(webView.getClass());
|
50
50
|
if (field == null) {
|
51
|
-
|
51
|
+
mWebChromeClient = null;
|
52
52
|
}
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
e
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
53
|
+
else {
|
54
|
+
try {
|
55
|
+
field.setAccessible(true);
|
56
|
+
mWebChromeClient = (WebChromeClient) field.get(webView);
|
57
|
+
} catch (IllegalArgumentException e) {
|
58
|
+
e.printStackTrace();
|
59
|
+
throw new UnableToFindChromeClientException(e, webView);
|
60
|
+
} catch (IllegalAccessException e) {
|
61
|
+
|
62
|
+
e.printStackTrace();
|
63
|
+
throw new UnableToFindChromeClientException(e, webView);
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
|
64
68
|
}
|
65
69
|
|
66
70
|
if ( Looper.getMainLooper().getThread() == Thread.currentThread()) {
|