2019-01-31 00:07:32 +00: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-06 05:18:12 +00:00
|
|
|
|
|
2022-06-17 07:37:17 +00:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2022-12-19 06:43:12 +00:00
|
|
|
|
using System.Reflection;
|
2019-01-06 05:18:12 +00:00
|
|
|
|
using Android.App;
|
2022-12-19 06:43:12 +00:00
|
|
|
|
using Android.OS;
|
2019-01-06 05:18:12 +00:00
|
|
|
|
using osu.Framework.Android;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Tests.Android
|
|
|
|
|
{
|
2021-12-24 17:57:08 +00:00
|
|
|
|
[Activity(ConfigurationChanges = DEFAULT_CONFIG_CHANGES, Exported = true, LaunchMode = DEFAULT_LAUNCH_MODE, MainLauncher = true)]
|
2019-01-06 05:18:12 +00:00
|
|
|
|
public class MainActivity : AndroidGameActivity
|
|
|
|
|
{
|
2019-06-10 02:15:05 +00:00
|
|
|
|
protected override Framework.Game CreateGame() => new OsuTestBrowser();
|
2022-12-19 06:43:12 +00:00
|
|
|
|
|
|
|
|
|
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-06 05:18:12 +00:00
|
|
|
|
}
|
|
|
|
|
}
|