Files
osu-framework/SampleGame.Android/SampleGameActivity.cs
Susko3 cadae0b8f9 Standardize Android activity and permissions
Relevant osu!-side permissions have been moved over.
Theme is changed to a pure black one, so we don't get the ugly gradient at startup.
Added some relevant config changes, so the activity doesn't unwantedly get restarted.
2021-12-24 02:25:36 +01:00

16 lines
513 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Android.App;
using osu.Framework;
using osu.Framework.Android;
namespace SampleGame.Android
{
[Activity(ConfigurationChanges = DEFAULT_CONFIG_CHANGES, LaunchMode = DEFAULT_LAUNCH_MODE, MainLauncher = true)]
public class SampleGameActivity : AndroidGameActivity
{
protected override Game CreateGame() => new SampleGameGame();
}
}