Use the Android template's Material 3 defaults, and document day/night colors #3168
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.40) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 278 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.337
Real PR Conversation Timeline
1 comments
"Review active on #3168"
general
weight: 0.35
kattni
This PR depends on beeware/briefcase-android-gradle-template#137, and should be merged with or after it.
Toga's Android backend is moving to Material 3, with buttons filled with
colorPrimaryand labelled incolorOnPrimary. beeware/briefcase-android-gradle-template#137 updates the Android template for that:the default
base_themeis nowTheme.Material3.DayNight;the Material Components library (
com.google.android.material:material:1.13.0) is always linked;primary_color,primary_color_darkandaccent_colorcan each be a single color, or a{day = "...", night = "..."}table;a new
primary_text_colorsetting (colorOnPrimary), defaulting to#FFFFFF, keeps button text readable in dark mode.This PR updates Briefcase to match:
Toga bootstrap: no longer sets
base_themeor adds the Material library, as the template now provides both.build_gradle_dependenciesis kept, empty apart from the commented hints, so Briefcase doesn't fall back to its legacy default dependency list. Merged before the template PR, this would give new Toga apps an AppCompat theme without the Material library.Android Gradle reference: documents the day/night tables,
primary_text_color, the newbase_themedefault, and the always-linked libraries. Also correctsprimary_color's description: Material 3 themes color the app bar with the theme's surface color, not the primary color.base_themewill look different after their nextbriefcase create.The color tables need no Briefcase code: app settings reach the template context unchanged. The template PR has the emulator verification. Generating the Material 3 color scheme from a seed color is tracked separately in #3167.
PR Checklist:
<!--- Go over all the following points, and put an
xin all the boxes that apply. --><!-- update or delete the next line to reflect your usage -->
Assisted-by: Claude Code (Claude Opus 5.5)