Skip to content
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

[DO NOT MERGE] TFM net9.0 #850

Draft
wants to merge 71 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
37a66e7
net9.0
moljac Feb 21, 2024
f2ed288
net9.0 fixes
moljac Feb 21, 2024
daa9660
agent dotnet version
moljac Feb 21, 2024
bc9f982
Merge branch 'main' into mu-20240220-tfm-net90
moljac Feb 21, 2024
363a5e0
Update global.json
moljac Feb 21, 2024
524815e
Update build.yml
moljac Feb 21, 2024
fbb35bc
file renamed for net9.0
moljac Feb 22, 2024
b4c8f57
metadatq fixes
moljac Feb 22, 2024
934b8fa
nuget fixes
moljac Feb 22, 2024
300418d
Update build.cake
moljac Feb 22, 2024
d1cc416
Update build.cake
moljac Feb 23, 2024
667ce5f
Merge branch 'main' into mu-20240220-tfm-net90
moljac Feb 23, 2024
e9c8b21
Merge branch 'main' into mu-20240220-tfm-net90
moljac Feb 25, 2024
c644a41
added AndroidManifest.xml to the root of the project to fix errors
moljac Feb 25, 2024
0650707
renamed AndroidManifest.xml
moljac Feb 25, 2024
c1e6d88
Merge branch 'main' into mu-20240220-tfm-net90
moljac Mar 2, 2024
58c2447
Merge branch 'main' into mu-20240220-tfm-net90
moljac Mar 21, 2024
d7e1245
Merge branch 'main' into mu-20240220-tfm-net90
moljac Apr 13, 2024
854aaff
Merge branch 'main' into mu-20240220-tfm-net90
moljac Apr 19, 2024
70b1662
Merge branch 'main' into mu-20240220-tfm-net90
moljac May 1, 2024
7d585a2
Merge branch 'main' into mu-20240220-tfm-net90
moljac May 2, 2024
dec3a46
samples fixed
moljac May 7, 2024
54dbd73
Merge branch 'main' into mu-20240220-tfm-net90
moljac May 9, 2024
49ec27a
automatic files
moljac May 10, 2024
9149f8b
Merge branch 'main' into mu-20240220-tfm-net90
moljac May 17, 2024
d196b0c
Merge branch 'main' into mu-20240220-tfm-net90
moljac Jun 3, 2024
99b2121
Update published-namespaces.txt
moljac Jun 4, 2024
aed9564
Merge branch 'mu-20240220-tfm-net90' of https://github.com/xamarin/An…
moljac Jun 4, 2024
3960b42
Merge branch 'main' into mu-20240220-tfm-net90
moljac Jun 7, 2024
52882a5
bum dotnet to preview 9.0.100-preview.4
moljac Jun 7, 2024
fd39db8
automagic files
moljac Jun 7, 2024
c392d19
Merge branch 'mu-20240220-tfm-net90' of https://github.com/xamarin/An…
moljac Jun 7, 2024
19246ca
typos fixed
moljac Jun 7, 2024
d09a234
Update setup-environment.yml
moljac Jun 7, 2024
ed355f6
Merge branch 'main' into mu-20240220-tfm-net90
moljac Jun 12, 2024
c83ea9b
Merge branch 'main' into mu-20240220-tfm-net90
moljac Jun 14, 2024
69baef1
samples fixed
moljac Jun 15, 2024
abbb3d4
Merge branch 'main' into mu-20240220-tfm-net90
moljac Jun 30, 2024
24533e4
Merge branch 'main' into mu-20240220-tfm-net90
moljac Jul 8, 2024
03912f5
Merge branch 'main' into mu-20240220-tfm-net90
moljac Jul 13, 2024
dc17d44
automatic files
moljac Jul 21, 2024
855a04f
Merge branch 'mu-20240220-tfm-net90' of https://github.com/xamarin/An…
moljac Jul 21, 2024
3b29b6b
Merge branch 'main' into mu-20240220-tfm-net90
moljac Jul 30, 2024
f8cdfca
Merge branch 'main' into mu-20240220-tfm-net90
moljac Oct 1, 2024
e9e7ab3
"excludedRuntimeDependencies": "androidx.emoji2.emoji2"
moljac Oct 2, 2024
274234f
dotnet bump to 9.0.100-rc.1.24452.12
moljac Oct 3, 2024
eceaac5
dotnetVersion: '9.0.0-rc.1'
moljac Oct 3, 2024
4242b63
CI fixes
moljac Oct 3, 2024
332a4c3
sdk version fix
moljac Oct 3, 2024
5c82eee
parameters fixes
moljac Oct 3, 2024
e0dc83b
workloads.json
moljac Oct 3, 2024
e561931
Fix for Kotlin issue
jpobst Oct 3, 2024
3b36c85
Merge branch 'main' into mu-20240220-tfm-net90
moljac Oct 9, 2024
9d160bc
Merge branch 'main' into mu-20240220-tfm-net90
moljac Oct 10, 2024
daf9101
rc2
moljac Oct 11, 2024
a380608
metadata fixes
moljac Oct 11, 2024
9880350
Merge branch 'main' into mu-20240220-tfm-net90
moljac Oct 14, 2024
34d395f
Merge branch 'main' into mu-20240220-tfm-net90
moljac Oct 22, 2024
439714d
grpc fixes
moljac Oct 23, 2024
71da063
Merge branch 'main' into mu-20240220-tfm-net90
moljac Oct 23, 2024
9cca6d3
Merge branch 'main' into mu-20240220-tfm-net90
moljac Oct 26, 2024
abf1ffe
Merge branch 'main' into mu-20240220-tfm-net90
moljac Nov 14, 2024
221ffb2
Merge branch 'main' into mu-20240220-tfm-net90
moljac Dec 17, 2024
ea65769
Merge branch 'main' into mu-20240220-tfm-net90
moljac Dec 19, 2024
42477ad
Merge branch 'main' into mu-20240220-tfm-net90
moljac Jan 9, 2025
4b98ef7
Merge branch 'main' into mu-20240220-tfm-net90
moljac Jan 17, 2025
1a58073
Merge branch 'main' into mu-20240220-tfm-net90
moljac Feb 3, 2025
88ae83e
Merge branch 'main' into mu-20240220-tfm-net90
moljac Feb 24, 2025
86eeb7c
Merge branch 'main' into mu-20240220-tfm-net90
moljac Mar 4, 2025
bdda4bb
Merge branch 'main' into mu-20240220-tfm-net90
moljac Mar 13, 2025
a8f29f7
Merge branch 'main' into mu-20240220-tfm-net90
moljac Mar 23, 2025
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
11 changes: 5 additions & 6 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
<RepositoryCommit>$(BUILD_SOURCEVERSION)</RepositoryCommit>

