-
Notifications
You must be signed in to change notification settings - Fork 564
[Mono.Android] Bind Android 14 DP 1. #7796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
438b292
6b60a33
597bbce
795f463
aa096b9
e40ef00
923924f
1846ec9
60b6634
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,7 +58,7 @@ variables: | |
| - name: ExcludedNUnitCategories | ||
| value: '& cat != DotNetIgnore & cat != HybridAOT & cat != MkBundle & cat != MonoSymbolicate & cat != PackagesConfig & cat != StaticProject & cat != SystemApplication' | ||
| - name: DefaultTestSdkPlatforms # Comma-separated SDK Platform(s) to install on test agents (no spaces) | ||
| value: 33 | ||
| value: 33,UpsideDownCake | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. UpsideDownCake is required for tests?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, there are some tests to ensure users can build with our unstable packages. |
||
| - ${{ if eq(variables['Build.DefinitionName'], 'Xamarin.Android-Private') }}: | ||
| - group: AzureDevOps-Artifact-Feeds-Pats | ||
| - group: DotNet-MSRC-Storage | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,11 @@ | ||
| <PoliCheckExclusions> | ||
| <!-- Each of these exclusions is a folder name - if \[name]\ exists in the file path, it will be skipped --> | ||
| <Exclusion Type="FolderPathFull">LICENSE-DATA|NREFACTORY|LOCALIZE</Exclusion> | ||
| <Exclusion Type="FolderPathStart">src\Mono.Android\Profiles</Exclusion> | ||
| <!-- Each of these exclusions is a folder name - if any folder or file starts with "\[name]", it will be skipped --> | ||
| <!--<Exclusion Type="FolderPathStart">ABC|XYZ</Exclusion>--> | ||
| <!-- Each of these file types will be completely skipped for the entire scan --> | ||
| <!--<Exclusion Type="FileType">.ABC|.XYZ</Exclusion>--> | ||
| <!-- The specified file names will be skipped during the scan regardless which folder they are in --> | ||
| <Exclusion Type="FileName">REMAINING-INT-CONSTS.TXT|TAIWANCALENDAR.XML|XAMARIN-ANDROID-SDK-9.XML|SQLITE3.C|MAP.CSV|METHODMAP.EXT.CSV|EXTERNALWHITELIST.CSV|SYMBOLARCHIVEWHITELIST.CSV|POLICHECK.EXCLUSIONS.xml | ||
| |API-10.PARAMS.TXT|API-15.PARAMS.TXT|API-16.PARAMS.TXT|API-17.PARAMS.TXT|API-18.PARAMS.TXT|API-19.PARAMS.TXT|API-20.PARAMS.TXT|API-21.PARAMS.TXT|API-22.PARAMS.TXT|API-23.PARAMS.TXT|API-24.PARAMS.TXT | ||
| |API-25.PARAMS.TXT|API-26.PARAMS.TXT|API-27.PARAMS.TXT|API-28.PARAMS.TXT|API-29.PARAMS.TXT|API-30.PARAMS.TXT|API-31.PARAMS.TXT|API-32.PARAMS.TXT|API-33.PARAMS.TXT | ||
| </Exclusion> | ||
| <Exclusion Type="FileName">REMAINING-INT-CONSTS.TXT|TAIWANCALENDAR.XML|XAMARIN-ANDROID-SDK-9.XML|SQLITE3.C|MAP.CSV|METHODMAP.EXT.CSV|EXTERNALWHITELIST.CSV|SYMBOLARCHIVEWHITELIST.CSV|POLICHECK.EXCLUSIONS.xml</Exclusion> | ||
| </PoliCheckExclusions> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| using System; | ||
| using Android.Runtime; | ||
|
|
||
| namespace Android.Graphics | ||
| { partial class PathIterator | ||
| { | ||
|
|
||
| #if ANDROID_34 | ||
| // This implements an interface method that should be marked as 'default' but isn't. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Might be useful to link to: https://developer.android.com/reference/java/util/Iterator#remove() |
||
| // https://developer.android.com/reference/java/util/Iterator#remove() | ||
| public void Remove () | ||
| { | ||
| throw new Java.Lang.UnsupportedOperationException (); | ||
| } | ||
| #endif | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this task work in a .NET Android world order?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently not! 😁
It appears we only run ApiCompat against the stable API platform on .NET. This is something that will need to be fixed, but will be much easier once Classic has been removed from
main. I propose we prioritize this work for later. I ran it manually locally, so the breakages included in this PR are correct, but CI will not be able to verify them until then.At the very worst, the PR in ~June that marks API-34 stable will check it with today's ApiCompat.