mirror of
https://github.com/ppy/osu
synced 2025-01-24 23:03:14 +00: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> |
||
---|---|---|
.. | ||
Break | ||
HUD | ||
PlayerSettings | ||
BeatmapMetadataDisplay.cs | ||
BreakOverlay.cs | ||
BreakTracker.cs | ||
ComboEffects.cs | ||
DimmableStoryboard.cs | ||
EpilepsyWarning.cs | ||
FailAnimation.cs | ||
FailOverlay.cs | ||
GameplayBeatmap.cs | ||
GameplayClock.cs | ||
GameplayClockContainer.cs | ||
GameplayMenuOverlay.cs | ||
HotkeyExitOverlay.cs | ||
HotkeyRetryOverlay.cs | ||
HUDOverlay.cs | ||
ISamplePlaybackDisabler.cs | ||
KeyCounter.cs | ||
KeyCounterAction.cs | ||
KeyCounterDisplay.cs | ||
KeyCounterKeyboard.cs | ||
KeyCounterMouse.cs | ||
KeyCounterState.cs | ||
PauseOverlay.cs | ||
Player.cs | ||
PlayerConfiguration.cs | ||
PlayerLoader.cs | ||
ReplayPlayer.cs | ||
ReplayPlayerLoader.cs | ||
ResumeOverlay.cs | ||
RoomSubmittingPlayer.cs | ||
ScreenSuspensionHandler.cs | ||
ScreenWithBeatmapBackground.cs | ||
SkipOverlay.cs | ||
SoloPlayer.cs | ||
SoloSpectator.cs | ||
SongProgress.cs | ||
SongProgressBar.cs | ||
SongProgressGraph.cs | ||
SongProgressInfo.cs | ||
SpectatorPlayer.cs | ||
SpectatorPlayerLoader.cs | ||
SpectatorResultsScreen.cs | ||
SquareGraph.cs | ||
SubmittingPlayer.cs |