<!-- Default TFM's we build for -->
<_DefaultTargetFrameworks>net8.0-android</_DefaultTargetFrameworks>
<_DefaultNetTargetFrameworks>net8.0</_DefaultNetTargetFrameworks>

<_DefaultTargetFrameworks>net9.0-android</_DefaultTargetFrameworks>
<_DefaultNetTargetFrameworks>net9.0</_DefaultNetTargetFrameworks>
<!-- Enable DIM/SIM for Classic (defaults to true on .NET) -->
<AndroidBoundInterfacesContainStaticAndDefaultInterfaceMethods>true</AndroidBoundInterfacesContainStaticAndDefaultInterfaceMethods>

Expand Down Expand Up @@ -83,13 +82,13 @@

<!-- Folders that .targets files need to go into -->
<ItemGroup>
<AndroidXNuGetTargetFolders Include="build\net8.0-android34.0" />
<AndroidXNuGetTargetFolders Include="buildTransitive\net8.0-android34.0" />
<AndroidXNuGetTargetFolders Include="build\net9.0-android34.0" />
<AndroidXNuGetTargetFolders Include="buildTransitive\net9.0-android34.0" />
</ItemGroup>

<!-- Folders that _._ files need to go into for packages without managed libraries -->
<ItemGroup>
<AndroidXNuGetLibFolders Include="lib\net8.0-android34.0" />
<AndroidXNuGetLibFolders Include="lib\net9.0-android34.0" />
</ItemGroup>

