Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public AndroidToolchain ()
new AndroidPlatformComponent ("platform-28_r04", apiLevel: "28", pkgRevision: "4"),
new AndroidPlatformComponent ("platform-29_r01", apiLevel: "29", pkgRevision: "1"),
new AndroidPlatformComponent ("platform-30_r01", apiLevel: "30", pkgRevision: "1"),
new AndroidPlatformComponent ("platform-S_r05", apiLevel: "S", pkgRevision: "5"),
new AndroidPlatformComponent ("platform-31_r01", apiLevel: "S", pkgRevision: "1"),

new AndroidToolchainComponent ("sources-30_r01", destDir: Path.Combine ("platforms", $"android-30", "src"), pkgRevision: "1", dependencyType: AndroidToolchainComponentType.BuildDependency),

Expand Down
21 changes: 21 additions & 0 deletions src/Mono.Android/Android.Telephony/AccessNetworkTypes.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Android.Telephony
{
#if ANDROID_31
// These constants were added in API-28 and were missed in enumification.
// Make an enum now because some new API-31 methods use them.
public enum AccessNetworkTypes
{
Unknown = 0,
Geran = 1,
Utran = 2,
Eutran = 3,
Cdma2000 = 4,
Iwlan = 5,
Ngran = 6
}
#endif
}
Loading