Skip to content

Commit

Permalink
Update license header
Browse files Browse the repository at this point in the history
  • Loading branch information
tangalbert919 committed Jan 31, 2019
1 parent 84affa7 commit c62848d
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 14 deletions.
16 changes: 13 additions & 3 deletions osu.Android/OsuGameActivity.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <[email protected]>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
using osu.Game;

namespace osu.Android
{
[Activity(Theme = "@android:style/Theme.NoTitleBar", MainLauncher = true, ScreenOrientation = ScreenOrientation.SensorLandscape, SupportsPictureInPicture = false, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize)]
[Activity(Theme = "@android:style/Theme.NoTitleBar", MainLauncher = true, ScreenOrientation = ScreenOrientation.SensorLandscape, SupportsPictureInPicture = false, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize, HardwareAccelerated = true)]
public class OsuGameActivity : AndroidGameActivity
{
protected override Framework.Game CreateGame()
=> new OsuGame();

protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstanceState);

Window.AddFlags(WindowManagerFlags.Fullscreen);
Window.AddFlags(WindowManagerFlags.KeepScreenOn);
}
}
}
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Catch.Tests.Android/MainActivity.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <[email protected]>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using Android.App;
using Android.Content.PM;
Expand Down
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Mania.Tests.Android/MainActivity.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <[email protected]>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using Android.App;
using Android.Content.PM;
Expand Down
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Osu.Tests.Android/MainActivity.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <[email protected]>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using Android.App;
using Android.Content.PM;
Expand Down
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Taiko.Tests.Android/MainActivity.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <[email protected]>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using Android.App;
using Android.Content.PM;
Expand Down
6 changes: 3 additions & 3 deletions osu.Game.Tests.Android/MainActivity.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <[email protected]>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using Android.App;
using Android.Content.PM;
using osu.Framework.Android;

namespace osu.Game.Tests.Android
{
[Activity(Theme = "@android:style/Theme.NoTitleBar", MainLauncher = true, ScreenOrientation = ScreenOrientation.SensorLandscape, SupportsPictureInPicture = false, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize)]
[Activity(Theme = "@android:style/Theme.NoTitleBar", MainLauncher = true, ScreenOrientation = ScreenOrientation.SensorLandscape, SupportsPictureInPicture = false, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize, HardwareAccelerated = true)]
public class MainActivity : AndroidGameActivity
{
protected override Framework.Game CreateGame()
Expand Down

0 comments on commit c62848d

Please sign in to comment.