This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Add API 37 (CinnamonBun) to KnownVersions - #357

Merged
jonathanpeppers merged 1 commit into
mainfrom
jonathanpeppers/add-api-37-known-version
May 6, 2026
Merged

Add API 37 (CinnamonBun) to KnownVersions#357
jonathanpeppers merged 1 commit into
mainfrom
jonathanpeppers/add-api-37-known-version

Conversation

@jonathanpeppers

Copy link
Copy Markdown
Member

Add AndroidVersion entry for API level 37.0 (framework v17.0, codename CinnamonBun) to the KnownVersions table.

This is needed for dotnet/android PR dotnet/android#11254 which makes net11.0-android37 the default target framework. Without this entry, GetIdFromApiLevel(37), GetFrameworkVersionFromApiLevel(37), etc. don't resolve correctly when AndroidApiInfo.xml is not loaded.

Add AndroidVersion entry for API level 37.0 (framework v17.0,
codename CinnamonBun) so that GetIdFromApiLevel(37),
GetFrameworkVersionFromApiLevel(37), etc. resolve correctly
as a fallback when AndroidApiInfo.xml is not loaded.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
CopilotAI review requested due to automatic review settings May 5, 2026 20:50

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a KnownVersions fallback entry for Android API level 37 so AndroidVersions can resolve API/TFM mappings even when AndroidApiInfo.xml isn’t available (as needed for the net11.0-android37 defaulting work in dotnet/android).

Changes:

  • Add a KnownVersions entry for API 37 / OS version 17.0.
  • Add alternate IDs for the API 37 entry (CinnamonBun, Cinnamon Bun) to improve ID-based lookup.

Comment threadsrc/Xamarin.Android.Tools.AndroidSdk/AndroidVersions.cs
new AndroidVersion (new Version ("36.1"), "16.0") {
AlternateIds = new[]{ "Canary" },
},
new AndroidVersion (new Version ("37.0"), "17.0") {

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is actually 37.0 on purpose. Google even made it platforms/37.0/android.jar.

@jonathanpeppersjonathanpeppers added the ready-to-review This PR is ready to review/merge. label May 5, 2026
@jonathanpeppers
jonathanpeppers merged commit 310b3e9 into mainMay 6, 2026
6 checks passed
@jonathanpeppers
jonathanpeppers deleted the jonathanpeppers/add-api-37-known-version branch May 6, 2026 15:24
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ready-to-reviewThis PR is ready to review/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jonathanpeppers@simonrozsival
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Add API 37 (CinnamonBun) to KnownVersions - #357

Merged
jonathanpeppers merged 1 commit into
mainfrom
jonathanpeppers/add-api-37-known-version
May 6, 2026
Merged

Add API 37 (CinnamonBun) to KnownVersions#357
jonathanpeppers merged 1 commit into
mainfrom
jonathanpeppers/add-api-37-known-version

Conversation

@jonathanpeppers

Copy link
Copy Markdown
Member

Add AndroidVersion entry for API level 37.0 (framework v17.0, codename CinnamonBun) to the KnownVersions table.

This is needed for dotnet/android PR dotnet/android#11254 which makes net11.0-android37 the default target framework. Without this entry, GetIdFromApiLevel(37), GetFrameworkVersionFromApiLevel(37), etc. don't resolve correctly when AndroidApiInfo.xml is not loaded.

Add AndroidVersion entry for API level 37.0 (framework v17.0,
codename CinnamonBun) so that GetIdFromApiLevel(37),
GetFrameworkVersionFromApiLevel(37), etc. resolve correctly
as a fallback when AndroidApiInfo.xml is not loaded.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
CopilotAI review requested due to automatic review settings May 5, 2026 20:50

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a KnownVersions fallback entry for Android API level 37 so AndroidVersions can resolve API/TFM mappings even when AndroidApiInfo.xml isn’t available (as needed for the net11.0-android37 defaulting work in dotnet/android).

Changes:

  • Add a KnownVersions entry for API 37 / OS version 17.0.
  • Add alternate IDs for the API 37 entry (CinnamonBun, Cinnamon Bun) to improve ID-based lookup.

Comment threadsrc/Xamarin.Android.Tools.AndroidSdk/AndroidVersions.cs
new AndroidVersion (new Version ("36.1"), "16.0") {
AlternateIds = new[]{ "Canary" },
},
new AndroidVersion (new Version ("37.0"), "17.0") {

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is actually 37.0 on purpose. Google even made it platforms/37.0/android.jar.

@jonathanpeppersjonathanpeppers added the ready-to-review This PR is ready to review/merge. label May 5, 2026
@jonathanpeppers
jonathanpeppers merged commit 310b3e9 into mainMay 6, 2026
6 checks passed
@jonathanpeppers
jonathanpeppers deleted the jonathanpeppers/add-api-37-known-version branch May 6, 2026 15:24
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ready-to-reviewThis PR is ready to review/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jonathanpeppers@simonrozsival
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Add API 37 (CinnamonBun) to KnownVersions - #357

Merged
jonathanpeppers merged 1 commit into
mainfrom
jonathanpeppers/add-api-37-known-version
May 6, 2026
Merged

Add API 37 (CinnamonBun) to KnownVersions#357
jonathanpeppers merged 1 commit into
mainfrom
jonathanpeppers/add-api-37-known-version

Conversation

@jonathanpeppers

Copy link
Copy Markdown
Member

Add AndroidVersion entry for API level 37.0 (framework v17.0, codename CinnamonBun) to the KnownVersions table.

This is needed for dotnet/android PR dotnet/android#11254 which makes net11.0-android37 the default target framework. Without this entry, GetIdFromApiLevel(37), GetFrameworkVersionFromApiLevel(37), etc. don't resolve correctly when AndroidApiInfo.xml is not loaded.

Add AndroidVersion entry for API level 37.0 (framework v17.0,
codename CinnamonBun) so that GetIdFromApiLevel(37),
GetFrameworkVersionFromApiLevel(37), etc. resolve correctly
as a fallback when AndroidApiInfo.xml is not loaded.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
CopilotAI review requested due to automatic review settings May 5, 2026 20:50

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a KnownVersions fallback entry for Android API level 37 so AndroidVersions can resolve API/TFM mappings even when AndroidApiInfo.xml isn’t available (as needed for the net11.0-android37 defaulting work in dotnet/android).

Changes:

  • Add a KnownVersions entry for API 37 / OS version 17.0.
  • Add alternate IDs for the API 37 entry (CinnamonBun, Cinnamon Bun) to improve ID-based lookup.

Comment threadsrc/Xamarin.Android.Tools.AndroidSdk/AndroidVersions.cs
new AndroidVersion (new Version ("36.1"), "16.0") {
AlternateIds = new[]{ "Canary" },
},
new AndroidVersion (new Version ("37.0"), "17.0") {

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is actually 37.0 on purpose. Google even made it platforms/37.0/android.jar.

@jonathanpeppersjonathanpeppers added the ready-to-review This PR is ready to review/merge. label May 5, 2026
@jonathanpeppers
jonathanpeppers merged commit 310b3e9 into mainMay 6, 2026
6 checks passed
@jonathanpeppers
jonathanpeppers deleted the jonathanpeppers/add-api-37-known-version branch May 6, 2026 15:24
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ready-to-reviewThis PR is ready to review/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jonathanpeppers@simonrozsival