mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:28:00 +08:00
0a6baf670e
- Uses Xamarin.Essentials in osu.Game.PlayerLoader to check battery level - Encapsulated battery checking in the public BatteryManager class so battery level and plugged in status can be accessed and edited in TestPlayerLoader - When checking battery level, catch NotImplementedException thrown by Xamarin.Essentials.Battery on non-mobile platforms - Added visual unit tests for battery notification To mock battery status and level, we had to define a batteryManager object in TestPlayerLoader and add a new function ResetPlayerWithBattery() Co-Authored-By: Marlina José <marlina@umich.edu> |
||
---|---|---|
.. | ||
BackgroundSource.cs | ||
DatabasedConfigManager.cs | ||
DatabasedSetting.cs | ||
DevelopmentOsuConfigManager.cs | ||
DiscordRichPresenceMode.cs | ||
HUDVisibilityMode.cs | ||
InMemoryConfigManager.cs | ||
IntroSequence.cs | ||
ModSettingChangeTracker.cs | ||
OsuConfigManager.cs | ||
RandomSelectAlgorithm.cs | ||
RankingType.cs | ||
ReleaseStream.cs | ||
ScalingMode.cs | ||
ScoreMeterType.cs | ||
ScreenshotFormat.cs | ||
ScrollVisualisationMethod.cs | ||
SeasonalBackgroundMode.cs | ||
SessionStatics.cs | ||
SettingSourceAttribute.cs | ||
SettingsStore.cs | ||
StorageConfigManager.cs |