Merge branch 'main' into mu-20240205-tfm-net80-material-1.11.0

This commit is contained in:
moljac 2024-04-22 23:27:54 +02:00 коммит произвёл GitHub
Родитель aeece21684 718dd86dfc
Коммит 70dbaed8d0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
9 изменённых файлов: 37 добавлений и 34 удалений

Просмотреть файл

@ -10,7 +10,7 @@
<!-- Use an updated 'generator' -->
<!-- It's ok to use "Windows" here because we only use managed code from this package -->
<_BindingsToolsLocation>$(MSBuildThisFileDirectory)/tools/Microsoft.Android.Sdk.Windows.34.0.43/tools/</_BindingsToolsLocation>
<_BindingsToolsLocation>$(MSBuildThisFileDirectory)/tools/Microsoft.Android.Sdk.Windows.34.0.95/tools/</_BindingsToolsLocation>
<!-- Enable DIM/SIM for Classic (defaults to true on .NET) -->
<AndroidBoundInterfacesContainStaticAndDefaultInterfaceMethods>true</AndroidBoundInterfacesContainStaticAndDefaultInterfaceMethods>

Просмотреть файл

@ -19,12 +19,12 @@ variables:
# Windows specific variables
windowsAgentPoolName: Maui-1ESPT # Windows VM pool name
windowsImage: 1ESPT-Windows2022 # Windows VM image name
windowsClassicInstaller: https://aka.ms/xamarin-android-commercial-d17-4-windows # Windows Classic XA installer URL
windowsClassicInstaller: https://aka.ms/xamarin-android-commercial-d17-8-windows # Windows Classic XA installer URL
# macOS specific variables
macosAgentPoolName: Azure Pipelines # macOS VM pool name
macosImage: internal-macos12 # macOS VM image name
macosClassicInstaller: https://aka.ms/xamarin-android-commercial-d17-4-macos # macOS Classic XA installer URL
macosClassicInstaller: https://aka.ms/xamarin-android-commercial-d17-8-macos # macOS Classic XA installer URL
resources:
repositories:

Просмотреть файл

@ -2,13 +2,13 @@
#tool nuget:?package=vswhere&version=3.1.7
#tool nuget:?package=Cake.CoreCLR
#tool nuget:?package=Microsoft.Android.Sdk.Windows&version=34.0.43
#tool nuget:?package=Microsoft.Android.Sdk.Windows&version=34.0.95
// Cake Addins
#addin nuget:?package=Cake.FileHelpers&version=7.0.0
#addin nuget:?package=Newtonsoft.Json&version=13.0.3
#addin nuget:?package=Cake.MonoApiTools&version=3.0.5
#addin nuget:?package=CsvHelper&version=30.1.0
#addin nuget:?package=CsvHelper&version=31.0.3
#addin nuget:?package=SharpZipLib&version=1.4.2
// #addin nuget:?package=NuGet.Protocol&loaddependencies=true&version=5.6.0

Просмотреть файл

@ -12,18 +12,18 @@ parameters:
runAPIScan: false # Run APIScan analysis
# Tool Parameters
dotnetVersion: '8.0.201' # the version of .NET to use
dotnetVersion: '8.0.204' # the version of .NET to use
dotnetWorkloadRollbackFile: 'workloads.json'
dotnetWorkloadSource: 'https://api.nuget.org/v3/index.json'
dotnetNuGetOrgSource: 'https://api.nuget.org/v3/index.json'
classicXAPkg: https://aka.ms/xamarin-android-commercial-d17-4-macos
classicXAVsix: https://aka.ms/xamarin-android-commercial-d17-4-windows
classicXAPkg: https://aka.ms/xamarin-android-commercial-d17-8-macos
classicXAVsix: https://aka.ms/xamarin-android-commercial-d17-8-windows
skipUnitTests: false # do not run unit test step
tools: # Additional .NET global tools to install
- 'xamarin.androidbinderator.tool': '0.5.7'
- 'Cake.Tool': '4.0.0'
- 'boots': '1.1.0.712-preview2'
- 'boots': '1.1.0.36'
- 'private-api-tools': '1.0.3'
# Reporting/Analysis Parameters
@ -46,6 +46,7 @@ jobs:
- output: pipelineArtifact
targetPath: ${{ parameters.artifactsPath }}
artifactName: output-${{ parameters.name }}
condition: always()
steps:
- template: setup-environment.yml

Просмотреть файл

@ -1255,9 +1255,9 @@
"maven": {
"artifactId": "databinding-adapters",
"groupId": "androidx.databinding",
"version": "8.3.1",
"version": "8.3.2",
"nuGetId": "Xamarin.AndroidX.DataBinding.DataBindingAdapters",
"nuGetVersion": "8.3.1"
"nuGetVersion": "8.3.2"
}
},
"license": "The Apache Software License, Version 2.0"
@ -1268,9 +1268,9 @@
"maven": {
"artifactId": "databinding-common",
"groupId": "androidx.databinding",
"version": "8.3.1",
"version": "8.3.2",
"nuGetId": "Xamarin.AndroidX.DataBinding.DataBindingCommon",
"nuGetVersion": "8.3.1"
"nuGetVersion": "8.3.2"
}
},
"license": "The Apache Software License, Version 2.0"
@ -1281,9 +1281,9 @@
"maven": {
"artifactId": "databinding-runtime",
"groupId": "androidx.databinding",
"version": "8.3.1",
"version": "8.3.2",
"nuGetId": "Xamarin.AndroidX.DataBinding.DataBindingRuntime",
"nuGetVersion": "8.3.1"
"nuGetVersion": "8.3.2"
}
},
"license": "The Apache Software License, Version 2.0"
@ -1294,9 +1294,9 @@
"maven": {
"artifactId": "viewbinding",
"groupId": "androidx.databinding",
"version": "8.3.1",
"version": "8.3.2",
"nuGetId": "Xamarin.AndroidX.DataBinding.ViewBinding",
"nuGetVersion": "8.3.1"
"nuGetVersion": "8.3.2"
}
},
"license": "The Apache Software License, Version 2.0"

