1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 16:07:24 +08:00

Add @miterosan's suggestions

This commit is contained in:
Albert Tang 2019-06-09 21:15:05 -05:00
parent 62639d347f
commit 0ebd29c851
6 changed files with 12 additions and 17 deletions

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" package="ppy.osu.lazer" android:installLocation="auto" android:versionName="0.1.0">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="27" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:allowBackup="true" android:supportsRtl="true" android:label="osu!lazer" android:icon="@drawable/lazer" />
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="27" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:allowBackup="true" android:supportsRtl="true" android:label="osu!lazer" android:icon="@drawable/lazer" />
</manifest>

View File

@ -11,7 +11,6 @@ namespace osu.Game.Rulesets.Catch.Tests.Android
[Activity(Theme = "@android:style/Theme.NoTitleBar", MainLauncher = true, ScreenOrientation = ScreenOrientation.SensorLandscape, SupportsPictureInPicture = false, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize)]
public class MainActivity : AndroidGameActivity
{
protected override Framework.Game CreateGame()
=> new OsuTestBrowser();
protected override Framework.Game CreateGame() => new OsuTestBrowser();
}
}

View File

@ -11,7 +11,6 @@ namespace osu.Game.Rulesets.Mania.Tests.Android
[Activity(Theme = "@android:style/Theme.NoTitleBar", MainLauncher = true, ScreenOrientation = ScreenOrientation.SensorLandscape, SupportsPictureInPicture = false, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize)]
public class MainActivity : AndroidGameActivity
{
protected override Framework.Game CreateGame()
=> new OsuTestBrowser();
protected override Framework.Game CreateGame() => new OsuTestBrowser();
}
}

View File

@ -11,7 +11,6 @@ namespace osu.Game.Rulesets.Osu.Tests.Android
[Activity(Theme = "@android:style/Theme.NoTitleBar", MainLauncher = true, ScreenOrientation = ScreenOrientation.SensorLandscape, SupportsPictureInPicture = false, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize)]
public class MainActivity : AndroidGameActivity
{
protected override Framework.Game CreateGame()
=> new OsuTestBrowser();
protected override Framework.Game CreateGame() => new OsuTestBrowser();
}
}

View File

@ -11,7 +11,6 @@ namespace osu.Game.Rulesets.Taiko.Tests.Android
[Activity(Theme = "@android:style/Theme.NoTitleBar", MainLauncher = true, ScreenOrientation = ScreenOrientation.SensorLandscape, SupportsPictureInPicture = false, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize)]
public class MainActivity : AndroidGameActivity
{
protected override Framework.Game CreateGame()
=> new OsuTestBrowser();
protected override Framework.Game CreateGame() => new OsuTestBrowser();
}
}

View File

@ -10,7 +10,6 @@ namespace osu.Game.Tests.Android
[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()
=> new OsuTestBrowser();
protected override Framework.Game CreateGame() => new OsuTestBrowser();
}
}