Commit 25b68e1
Remove NetworkEventUtil compatibility overloads (facebook#55769)
Summary:
Pull Request resolved: facebook#55769
Follows facebook#55706.
Updates the signature of `onCreateRequest`, and removes legacy `onCreateRequest` and `onResponseReceived` overloads — effectively de-OkHttp-ing this internal API.
Changelog: [Internal]
Reviewed By: javache
Differential Revision: D94510863
fbshipit-source-id: ce438af6e1cd352ce7afff5588621612e03f5cf91 parent e32ed79 commit 25b68e1
File tree
2 files changed
+19
-69
lines changed- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/network
2 files changed
+19
-69
lines changedLines changed: 4 additions & 68 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 26 | | |
55 | 27 | | |
56 | 28 | | |
57 | 29 | | |
58 | 30 | | |
59 | 31 | | |
60 | | - | |
| 32 | + | |
| 33 | + | |
61 | 34 | | |
62 | 35 | | |
63 | 36 | | |
| |||
66 | 39 | | |
67 | 40 | | |
68 | 41 | | |
69 | | - | |
| 42 | + | |
70 | 43 | | |
71 | 44 | | |
72 | 45 | | |
| |||
256 | 229 | | |
257 | 230 | | |
258 | 231 | | |
259 | | - | |
260 | 232 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
| 233 | + | |
298 | 234 | | |
299 | 235 | | |
300 | 236 | | |
| |||
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
603 | 604 | | |
604 | 605 | | |
605 | 606 | | |
606 | | - | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
607 | 621 | | |
608 | 622 | | |
609 | 623 | | |
| |||
0 commit comments