Просмотреть файл

@ -808,32 +808,32 @@
{
"groupId": "androidx.databinding",
"artifactId": "databinding-adapters",
"version": "8.3.1",
"nugetVersion": "8.3.1",
"version": "8.3.2",
"nugetVersion": "8.3.2",
"nugetId": "Xamarin.AndroidX.DataBinding.DataBindingAdapters",
"dependencyOnly": false
},
{
"groupId": "androidx.databinding",
"artifactId": "databinding-common",
"version": "8.3.1",
"nugetVersion": "8.3.1",
"version": "8.3.2",
"nugetVersion": "8.3.2",
"nugetId": "Xamarin.AndroidX.DataBinding.DataBindingCommon",
"dependencyOnly": false
},
{
"groupId": "androidx.databinding",
"artifactId": "databinding-runtime",
"version": "8.3.1",
"nugetVersion": "8.3.1",
"version": "8.3.2",
"nugetVersion": "8.3.2",
"nugetId": "Xamarin.AndroidX.DataBinding.DataBindingRuntime",
"dependencyOnly": false
},
{
"groupId": "androidx.databinding",
"artifactId": "viewbinding",
"version": "8.3.1",
"nugetVersion": "8.3.1",
"version": "8.3.2",
"nugetVersion": "8.3.2",
"nugetId": "Xamarin.AndroidX.DataBinding.ViewBinding",
"dependencyOnly": false
},

Просмотреть файл

@ -101,10 +101,10 @@
| 94|androidx.cursoradapter:cursoradapter |1.0.0 |Xamarin.AndroidX.CursorAdapter |1.0.0.23 |
| 95|androidx.customview:customview |1.1.0 |Xamarin.AndroidX.CustomView |1.1.0.22 |
| 96|androidx.customview:customview-poolingcontainer |1.0.0 |Xamarin.AndroidX.CustomView.PoolingContainer |1.0.0.9 |
| 97|androidx.databinding:databinding-adapters |8.3.1 |Xamarin.AndroidX.DataBinding.DataBindingAdapters |8.3.1 |
| 98|androidx.databinding:databinding-common |8.3.1 |Xamarin.AndroidX.DataBinding.DataBindingCommon |8.3.1 |
| 99|androidx.databinding:databinding-runtime |8.3.1 |Xamarin.AndroidX.DataBinding.DataBindingRuntime |8.3.1 |
| 100|androidx.databinding:viewbinding |8.3.1 |Xamarin.AndroidX.DataBinding.ViewBinding |8.3.1 |
| 97|androidx.databinding:databinding-adapters |8.3.2 |Xamarin.AndroidX.DataBinding.DataBindingAdapters |8.3.2 |
| 98|androidx.databinding:databinding-common |8.3.2 |Xamarin.AndroidX.DataBinding.DataBindingCommon |8.3.2 |
| 99|androidx.databinding:databinding-runtime |8.3.2 |Xamarin.AndroidX.DataBinding.DataBindingRuntime |8.3.2 |
| 100|androidx.databinding:viewbinding |8.3.2 |Xamarin.AndroidX.DataBinding.ViewBinding |8.3.2 |
| 101|androidx.datastore:datastore |1.0.0 |Xamarin.AndroidX.DataStore |1.0.0.4 |
| 102|androidx.datastore:datastore-core |1.0.0 |Xamarin.AndroidX.DataStore.Core |1.0.0.4 |
| 103|androidx.datastore:datastore-preferences |1.0.0 |Xamarin.AndroidX.DataStore.Preferences |1.0.0.4 |

Просмотреть файл

@ -1,7 +1,7 @@
{
"sdk":
{
"version": "8.0.201",
"version": "8.0.204",
"rollForward": "patch"
},
"msbuild-sdks":

Просмотреть файл

@ -9,8 +9,10 @@ namespace AndroidX.Browser.CustomTabs
{
public class CustomTabsActivityManager
{
static CustomTabsActivityManager instance;
public static CustomTabsActivityManager From (Activity parentActivity, string servicePackageName = null)
static CustomTabsActivityManager? instance;
[Obsolete ("This method only supports a single parentActivity and caches a reference to it forever. It is recommended to use the CustomTabsActivityManager constructor instead and implement any desired caching in the consuming application.")]
public static CustomTabsActivityManager From (Activity parentActivity, string? servicePackageName = null)
{
if (instance == null) {
instance = new CustomTabsActivityManager (parentActivity);
@ -22,8 +24,8 @@ namespace AndroidX.Browser.CustomTabs
public Activity ParentActivity { get; private set; }
public CustomTabsClient Client { get; private set; }
CustomTabsSession session = null;
public CustomTabsSession Session {
CustomTabsSession? session = null;
public CustomTabsSession? Session {
get {
if (Client == null) {
return null;