<ItemGroup>
Expand Down
49 changes: 9 additions & 40 deletions build/ci/setup-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,46 +15,15 @@ steps:
includePreviewVersions: true
condition: ne('$(dotnetVersion)', '')

- ${{ if eq(parameters.runDotnetNextTest, true) }}:
- task: UseDotNet@2
displayName: 'Use dotnet $(dotnetNextVersion)'
inputs:
version: $(dotnetNextVersion)
performMultiLevelLookup: true
includePreviewVersions: true

- ${{ each tool in parameters.dotnetTools }}:
- ${{ each pair in tool }}:
- pwsh: dotnet tool update -g ${{ pair.key }} --version ${{ pair.value }}
displayName: 'Install tool: ${{ pair.key }}'

- ${{ if eq(parameters.runDotnetNextTest, true) }}:
- pwsh: |
dotnet cake -t=dotnet-next `
--dotnet-version="$(dotnetNextVersion)" `
--framework-version="$(dotnetNextFrameworkVersion)" `
--api-level-version="$(dotnetNextApiLevel)"
displayName: Set up dotnet-next test changes

- ${{ if eq(parameters.runDotnetNextTest, false) }}:
- pwsh: |
dotnet workload install maui --verbosity diag --from-rollback-file $(dotnetWorkloadRollbackFile) --source $(dotnetWorkloadSource) --source $(dotnetNuGetOrgSource)
if ($LASTEXITCODE -ne 0) {
Write-Host "##vso[task.logissue type=error]Failed to install workloads."
Write-Host "##vso[task.complete result=Failed;]"
exit 0
}
displayName: Install .NET Workloads

- ${{ if eq(parameters.runDotnetNextTest, true) }}:
- pwsh: |
dotnet workload install maui --verbosity diag
if ($LASTEXITCODE -ne 0) {
Write-Host "##vso[task.logissue type=error]Failed to install workloads."
Write-Host "##vso[task.complete result=Failed;]"
exit 0
}
displayName: Install Preview .NET Workloads
- pwsh: |
dotnet workload install android --verbosity diag --from-rollback-file $(dotnetWorkloadRollbackFile) --source $(dotnetWorkloadSource) --source $(dotnetNuGetOrgSource)
dotnet workload install maui --verbosity diag --from-rollback-file $(dotnetWorkloadRollbackFile) --source $(dotnetWorkloadSource) --source $(dotnetNuGetOrgSource)
if ($LASTEXITCODE -ne 0) {
Write-Host "##vso[task.logissue type=error]Failed to install workloads."
Write-Host "##vso[task.complete result=Failed;]"
exit 0
}
displayName: Install .NET Workloads

- bash: |
if [[ "$(Agent.Name)" == *"Azure Pipelines"* ]]; then
Expand Down
2 changes: 1 addition & 1 deletion build/ci/variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ variables:
macosAgentPoolName: VSEng-VSMac-Xamarin-Shared # macOS VM pool name

# Tool variables
dotnetVersion: '8.0.407' # .NET version to install on agent
dotnetVersion: '9.0.201' # .NET version to install on agent
dotnetWorkloadRollbackFile: 'workloads.json' # Rollback file specifying workload versions to install
dotnetNuGetOrgSource: 'https://api.nuget.org/v3/index.json' # NuGet.org URL to find workloads
dotnetWorkloadSource: 'https://aka.ms/dotnet6/nuget/index.json' # .NET engineering URL to find workloads
Expand Down
1,332 changes: 666 additions & 666 deletions docs/artifact-list-with-versions.md

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions docs/buildtoolsinventory.csv
Original file line number Diff line number Diff line change
@@ -1,19 +0,0 @@
BuildToolName,BuildToolVersion
dotnet sdk, 8.0.400
dotnet sdk, patch
msbuild-sdks MSBuild.Sdk.Extras, 3.0.44
msbuild-sdks Microsoft.Build.Traversal, 4.1.0
msbuild-sdks Microsoft.Build.NoTargets, 3.7.56
msbuild-sdks Xamarin.Legacy.Sdk, 0.2.0-alpha4
Mono JIT compiler, 6.12.0.188 (2020-02/ca8abcb6bc4 Thu Oct 13 14:26:22 EDT 2022)
nuget, 6.3.1.1
private-api-tools,1.0.3
xamarin.androidbinderator.tool,0.5.7
Gradle, 8.10.2
Kotlin, 1.9.24
Groovy, 3.0.22
Ant, Apache Ant(TM) version 1.10.14 compiled on August 16 2023
JVM, Launcher 11.0.24 (Eclipse Adoptium 11.0.24+8)
JVM, Daemon /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.24-8/x64/Contents/Home (no JDK specified, using current Java home)
openjdk, 11.0.24 2024-07-16
javac, 11.0.24
23 changes: 0 additions & 23 deletions docs/buildtoolsinventory.md
Original file line number Diff line number Diff line change
@@ -1,23 +0,0 @@
# Executive Order Build Tools Inventory

./buildtoolsinventory.csv

```
{
"sdk":
{
"version": "8.0.400",
"rollForward": "patch"
},
"msbuild-sdks":
{
"MSBuild.Sdk.Extras": "3.0.44",
"Microsoft.Build.Traversal": "4.1.0",
"Microsoft.Build.NoTargets": "3.7.56",
"Xamarin.Legacy.Sdk": "0.2.0-alpha4"
}
}

