mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
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.
16 lines
513 B
C#
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();
|
|
}
|
|
}
|