Skip to content

Commit 3f2e55d

Browse files
authored
[Mono.Android] Bind API-Tiramisu Developer Preview 2 (#6868)
Context: https://developer.android.com/about/versions/13 Context: https://android-developers.googleblog.com/2022/03/second-preview-android-13.html Context: #6775 Android 13 Developer Preview 2 has been released. The Android 13 Developer Preview Program Overview [Timeline and updates][0] section suggests the following timeline: * March: Developer Preview 2 * April: Beta 1 * May: Beta 2 * June: Beta 3 with Final APIs and behaviors. * July: Beta 4 * ???: Final ~~ Acceptable Breakages ~~ * `Android.Runtime.StringDefAttribute` and `Android.Runtime.IntDefAttribute` continue to churn as expected. * Some members are no longer marked as `[Obsolete]`. * The way Google specifies some `[RequiresPermission]` annotations changed, and we will need to figure out how we want to support them. (#6775) This shouldn't be required for early previews. * `Android.Net.IpSecManager` was un-`sealed`, making its members `virtual`, adding connectors to `[Register]`. [0]: https://web.archive.org/web/20220330024644/https://developer.android.com/about/versions/13/overview
1 parent 1668070 commit 3f2e55d

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

build-tools/xaprepare/xaprepare/ConfigAndData/Dependencies/AndroidToolchain.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public AndroidToolchain ()
6767
new AndroidPlatformComponent ("platform-30_r01", apiLevel: "30", pkgRevision: "1"),
6868
new AndroidPlatformComponent ("platform-31_r01", apiLevel: "31", pkgRevision: "1"),
6969
new AndroidPlatformComponent ("platform-32_r01", apiLevel: "32", pkgRevision: "1"),
70-
new AndroidPlatformComponent ("platform-Tiramisu_r01", apiLevel: "Tiramisu", pkgRevision: "1"),
70+
new AndroidPlatformComponent ("platform-Tiramisu_r02", apiLevel: "Tiramisu", pkgRevision: "2"),
7171

7272
new AndroidToolchainComponent ("sources-31_r01",
7373
destDir: Path.Combine ("platforms", $"android-31", "src"),

src/Mono.Android/metadata

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,15 @@
16991699
<!-- This method was already specified on a base interface, ignore to avoid "breakage" report. -->
17001700
<remove-node api-since="33" path="/api/package[@name='java.util']/interface[@name='Deque']/method[@name='addAll' and count(parameter)=1 and parameter[1][@type='java.util.Collection&lt;? extends E&gt;']]" />
17011701

1702-
<!--
1702+
<!-- Rename Namespaces -->
1703+
<attr api-since="33" path="/api/package[@name='android.os.vibrator']" name="managedName">Android.OS.Vibrators</attr>
1704+
<attr api-since="33" path="/api/package[@name='android.app.appsearch.observer']" name="managedName">Android.App.AppSearch.Observers</attr>
1705+
<attr api-since="33" path="/api/package[@name='android.supplementalapi']" name="managedName">Android.SupplementalApi</attr>
1706+
1707+
<!-- Base method is 'protected', overriding method cannot change it to 'public' -->
1708+
<attr api-since ="33" path="/api/package[@name='android.media.tv.interactive']/class[@name='TvInteractiveAppView']/method[@name='onLayout' and count(parameter)=5 and parameter[1][@type='boolean'] and parameter[2][@type='int'] and parameter[3][@type='int'] and parameter[4][@type='int'] and parameter[5][@type='int']]" name="visibility">protected</attr>
1709+
1710+
<!--
17031711
***********************************************************************
17041712
THE FOLLOWING LINES MUST BE CREATED FOR ANY NEW PLATFORM THAT IS ADDED.
17051713

0 commit comments

Comments
 (0)