1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-07 04:17:18 +08:00

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
962 B
C#
Raw Permalink Normal View History

2019-01-30 18:07:32 -06:00
// 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.
2019-01-05 23:18:12 -06:00
using System.Reflection;
2019-01-05 23:18:12 -06:00
using Android.App;
using Android.OS;
2019-01-05 23:18:12 -06:00
using osu.Framework.Android;
namespace osu.Game.Tests.Android
{
2021-12-24 18:57:08 +01:00
[Activity(ConfigurationChanges = DEFAULT_CONFIG_CHANGES, Exported = true, LaunchMode = DEFAULT_LAUNCH_MODE, MainLauncher = true)]
2019-01-05 23:18:12 -06:00
public class MainActivity : AndroidGameActivity
{
2019-06-09 21:15:05 -05:00
protected override Framework.Game CreateGame() => new OsuTestBrowser();
protected override void OnCreate(Bundle? savedInstanceState)
{
base.OnCreate(savedInstanceState);
// See the comment in OsuGameActivity
Assembly.Load("osu.Game.Rulesets.Osu");
Assembly.Load("osu.Game.Rulesets.Taiko");
Assembly.Load("osu.Game.Rulesets.Catch");
Assembly.Load("osu.Game.Rulesets.Mania");
}
2019-01-05 23:18:12 -06:00
}
}