Skip to content

Add semantic coloring example from Android 17#410

Merged
alabiaga merged 3 commits intoandroid:mainfrom
alabiaga:main
May 4, 2026
Merged

Add semantic coloring example from Android 17#410
alabiaga merged 3 commits intoandroid:mainfrom
alabiaga:main

Conversation

@alabiaga
Copy link
Copy Markdown
Member

@alabiaga alabiaga commented May 4, 2026

  • Add semantic coloring API sample in Live Update sample
  • update Live Updates and app sample SDK level to 37 to make use of Semantic Coloring APIs
  • modify agp as it's needed to support SDK level 37
  • update build.gradle.kt files to support new agp 9.0+ changes

I'll follow up with another refactoring of the build gradle files as there are changes in agp 9.0 dsl that deprecates things and needs migration.

See:
https://developer.android.com/build/migrate-to-built-in-kotlin#kts

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the project to Android SDK 37, AGP 9.1.1, Kotlin 2.2.10, and Gradle 9.3.1. It migrates numerous sample modules to Java 11, refactors their build scripts to use a newer DSL structure by moving targetSdk to lint and testOptions blocks, and implements semantic style annotations for notifications. Feedback suggests removing the obsolete android.uniquePackageNames flag and correcting the android.newDsl setting, as it currently contradicts the DSL modernization efforts in the build files.

Comment thread gradle.properties
Comment thread gradle.properties
@alabiaga alabiaga requested a review from ashnohe May 4, 2026 20:41
@alabiaga alabiaga merged commit f148dee into android:main May 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants