Commit 3432ea1
committed
Analysis: Suppress connectivity manager & network info deprecated warns
Warning Messages:
- "'CONNECTIVITY_ACTION: String' is deprecated. Deprecated in Java"
- "'getter for type: Int' is deprecated. Deprecated in Java"
- "'TYPE_WIFI: Int' is deprecated. Deprecated in Java"
- "'TYPE_MOBILE: Int' is deprecated. Deprecated in Java"
- "'getter for activeNetworkInfo: NetworkInfo?' is deprecated.
Deprecated in Java"
- "'getter for isConnected: Boolean' is deprecated.
Deprecated in Java"
These deprecated warnings are suppressed, that is, instead of being
resolved, since a resolution would require a proper migration.
For more info see:
- Compiler Warnings as Errors - WordPress Module -
Connectivity Manager & Network Info #17230 (Issue):
#172301 parent a58a9a4 commit 3432ea1
3 files changed
Lines changed: 9 additions & 6 deletions
File tree
- WordPress/src/main/java/org/wordpress/android
- support
- viewmodel/helpers
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
| 771 | + | |
771 | 772 | | |
772 | 773 | | |
773 | 774 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
| 478 | + | |
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| |||
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
| |||
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
| 26 | + | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
40 | | - | |
| 38 | + | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments