Commit a3267e3
authored
[Xamarin.Android.Build.Tests] Fix Lint Warnings (#3356)
We can get into a situation where we dont
support a new api level, BUT our tooling
installed it in the `platforms` folder of
the SDK.
This means we get the following warning
warning XA0102: Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details. [OldTargetApi]
What we need to do in the test is ignore this
warning, IF we are in that particular situation.1 parent 9814267 commit a3267e3
File tree
2 files changed
+25
-1
lines changed- src/Xamarin.Android.Build.Tasks/Tests
- Xamarin.Android.Build.Tests
- Xamarin.ProjectTools/Common
2 files changed
+25
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1545 | 1545 | | |
1546 | 1546 | | |
1547 | 1547 | | |
| 1548 | + | |
| 1549 | + | |
1548 | 1550 | | |
1549 | 1551 | | |
1550 | 1552 | | |
| |||
1553 | 1555 | | |
1554 | 1556 | | |
1555 | 1557 | | |
1556 | | - | |
| 1558 | + | |
1557 | 1559 | | |
1558 | 1560 | | |
1559 | 1561 | | |
| |||
1581 | 1583 | | |
1582 | 1584 | | |
1583 | 1585 | | |
| 1586 | + | |
1584 | 1587 | | |
1585 | 1588 | | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
1586 | 1592 | | |
1587 | 1593 | | |
1588 | 1594 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
238 | 256 | | |
239 | 257 | | |
240 | 258 | | |
| |||
0 commit comments