Commit 99a133d
Fix lint errors surfaced by the new nightly lint job (#1937)
The lint job added in #1914 is the first run of lintObaGoogleDebug since
lint was pulled off PR/push CI in #1843, so two unrelated regressions from
that gap surfaced together:
- AdjacencyRouteColors.kt's @SuppressLint("RestrictedApi") covers
adjacencyRouteColors() but not the private routeColor() it calls, where
the actual restricted Hct.from(...).toInt() calls live.
- #1865 added new optional parameters ahead of the existing `modifier`
parameter in RouteArrivalRow and ArrivalsList, breaking the Compose
convention that modifier be the first optional parameter.
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 7fa89d8 commit 99a133d
3 files changed
Lines changed: 5 additions & 2 deletions
File tree
- onebusaway-android/src/main/java/org/onebusaway/android
- map
- ui/arrivals
- components
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
| |||
348 | 349 | | |
349 | 350 | | |
350 | 351 | | |
351 | | - | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
263 | 264 | | |
264 | 265 | | |
265 | 266 | | |
266 | | - | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
0 commit comments