Commit 161ebb7
committed
Resolve Android build warnings, CI regressions, and simplify code style
- Resolve .NET 10 trimming warnings in osu.Android:
* Linker.xml: Remove missing 'ActiveMixers' field entry for 'AudioManager'.
* OboeAudioRedirector.cs: Update 'getActiveMixers()' for field/property compatibility and add 'IL2080' suppression.
* OsuGameAndroid.cs: Broaden suppression IL codes (added IL2080) and add documentation.
- Fix CI regressions:
* HitErrorMeter: Make ScoreProcessor an optional dependency and use null-conditional operators for event handling to resolve 'DependencyNotRegisteredException'.
* SpectatorClient: Handle redundant 'BeginPlaying' calls gracefully to resolve 'InvalidOperationException'.
- Cleanup: Fix corrupted method body in OboeAudioRedirector.cs.1 parent aef109c commit 161ebb7
2 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
76 | | - | |
| 74 | + | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
| |||
0 commit comments