```
version8.0.400
rollForwardpatch
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk":
{
"version": "8.0.407",
"version": "9.0.201",
"rollForward": "patch"
},
"msbuild-sdks":
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<values>
<value name="StillAlive" type="qword">133595683463017070</value>
</values>
3 changes: 3 additions & 0 deletions samples/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Project>
<Import Project="../output/Directory.packages.props" />
</Project>
26 changes: 26 additions & 0 deletions samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>

<!-- Some packages specify a minimum of 28 (eg: Xamarin.AndroidX.HeifWriter) -->
<SupportedOSPlatformVersion>28</SupportedOSPlatformVersion>
<OutputType>Exe</OutputType>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ApplicationId>com.companyname.BuildAllDotNet</ApplicationId>
<ApplicationVersion>1</ApplicationVersion>
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>

<!-- Override property from 'Directory.Build.props' -->
<AndroidGenerateResourceDesigner>true</AndroidGenerateResourceDesigner>

<!-- Prevent linking, since that would remove ~everything -->
<PublishTrimmed>False</PublishTrimmed>
<RunAOTCompilation>False</RunAOTCompilation>
<JavaMaximumHeapSize>4G</JavaMaximumHeapSize>
</PropertyGroup>

<Import Project="..\..\..\output\AllPackages.targets" />

</Project>
83 changes: 83 additions & 0 deletions samples/dotnet/BuildAllMauiApp/BuildAllMauiApp.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>BuildAllMauiApp</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>

<!-- Display name -->
<ApplicationTitle>BuildAllMauiApp</ApplicationTitle>

<!-- App Identifier -->
<ApplicationId>com.companyname.buildallmauiapp</ApplicationId>
<ApplicationIdGuid>bf82dcee-2471-4ec8-856a-a3d17e578c8e</ApplicationIdGuid>

<!-- Versions -->
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">28.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
</PropertyGroup>

<PropertyGroup
Condition="$(TargetFramework.EndsWith('-android')) == true"
>
<JavaMaximumHeapSize>4G</JavaMaximumHeapSize>
</PropertyGroup>

<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />

<!-- Splash Screen -->
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />

<!-- Images -->
<MauiImage Include="Resources\Images\*" />
<MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />

<!-- Custom Fonts -->
<MauiFont Include="Resources\Fonts\*" />

<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>

<Import
Condition="$(TargetFramework.StartsWith('net8.0-android')) == true"
Project="..\..\..\output\AllPackages.targets"
/>

<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" />
</ItemGroup>

<!--
./samples/dotnet/BuildAllMauiApp/BuildAllMauiApp.csproj :
error NU1605: Detected package downgrade: Xamarin.AndroidX.Security.SecurityCrypto from 1.1.0-alpha03 to 1.0.0.7.
Reference the package directly from the project to select a different version.
[./samples/dotnet/BuildAllMauiApp.sln]
./samples/dotnet/BuildAllMauiApp/BuildAllMauiApp.csproj :
error NU1605: BuildAllMauiApp -> Microsoft.Maui.Dependencies 6.0.312 -> Xamarin.AndroidX.Security.SecurityCrypto (>= 1.1.0-alpha03)
[./samples/dotnet/BuildAllMauiApp.sln]
./samples/dotnet/BuildAllMauiApp/BuildAllMauiApp.csproj :
error NU1605: BuildAllMauiApp -> Xamarin.AndroidX.Security.SecurityCrypto (>= 1.0.0.7)
[./samples/dotnet/BuildAllMauiApp.sln]
-->
<ItemGroup
Condition="$(TargetFramework.StartsWith('net8.0-android')) == true"
>
<PackageReference Update="Xamarin.AndroidX.Security.SecurityCrypto" Version="[1.1.0.1-alpha06]" />
<PackageReference Update="Xamarin.AndroidX.Security.SecurityCrypto.Ktx" Version="[1.1.0.1-alpha06]" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.companyname.buildallmauiapp" android:versionCode="1" android:versionName="1.0">
<application android:allowBackup="true" android:icon="@mipmap/appicon" android:supportsRtl="true" android:largeHeap="true" android:label="BuildAllMauiApp"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="34" />
</manifest>
15 changes: 15 additions & 0 deletions samples/dotnet/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Project>
<Import Project="..\Directory.Packages.props"/>

<ItemGroup>
<PackageVersion Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageVersion Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
<PackageVersion Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0-preview.3.24172.9" />
</ItemGroup>
<ItemGroup>
<PackageVersion Include="Xamarin.Forms" Version="5.0.0.2612" />
<PackageVersion Include="Xamarin.Essentials" Version="1.8.0" />
<PackageVersion Include="Xamarin.Google.Guava.ListenableFuture" Version="1.0.0.16" />
<PackageVersion Include="Xamarin.AndroidX.Browser" Version="1.6.0.2" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,34 @@ namespace AndroidX.Media3.ExoPlayer;
internal partial class IExoPlayerInvoker
{
// These invokers are generated with IList<global::AndroidX.Media3.Common.MediaItem> instead of IList<MediaItem>
static Delegate? cb_addMediaItems_ILSystem_Collections_Generic_IList_1_;
static Delegate? cb_addMediaItems_AddMediaItems_ILSystem_Collections_Generic_IList_1__V;
#pragma warning disable 0169
static Delegate GetAddMediaItems_ILSystem_Collections_Generic_IList_1_Handler ()
{
if (cb_addMediaItems_ILSystem_Collections_Generic_IList_1_ == null)
cb_addMediaItems_ILSystem_Collections_Generic_IList_1_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPIL_V (n_AddMediaItems_ILSystem_Collections_Generic_IList_1_));
return cb_addMediaItems_ILSystem_Collections_Generic_IList_1_;
if (cb_addMediaItems_AddMediaItems_ILSystem_Collections_Generic_IList_1__V == null)
cb_addMediaItems_AddMediaItems_ILSystem_Collections_Generic_IList_1__V = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPIL_V (n_AddMediaItems_ILSystem_Collections_Generic_IList_1_));
return cb_addMediaItems_AddMediaItems_ILSystem_Collections_Generic_IList_1__V;
}

static void n_AddMediaItems_ILSystem_Collections_Generic_IList_1_ (IntPtr jnienv, IntPtr native__this, int p0, IntPtr native_p1)
{
var __this = global::Java.Lang.Object.GetObject<global::AndroidX.Media3.ExoPlayer.IExoPlayer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer)!;
var p1 = (global::System.Collections.Generic.IList<global::AndroidX.Media3.Common.MediaItem> ?)global::Java.Lang.Object.GetObject <Java.Lang.Object> (native_p1, JniHandleOwnership.DoNotTransfer);
var p1 = (global::System.Collections.Generic.IList`1?)global::Java.Lang.Object.GetObject<global::System.Collections.Generic.IList`1> (native_p1, JniHandleOwnership.DoNotTransfer);
__this.AddMediaItems (p0, p1);
}
#pragma warning restore 0169

IntPtr id_addMediaItems_ILSystem_Collections_Generic_IList_1_;
public unsafe void AddMediaItems (int p0, global::System.Collections.Generic.IList<global::AndroidX.Media3.Common.MediaItem>? p1)
public unsafe void AddMediaItems (int p0, global::System.Collections.Generic.IList`1? p1)
{
if (id_addMediaItems_ILSystem_Collections_Generic_IList_1_ == IntPtr.Zero)
id_addMediaItems_ILSystem_Collections_Generic_IList_1_ = JNIEnv.GetMethodID (class_ref, "addMediaItems", "(ILSystem/Collections/Generic/IList<global::AndroidX.Media3.Common.MediaItem>;)V");
JValue* __args = stackalloc JValue [2];
__args [0] = new JValue (p0);
__args [1] = new JValue ((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object) p1).Handle);
JNIEnv.CallVoidMethod (((global::Java.Lang.Object) this).Handle, id_addMediaItems_ILSystem_Collections_Generic_IList_1_, __args);
const string __id = "addMediaItems.(ILSystem/Collections/Generic/IList`1;)V";
try {
JniArgumentValue* __args = stackalloc JniArgumentValue [2];
__args [0] = new JniArgumentValue (p0);
__args [1] = new JniArgumentValue ((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object) p1).Handle);
_members_androidx_media3_common_Player.InstanceMethods.InvokeAbstractVoidMethod (__id, this, __args);
} finally {
global::System.GC.KeepAlive (p1);
}
}

static Delegate? cb_addMediaItems_LSystem_Collections_Generic_IList_1_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
name="skipInvokerMethods"
>
androidx/media3/common/Player.addMediaItems(ILSystem/Collections/Generic/IList`1;)V
<!--
androidx/media3/common/Player.addMediaItems(LSystem/Collections/Generic/IList`1;)V
-->
androidx/media3/common/Player.setMediaItems(LSystem/Collections/Generic/IList`1;)V
androidx/media3/common/Player.setMediaItems(LSystem/Collections/Generic/IList`1;Z)V
androidx/media3/common/Player.setMediaItems(LSystem/Collections/Generic/IList`1;IJ)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
>
Java.Lang.Object
</attr>
<remove-node
path="/api/package[@name='androidx.wear.protolayout.expression']/interface[@name='DynamicBuilders.DynamicZonedDateTime']"
/>

<remove-node
path="/api/package[@name='androidx.wear.protolayout.expression']/interface[@name='DynamicBuilders.DynamicZonedDateTime']"
Expand Down
Loading