Skip to content

Commit 40a4591

Browse files
fix(android): move manifest <application> attrs onto [Application] to resolve XAGMM7009
Agent-Logs-Url: https://github.com/winnerspiros/osu/sessions/ff16d2eb-7524-4455-89be-6d69a036db18 Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
1 parent 85b2ba5 commit 40a4591

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

osu.Android/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0' encoding='utf-8'?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="sh.ppy.osulazer" android:installLocation="auto">
33
<uses-sdk android:minSdkVersion="33" android:targetSdkVersion="36" />
4-
<application android:allowBackup="true" android:supportsRtl="true" android:label="osu!" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher" android:largeHeap="true" android:hardwareAccelerated="true" android:extractNativeLibs="false">
4+
<application>
55
<provider android:name="androidx.core.content.FileProvider" android:authorities="sh.ppy.osulazer.fileprovider" android:grantUriPermissions="true" android:exported="false">
66
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/filepaths" />
77
</provider>

osu.Android/OsuApplication.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ namespace osu.Android
1313
/// JNI_OnLoad, or static .NET assembly load are captured to <c>native_crash.log</c>
1414
/// instead of leaving only a 2-frame Android tombstone.
1515
/// </summary>
16-
[Application]
16+
[Application(
17+
AllowBackup = true,
18+
SupportsRtl = true,
19+
Label = "osu!",
20+
Icon = "@mipmap/ic_launcher",
21+
RoundIcon = "@mipmap/ic_launcher",
22+
LargeHeap = true,
23+
HardwareAccelerated = true,
24+
ExtractNativeLibs = false)]
1725
public class OsuApplication : Application
1826
{
1927
public OsuApplication(System.IntPtr handle, JniHandleOwnership transfer)

0 commit comments

Comments
 (0)