Skip to content

Commit

Permalink
Made KnownVersions public
Browse files Browse the repository at this point in the history
KnownVersions should be the only place we modify when new versions are
published. AndroidVersions right now provides information on what's
installed and what's supported, but not what exists. For Android
Manifest we also need to know what exists because Minimum Android
Version and Target may be anything (regardless of what the compile
version is). This is related to:
https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems/edit/777180
  • Loading branch information
joj committed Jan 25, 2019
1 parent 9e78d6e commit 10c3d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Xamarin.Android.Tools.AndroidSdk/AndroidVersions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public string GetFrameworkVersionFromId (string id)
KnownVersions.FirstOrDefault (v => MatchesId (v, id))?.FrameworkVersion;
}

static readonly AndroidVersion [] KnownVersions = new [] {
public static readonly AndroidVersion [] KnownVersions = new [] {
new AndroidVersion (4, "1.6", "Donut"),
new AndroidVersion (5, "2.0", "Eclair"),
new AndroidVersion (6, "2.0.1", "Eclair"),
Expand Down

0 comments on commit 10c3d50

Please sign in to comment.