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
|
|
|
|
|
2022-06-17 16:37:17 +09:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2022-12-19 15:43:12 +09:00
|
|
|
|
using System.Reflection;
|
2019-01-05 23:18:12 -06:00
|
|
|
|
using Android.App;
|
2022-12-19 15:43:12 +09:00
|
|
|
|
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();
|
2022-12-19 15:43:12 +09: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-05 23:18:12 -06:00
|
|
|
|
}
|
|
|
|
|
}
|